|

Sqlite cache file size vs. server response time
Posted 27 July 2013 - 10:01 AM #1
I turned on the SQLite cache method in config.local.php
Everything works fine until the cache database file var/cache/registry/cache.db gets as big as 300-400 MB
Then when checking site performance with gtmetrix I get the server response time of 5 to 9s! from which most of the time is "waiting". It seems that server reads the cache file every time the page is loaded or refreshed. In this case theoretically worse "file" cashing method works better for me than recommended by most of you SQLite method.
Do you have any ideas what might be wrong? Is it insufficient server RAM?
Does SQLite cache file get so heavy in your stores, too?
Is there any way to limit the size of the cache file?
I set @ini_set('memory_limit', '128M'); but it doesn't help.
Thanx,
Chris
4.5.1
Posted 28 July 2013 - 12:50 AM #2
Also, what version?
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 28 July 2013 - 09:52 AM #3
44 features, 14 filters, but we actually intend to have much more.
Version as in the signature 3.0.6 ULT.
I turned back to "file" caching method couple of days ago and it seems to work much better than SQLite.
Pages are loading much faster and the server response time is at most 1s and not 6-12s.
4.5.1
Posted 28 July 2013 - 05:33 PM #4
# du -bs var/cache/registry
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 30 July 2013 - 03:40 PM #5
Filters: 104 782
Others: 42
Each directory has at least two subdirectories store 1 and store 2.
4.5.1
Posted 30 July 2013 - 06:58 PM #6
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 09 August 2013 - 04:22 PM #7
Posted 09 August 2013 - 07:24 PM #8
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 28 August 2013 - 08:25 AM #9
Buy CS-Cart License | CS-Cart Hosting
.
CS-Cart VPS SSD Cloud Hosting from $4,90/month *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider