Professional Documents
Culture Documents
Memcached: Jakir Shaikh
Memcached: Jakir Shaikh
Memcached
By
Jakir shaikh
SE comp
Content
1 Who all are using it. 2 History of Memcached. 3 Three Ws. 4 Where does memcached reside. 5 Why to use Memcached. 6 Pseudo implementation. 7 Why not use memcache? 8 Possible ways to secure memcached.
History of Memcached
Brad Fitzpatrick from Danga Interactive developed memcached. Memcached reduced the database load. better resource utilization. Facebook is the biggest user of memcached.
Three Ws
What is Memcached?
Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
Pseudo Implementation
http://localhost
2Gb RAM reserved for caching the resultset
Cache the serialized resultset in memory 1st time Query Checks cache and if not found extracts from database
PHP DB API
Database
Pseudo Implementation
http://localhost
2nd time Query Checks cache, resultset already found. Un-serialize and return the resultset
PHP DB API
Database
Conclusion
memcached is a high-performance, distributed memory object caching system, generic in nature. security should be taken.
Reffernce
www.google.com www.wikipedia.com www.memcached.org
ANY
Questions?
Thank You.