We have used nginx for the last 5 years with cs cart - it seemed to out perform apache 2.2 with the shopping cart system. We haven't tried apache 2.4 since it came out, so we decided to give it a try and to our amazement, it out performed nginx on our system (not by a much, but milliseconds matter as someone has already said). Maybe it's because apache 2.4 uses php-fpm as efficiently as nginx - I am not sure, but it may be something anyone who uses cs cart should think about. Also apache always used double the resources as nginx, but the newer version only uses slightly more than nginx. I am not an apache advocate by any means, but the newer version of apache is worth giving a try with cs cart.
And by the way, first byte time (which is very important with us) has went from the 1.5's with v 4.2.4 to the .2's with v 4.3.1. The drag time after the first click is virtually gone.
Finally had to turn off all apc and redis… It causes nothing but problems…
Blank White pages are hit and miss
Cannot clear the cache effectively
Cannot use Theme Editor. hit and miss. Only loads sometimes…
Reverted back to sqlite and database for cacheing and now everything works great.
No notice in speed difference at all…
Gtmetrix rates the site the same and page load times are the same…
So whats the point.?
[quote name='CarStickersDecals' timestamp='1433519570' post='217532']
Finally had to turn off all apc and redis… I causes nothing but problems…
[/quote]
try the latest xcache instead with gui, seems to working fine so far on 4.3.1
[quote name='CarStickersDecals' timestamp='1433173978' post='216787']
All errors have been resolved…
We are finding that using redis is actually slower than database for $config['session_backend'] =
Actually 1 second slower on page load times…
[/quote]
Maybe you just should properly configure redis service on your VPS. According to my tests, redis is more efficient, than SQLite and file storage.
[quote name='goncharov' timestamp='1433690651' post='217679']
Maybe you just should properly configure redis service on your VPS. According to my tests, redis is more efficient, than SQLite and file storage.
[/quote]
Not running on VPS… Private dedicated server… Give us some insight…
How should it be configured… I can always learn something new…
[quote name='CarStickersDecals' timestamp='1433519570' post='217532']
Finally had to turn off all apc and redis… It causes nothing but problems…
Blank White pages are hit and miss
Cannot clear the cache effectively
Cannot use Theme Editor. hit and miss. Only loads sometimes…
Reverted back to sqlite and database for cacheing and now everything works great.
No notice in speed difference at all…
Gtmetrix rates the site the same and page load times are the same…
So whats the point.?
[/quote]
hello,
share thus issuses in the bugtracker. just to be sure.
regards
tip… i have tried to increase opcache memory consumption and to get like 256M aerver needs additional 5gb of physical memory…current 4GB … so opcache engine is very resource hungry
[quote name='demeldoo' timestamp='1433753290' post='217753']
tip… i have tried to increase opcache memory consumption and to get like 256M aerver needs additional 5gb of physical memory…current 4GB … so opcache engine is very resource hungry
[/quote]
huh? how many stores are you running?
[attachment=9657:opcache.png]
1 my friend ![]()
what i wanted to say: if the value is increased without enough memory to backup this it can hurt other processes on the server and in my case fatal error for storefront… 4gb is not enough to get opcode run with memory consuption set to 100
Instead of Cs-Cart telling us these great ideas on how to make our sites faster they need to provide more information on how these options truly need to be configured. I understand that all hosting environments are not equal but there still has to be a baseline…
1.) PHP settings
2.) Opcache settings
3.) Redis settings
4.) APC settings
Not all of us are master server admins. I'm sure not. Don't believe most of us are, so we depend on Cs-Cart and this forum to point us in the right direction.
Having our server's PHP upgraded to 5.6.9 this evening. If there are any other settings that can be suggested please do…
[quote name=‘demeldoo’ timestamp=‘1433775873’ post=‘217856’]
1 my friend ![]()
[/quote]
I think your server is misconfigured, also as seen in screenshot, cs-cart fits in 32mb of opcache
[quote name='smithtd55' timestamp='1433245157' post='216933']
And by the way, first byte time (which is very important with us) has went from the 1.5's with v 4.2.4 to the .2's with v 4.3.1. The drag time after the first click is virtually gone.
[/quote]
What are your server specs? I am on a VPS and ttfb is still only 0.6 (apache 2.4.6 , php-fpm 5.4.9 with 3-10 child processes)
[quote name=‘kogi’ timestamp=‘1433812727’ post=‘217920’]
I think your server is misconfigured, also as seen in screenshot, cs-cart fits in 32mb of opcache
[/quote]
why just fit? why don’t more?
idea was not only to fit but hold data for longer time… not be cleared after mem is full…also to accelerate more files… but 32 is relative ok
yes CarStickersDecals some tips would be nice…like how much apc memory we need for two week storage? lets say 10k products…4gb 8gb?
Here are some settings I modified in the apc… Seems to really have made a difference…
apc.shm_size=2048M
apc.max_file_size=10M
apc.num_files_hint=20000
apc.user_entries_hint=20000
:Please note we are on a private dedicated server with 16G of Ram…
[quote name=‘CarStickersDecals’ timestamp=‘1433859552’ post=‘218037’]
Here are some settings I modified in the apc… Seems to really have made a difference…
apc.shm_size=2048M
apc.max_file_size=10M
apc.num_files_hint=20000
apc.user_entries_hint=20000
:Please note we are on a private dedicated server with 16G of Ram…
[/quote]
very fast load time to Slovenia ![]()
Inching closer to target!
[attachment=9672:Screenshot.png]
hmm, maybe I should be using the local test
[attachment=9675:Screenshot-1.png]
My host say that apc and redis are installed on my server but when I enable below
[quote name='imac' timestamp='1430405104' post='213082']
$config['cache_backend'] = 'apc';
$config['session_backend'] = 'redis';
[/quote]
I get service not available… Do I have to reboot services or wholeserver after these changes made?