Yuval Meir, Tel Aviv University, yuvalme AT gmail.com, wil AT post.tau.ac.il
Limor Gavish, Tel Aviv University lgavish AT gmail.com, limorgav AT post.tau.ac.il
Nezer Zaidenberg, Tel Aviv University, nzaidenberg AT mac.com
We introduce CCS, an innovative cluster cache synchronization framework. Cluster cache synchronization has grown in popularity with the introduction of "memcached". With the growing bitrate of networks, Clusters of inexpensive computers often take the role of midrange and high-end servers. However, where disk I/O is concerned, a synchronized caching environment for the entire cluster must be provided - as only by a shared cluster caching approach the disk I/O on a cluster will be used with similar efficiency to a single server and single I/O cache. ``memcached” has become the internet standard for cache synchronization on a cluster. However,``memcached” (currently) only supports LRU caching algorithm. CCS engine, built on top of ``memcached”, allows different caching algorithms to be used on a cluster environment. In this paper we describe CCS environment and experimental results for cache synchronization across cluster.
Our research tries to reduce response time and load on web servers and databases that serve them. Therefore, we need statistical data on which links are being accessed and in which order (per client). Thus, we would be extremely thankful if you could provide us with a month worth of access logs of the English language Wiktionary project. We chose to test our algorithms on the Wiktionary database due to the relatively modest volume of data, which simplifies the setup of the testing environment.
Obviously you would not want to release identifying data, so the logs should be sanitized. the user names can be completely removed, while we would like to have the IP addresses preserved to a degree that allows us to know whether two requests came from the same IP or not.
this can be done, for example, by generating a single block (200 bytes or so will be enough) of random data, and replacing each IP address in the log with the MD5 hash of the concatenation of the block and the IP address. the block should be deleted afterwards and not sent to us.
alternatively, you could just replace the first two octets of each IP with zeroes, but we prefer the previous method because it avoids not distinguishing between users with identical last 2 octets.
We are going to publish an academic research.
Wikimedia Policies, Ethics, and Human Subjects ProtectionEdit
Since we require anonymous data (see 'Methods'), there should be no ethical issues of concern.
Benefits for the Wikimedia communityEdit
Obviously, since Wikimedia projects use Memcached to cache their databases and file systems, our optimization of the Memcached algorithm may improve the response time and reduce latency of fetching pages from the database, meaning web pages will be displayed faster.
Gather statistical data - July 2011
Build the required setup for testing our algorithm - August 2011
Writing the algorithms and integrating into Memcached code - October 2011
Benchmarking - November 2011
Writing an academic paper - January 2011
Memcached official website:
Brad Fitzpatrick’s Blog:
Memcached server source code:
Example of a memcached client source code:
Memcached as a message queue: