Memcached is a simple solution for tough scalability problems. MySQL Cluster is a telco-grade network data store. Both are capable of performance far beyond what a relational database (even as good of one as MySQL) usually delivers. But memcached always relies on some other technology to persistently store data, and while MySQL Cluster can deliver exceptional throughput and response times, making it do so has not always been easy.
So, people have long discussed the idea of putting the two together, and I’ve been lucky enough to spend the past six months working on it.
There are many different ways they might fit together. For instance, memcached could merely be used as a protocol – as a path that gets you to the data in cluster – or it could be a fully functional cache on top of that data. I have tried to leave that decision (and many others) up to you, and build something that can easily be configured to work either way. The …
[Read more]