Согласитесь с Jason на этом. Первой вещью проверить является Объем DHCP, и удостоверьтесь, что у Вас есть достаточный диапазон IP-адреса для обслуживания всех клиентов.
Ваша проблема не в задержке - это просто медленный сайт. Задержку можно быстро измерить с помощью быстрого пинга:
ping www.myslowsite.com
Ваша проблема - время до первого байта (TTFB), из-за чего ваш сервер не очень быстро генерирует ответ, и в результате ваш браузер ждет, пока он не появится.
Т.е. Если вы создали сценарий PHP со следующим:
<?php
sleep(10);
echo "Hello World!";
Тогда ваш TTFB будет 10 секунд.
Таким образом, ваша проблема будет двукратной.
Решение?
Напишите более эффективный шаблон, удалите медленные / громоздкие, плохо написанные расширения и смените хост.
Make sure all your caching is turned on in magento. That way the first load will be slow but since all the xml/configs are cached it will be quicker.
The first load is just after a cache clear. Magento will run pretty slow anyway on shared hosting. It needs pretty big hardware to run quick.
The only definitive way to confirm whether you're experiencing latency issues, and I assume you're talking network latency, is to perform a trace with something like wireshark. You can use tools like SysInternals' ProcessMonitor on the client to see what's going on at a higher level, but a good old Wireshark .CAP file can't be beaten.
As for server performance, you need some metrics. All too often we hear that an application needs a hex-core Xeon, with 32GB RAM and lots of 15K spindles. Then you actually run the beast to find that it's only the RAM that was required, and you're left with six cores ticking over at 8% utilisation, and very little intensive disk I/O. Just me having another soap box moment, sorry!
So, on your server, see if:
o The disks are having to queue requests o ЦП перегружены o Использование памяти в порядке, и эта подкачка не выполняется
Я не эксперт по MySQL (на самом деле я новичок в MySQL), но я не знаю, есть ли у него много параметров конфигурации, a'la Oracle. Стоит взглянуть. Я думаю о закреплении страниц базы данных в памяти для повышения производительности. Это сработает, только если у вас изначально есть свободная оперативная память.