Page 1 of 1

Memcache vs Xcache vs eAccelerator

Posted: Mon Feb 22, 2016 6:18 pm
by davidbfranks
Looking to optimize performance of my store by utilising MemCache or Xcache (maybe eAccelerator) for database caching.

Anybody have any experience with either of these in regards to performance?

Thanks

David

Re: Memcache vs Xcache vs eAccelerator

Posted: Tue Feb 23, 2016 10:18 am
by IP_CAM
what do you have and use up to now?
Possibly, you find here some not yet known Information on existing Options, to speed up OC!
http://forum.opencart.com/viewtopic.php ... 37#p592237

Good Luck ;)
Ernie
openshop.li

Re: Memcache vs Xcache vs eAccelerator

Posted: Tue Feb 23, 2016 3:11 pm
by davidbfranks
IP_CAM wrote:what do you have and use up to now?
Possibly, you find here some not yet known Information on existing Options, to speed up OC!
http://forum.opencart.com/viewtopic.php ... 37#p592237

Good Luck ;)
Ernie
openshop.li
Thanks Ernie, good advice, have already implemented most of those tips, just now looking to get my VPS up to scratch!

Have been advised Memcache is the way forward.

One tip you should add to the list is caching SEO URLs!

Re: Memcache vs Xcache vs eAccelerator

Posted: Fri Mar 04, 2016 3:55 am
by Dhaupin
Memcache has too low limits, its not really that good unless you're concerned with only tiny object stores. Redis is better at what memcache does and can go beyond into things like pagecaching from memory. Redis has better persistance-to-disk too.

Xcache works awesome as an OP code cache, i think with broader support than Zend OPcache, but php 5.5+ has its own OPcode cache built in. eAccelerator and APC are dead/depreciated. There is APCu but might as well stick to either PHP built in, Xcache, or Redis.

Beyond object store and OPcode caching, there is view/page caching. This mod works fantastic for that, its free, and not buggy: https://github.com/budgetneon/pagecache. Its fast on legacy drive, but if you have SSD it will be almost like memory caching the pages. We use it on production for months with only a handful of race conditions encountered (avg 8000 cached pages). This is similar to what varnish does, in a way. If you have varnish you might not need this mod, but if you dont, it will help your store ALOT.

Finally there is Cloudflare. They also have a cache layer, but the real speed boost comes from their HTTP2+SPDY under full SSL store (forced HTTPS everywhere). Good luck!

Re: Memcache vs Xcache vs eAccelerator

Posted: Fri Mar 04, 2016 5:38 am
by artcore
I can only add to this that I've been running xCache and FastGCI(important), Apache with MPM Worker(less memory) for years on all my servers(multiple accounts all running on OC and WP and a few Joomlas) without any issues. Just works!