Post by davidbfranks » Mon Feb 22, 2016 6:18 pm

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

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by IP_CAM » Tue Feb 23, 2016 10:18 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by davidbfranks » Tue Feb 23, 2016 3:11 pm

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!

Active Member

Posts

Joined
Mon Mar 04, 2013 10:31 pm
Location - London

Post by Dhaupin » Fri Mar 04, 2016 3:55 am

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!
Last edited by Dhaupin on Fri Mar 04, 2016 5:53 am, edited 1 time in total.

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by artcore » Fri Mar 04, 2016 5:38 am

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!

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 165 guests