Memcached usage in Real time
July 12, 2019What is Memcached?
It’s a Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.
Demo
I have created a sample application for demonstrating ‘Memcached usage in real time’. I have created a PHP based application. We can monitor memory usage using ‘htop’ command for larger cache.
Technologies: Memcached, PHP, Apache
Check out the Project Source Code for more detailed info on implementation.