spuhg Posted January 19, 2013 Share Posted January 19, 2013 Hi, I would like to load balance prestashop across a few servers, how can this be acheived? Any answers would be greatly appreciated. Thanks Link to comment Share on other sites More sharing options...
Trip Posted January 20, 2013 Share Posted January 20, 2013 Hi there, I don't know where the exact bottle neck is in your system and how many users you are expecting. First I would reduce requests for static files by using a cdn, optimize mysql server maybe with scripts like mysqltuner. Enable _PS_DEBUG_PROFILING_ in config/defines.inc.php to see what hooks are slow or locate other bottle necks. Maybe enable _PS_MODE_DEV_ too and see if there are mysql errors or other blockers in the configuration. Optimize Apache or try Lighttpd or other websevers at least for serving of static files. If this is not enough use a dedicated mysql server. Btw. Memcached does not work at the moment at least on newer versions. Next step would be a mysql cluster but I really doubt you need that. First of all you should try to get the most from your server tuning and believe me. There is lot you can do. Best regards, trip Link to comment Share on other sites More sharing options...
Dh42 Posted January 20, 2013 Share Posted January 20, 2013 What kind of traffic are you expecting? A dedicated machine should be able to handle 1000 concurrent users at least. Link to comment Share on other sites More sharing options...
monstercreativestudio Posted January 20, 2013 Share Posted January 20, 2013 i think what your looking for is what DH42 mentioned or some sort of cloud server. load balancing is handle on the hosting end not prestashop. but im sure there things you can do in prestashop to optimize for a load balanced server. Link to comment Share on other sites More sharing options...
ravensbur Posted April 22, 2013 Share Posted April 22, 2013 (edited) Clustering and network load balancing Working Versions of Prestashop tested on windows 2008 server Bandwidth home broadband connection upload speed 10mbps windows server 2008(NLB installed), web server1 dell sc440 q6600 4GB RAM load55% //cluster mode, unicast, multi, affinity none, windows server 2008(NLB installed), web server2 dell sc430 p4 2.8 dual core 2GB RAM load45% //cluster mode, unicast, multi, affinity none, database server, acer laptop pentium Dual core T4400 @2.2GHZ 3GB RAM Max CPU load 40% SSD one Nic card on each server home broadband Router provided by ISP(basic one) , Netgear 5port Giga Switch etc. 1.5.4,o NLB not working 1.5.3.1 NLB not working, error after few clicks. 1.5.3.0 NLB not working, error after few clicks. 1.5.0.1 NLB working, URL here http://88.hopto.me 1.4.0.1 NLB working, URL here http://668.ddns.net testing Sites will be removed after 30days. Edited April 22, 2013 by ravensbur (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts