Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Speeding Up Cs-Cart (Attempts) Rate Topic   * * * * * 2 votes

 
  • mayanetwork
  • Senior Member
  • Members
  • Join Date: 18-Oct 06
  • 249 posts

Posted 12 November 2014 - 12:47 AM #41

For those who would like to bring this up to CS-Cart's attention, you can see the topics in uservoice that relates to this:

http://cscart.uservo...peed-of-cs-cart 33 votes (2nd page)
http://cscart.uservo...g-use-memcached 22 votes (3rd page)
http://cscart.uservo...rt-with-litespe 17 votes (5th page)

If you are interested in improving CSCart's page speed, you should go ahead and vote for these in order for CS-Cart to take action on these issues.

Voted on all 3 speed issues.

Retail Site v. 4.3.3


 

Posted 12 November 2014 - 03:44 PM #42

WEBO was working perfect for us too until version 4. I asked them for the upgrade and they wanted $999 usd.
Cscart should have those configurations webo offered for free. Its like buying a car without an engine. Or a Ferrari but with a motor of a civic. Just open the source code of any page. You will see tens of white spaces, should they be there? Why there is still statistics script?
  • http://www.site.com/var/cache/misc/statics/js/tygh/scripts-6b780127935de364fbec24997059a6031415739160.js?ver=4.2.2
Yes there is tons of updates every year but we dont want more nice template updates. Site function, Speed should be your first priority. Let people pay for the templates, addons, but the basic functions should be there.
CS 4.3.9

 
  • Rafass
  • Senior Member
  • Members
  • Join Date: 16-Jan 14
  • 304 posts

Posted 29 November 2014 - 03:49 PM #43

WEBO was working perfect for us too until version 4. I asked them for the upgrade and they wanted $999 usd.
Cscart should have those configurations webo offered for free. Its like buying a car without an engine. Or a Ferrari but with a motor of a civic. Just open the source code of any page. You will see tens of white spaces, should they be there? Why there is still statistics script?

Yes there is tons of updates every year but we dont want more nice template updates. Site function, Speed should be your first priority. Let people pay for the templates, addons, but the basic functions should be there.


totally agree +10000000000

 
  • Rafass
  • Senior Member
  • Members
  • Join Date: 16-Jan 14
  • 304 posts

Posted 29 November 2014 - 04:09 PM #44

Even using the best VPS, SSD, Good RAM, CDN, few addons, and trying to make it fast and clean , I'm not 100% convinced yet with the performance of cscart.
I'm seriously thinking about take a look to another option.
The Cscart Team should concentrate all efforts on improving the speed and performance.

 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2046 posts

Posted 02 December 2014 - 11:54 AM #45

We have three direction of performance optimization we are working at the moment:
- SQL queries, at the moment we achieved ~70% decreasing of heavy queries execution (get products on the category view). Also we are optimizing SQL queries we will decrease the number of queries as much as we can
- Cache improvements- we are going to cache everything that only possible. Main content, product blocks etc. This has decreased the CPU load for ~30% on light VPS server with 5 concurrent queries.
- Client side optimization (how faster the page is loaded in the browser), improve our scores in Google page speed (minimize js, remove some fonts, etc)

The 4.3 would be really faster!
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • ghostrider
  • Junior Member
  • Members
  • Join Date: 05-Jan 11
  • 175 posts

Posted 02 December 2014 - 12:00 PM #46

imac,

That sounds amazing! Regarding cache improvements, please cache "product options" too.

What's the approximate release date of version 4.3?

 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2046 posts

Posted 02 December 2014 - 12:11 PM #47

That sounds amazing! Regarding cache improvements, please cache "product options" too.

We will cache the main-content block completely so products options will be included.

What's the approximate release date of version 4.3?

I hope we will release a public Beta in the end of January 2015. But these are just hopes at the moment.
We won't release until we are sure it is really amazing:)
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4482 posts

Posted 02 December 2014 - 03:49 PM #48

Sounds promising, keep up the good work !

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • EpicCosplay
  • Junior Member
  • Members
  • Join Date: 16-Mar 09
  • 36 posts

Posted 02 December 2014 - 06:33 PM #49

On the topic of speed, great to see Cloudfront integration but I raised a concern here that no one seems to know anything about:

http://forum.cs-cart...cdn-is-enabled/

This appears to impact the latest version of the cart and appears to be undocumented as I could not find anything on the release notes.

Adding query strings and cookies to all the CDN served content seems to have really upset the usual website benchmarking tools.

Complaint's about non parallel downloads, query strings, content served from domains with cookies, etc.

Did adding the query strings hurt real world performance? Also, were they added because of issues with resource invalidation on the Cloudfront bucket? The resources we serve are very static and the default TTL of 24 hours from Cloudfront seems fine.
If anything, options to check/uncheck the query string should be there as well as options to have the cart tell Amazon when to manually invalidate resources on the edge.

Thanks in advance for the help.

 
  • EpicCosplay
  • Junior Member
  • Members
  • Join Date: 16-Mar 09
  • 36 posts

Posted 02 December 2014 - 06:45 PM #50

Also, if you want really good speed with CDN's it would be great for you to implement domain sharding. So far, you can only attach to one Cloudfront distribution and use only one CNAME.

Being able to alternate between two distributions and use two CNAMEs would be fantastic for parallel downloads.

Thanks

 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1136 posts

Posted 02 December 2014 - 09:00 PM #51

