3 ms·
Thanks for the quick reply. A hit is is approximately about 2Kb of data built by making on average 4 memcached calls per request. database access is rare. We
by adserverboy 17y ago
Thanks for the quick reply.
A hit is is approximately about 2Kb of data built by making on average 4 memcached calls per request.
database access is rare.
We have two background cron jobs (per server) that run every 15 minutes.
Cron A - checks for dirty entities and invalidates them in memcached.
Cron B - extracts traffic logs from memcache and stores them in a remote database.
Thanks
- peterhi 17y agoYou might want to look at how your cache keys are created, if they are designed correctly memcached will expire them automatically removing the need for a cron. Of course how much of a saving this will be is another question.