Book Image

Infinispan data grid platform definitive guide

Book Image

Infinispan data grid platform definitive guide

Overview of this book

Table of Contents (20 chapters)
Infinispan Data Grid Platform Definitive Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Infinispan memcached server


Memcached is a simple, highly scalable distributed memory key-based store developed by Danga Interactive to reduce the database load for LiveJournal, storing data and objects on the RAM memory instead of a disk. But nowadays, it is used by many other websites to speed up database-driven websites by caching objects in the memory to reduce read operations to an external data source.

If you are using memcached, you might have faced some of the following issues:

  • Cold cache: This happens when the memcached node goes down; then we can overload the database and slowdown or collapse data

  • Loss of performance: This happens when adding or removing memcached nodes

  • Lack of L1 cache: To overcome this, there are some memcached clients that can cache locally

  • Data loss: This happens due to server crash

Furthermore, cache entries are not relocated to a different node during a shutdown.

Clients of memcached can communicate with a running memcached server using a text-based protocol...