Ticket #68 (new enhancement)
Support memcached objects
| Reported by: | monkeyamore@… | Owned by: | hans |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0 |
| Component: | Runtime (PHP5) | Version: | devel |
| Severity: | normal | Keywords: | memcache, memcached, cache, caching |
| Cc: |
Description
It would be nice to see support for memcached objects ( http://www.danga.com/memcached/) and seems like a great fit. On .save() of an object, it updates the in-memory cache and the database, when a request for an object comes in, it first checks the memcache. The cache can be located on one machine or have different object types spread across multiple servers (but the same object not cached multiple times), servicing multiple web servers and avoid the need for replication and dramatically reduce the strain on the db server. Query Caches (with mysql) are nice but go invalid frequently and for each replicated server, the query cache is also replicated (poor utilization of server resources).
From the listed site: "Danga Interactive developed memcached to enhance the speed of LiveJournal.com, a site which was already doing 20 million+ dynamic page views per day for 1 million users with a bunch of webservers and a bunch of database servers. memcached dropped the database load to almost nothing, yielding faster page load times for users, better resource utilization, and faster access to the databases on a memcache miss."