We have three direction of performance optimization we are working at the moment:
- SQL queries, at the moment we achieved ~70% decreasing of heavy queries execution (get products on the category view). Also we are optimizing SQL queries we will decrease the number of queries as much as we can
- Cache improvements- we are going to cache everything that only possible. Main content, product blocks etc. This has decreased the CPU load for ~30% on light VPS server with 5 concurrent queries.
- Client side optimization (how faster the page is loaded in the browser), improve our scores in Google page speed (minimize js, remove some fonts, etc)

The 4.3 would be really faster!

Thats great news. Any chance of getting LiteSpeed Cache support? That would also be a massive speed up,

 
  • Rafass
  • Senior Member
  • Members
  • Join Date: 16-Jan 14
  • 304 posts

Posted 03 December 2014 - 03:00 AM #52

We have three direction of performance optimization we are working at the moment:
- SQL queries, at the moment we achieved ~70% decreasing of heavy queries execution (get products on the category view). Also we are optimizing SQL queries we will decrease the number of queries as much as we can
- Cache improvements- we are going to cache everything that only possible. Main content, product blocks etc. This has decreased the CPU load for ~30% on light VPS server with 5 concurrent queries.
- Client side optimization (how faster the page is loaded in the browser), improve our scores in Google page speed (minimize js, remove some fonts, etc)

The 4.3 would be really faster!


Sound great! CSCART improving the performance is the most important.
Thank you Imac for your keep us updated and the great job of all the team.

 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2046 posts

Posted 05 December 2014 - 02:20 PM #53

Thats great news. Any chance of getting LiteSpeed Cache support? That would also be a massive speed up,


Unfortunately not in plans.
After some tests we came to conclusion that reddis is the most efficient cache backend at the moment.
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • mokeshop
  • Senior Member
  • Members
  • Join Date: 27-Jul 12
  • 999 posts

Posted 07 December 2014 - 12:01 PM #54

Unfortunately not in plans.
After some tests we came to conclusion that reddis is the most efficient cache backend at the moment.


great ideas for improving performance... i hope the 4.3 will be available soon :)

 

Posted 10 December 2014 - 04:07 PM #55

I'm glad to answer your questions and give some tips on performance boost. The speed of the web service depends greatly on your project – there is no silver bullet. There are several common techniques to increase the performance of the CS-Cart store: use KeepAlive, split static content from the dynamic one, use gzip/deflate data compression, use expires headers, use opcode caching, store user sessions in Redis, configure MySQL correctly, etc. The results depends on correct server settings.


Hello,

Can you explain where in the config one can setup splitting static from dynamic content? Or did u mean simply from a file base perspective? Overall, I am looking to offload as much as possible from the MySQL as possible.

So:

1) Where in the config do I setup user sessions on Redis?
2) I want Redis to live as a separate stand alone server (AKA like Memcached) - so that it offloads from the servers and MySQL - will that work with cs-cart?
3) Our main bottleneck is the MYSql server, we can always scale vertically. But before I do that, my hope is to offload as much as possible from it, and serve the content from cache before hitting the DB.

There is a config setting for cache - is that user session or also file content? Thanks!

 
  • gleb.goncharov
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 04-Oct 13
  • 351 posts

Posted 15 December 2014 - 10:19 AM #56

Hello,

Can you explain where in the config one can setup splitting static from dynamic content?


If you are using Apache as a backend-server, a good way to increase CS-Cart speed is to install NginX as an accelerator and configure it to download the static content directly (such as images, scripts, style sheets, fonts, etc.). It will allow to offload the CPU on a large number of HTTP. requests it .

1) Where in the config do I setup user sessions on Redis?


If you install Redis on a dedicated server and store all CS-Cart cache and user sessions on it, the load on the CPU will decrease. You can change it to config.local.php.

// To use sqlite cache the "sqlite3" PHP module should be installed
$config['cache_backend'] = 'redis';
$config['cache_redis_server'] = 'localhost';
$config['cache_redis_global_ttl'] = 0; // set this if your cache size reaches Redis server memory size

// Storage backend for sessions. Available backends: database, redis
$config['session_backend'] = 'redis';
$config['session_redis_server'] = 'localhost';

2) I want Redis to live as a separate stand alone server (AKA like Memcached) - so that it offloads from the servers and MySQL - will that work with cs-cart?


Unfortunately, it cannot help you offload MySQL but will take a load off from I/O and CPU (%iowait). Our tests revealed that Redis is more than 30% efficient than the default file cache backend. Placing the cache in RAM may be useful if your site is degraded due to the load on the disk.

 
  • termalert
  • Senior Member
  • Members
  • Join Date: 14-Jan 09
  • 943 posts

Posted 20 December 2014 - 03:35 AM #57

If you are using Apache as a backend-server, a good way to increase CS-Cart speed is to install NginX as an accelerator and configure it to download the static content directly.
You must be talking to coders because to me it sounds like...
To perform brain surgery, simply open skull and fix problem.

 
  • mayanetwork
  • Senior Member
  • Members
  • Join Date: 18-Oct 06
  • 249 posts

Posted 07 January 2015 - 05:55 PM #58

We will cache the main-content block completely so products options will be included.


I hope we will release a public Beta in the end of January 2015. But these are just hopes at the moment.
We won't release until we are sure it is really amazing:)

Are you guys still on schedule to release a public beta of 4.3 by the end of this month? How long do you expect beta testing to take before launching a stable release?

Retail Site v. 4.3.3


 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2046 posts

Posted 08 January 2015 - 02:07 PM #59

Beta testing will take approximately 1-2 months.
Public beta is still in plan for this month or early February.
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • mokeshop
  • Senior Member
  • Members
  • Join Date: 27-Jul 12
  • 999 posts

Posted 08 January 2015 - 11:01 PM #60

Hi guys,

don't forget brand logo images to cache...serve all media files from amazon when enabled also :)

Regards
Džemal