memcache - when good to use
Posted: Sun Dec 16, 2007 10:52 am
Hi,
I read stuff about memcache at http://www.danga.com/memcached/
and this look really good right...basically if you show some stats or something like stats.php?id=5 you cache this...and all users use the cache at same time...doing sql query once actually...
Only question is how do you tell memcache to update the cache... any tips and tricks on that...are you doing like refresh on each INSERT/UPDATE/DELETE on data that concerns the memcached thing?
I read stuff about memcache at http://www.danga.com/memcached/
and this look really good right...basically if you show some stats or something like stats.php?id=5 you cache this...and all users use the cache at same time...doing sql query once actually...
Only question is how do you tell memcache to update the cache... any tips and tricks on that...are you doing like refresh on each INSERT/UPDATE/DELETE on data that concerns the memcached thing?