memcached
< architecture
< japan
< flickr
< art
< culture
< research
< reference
< useful
< tena
< delicious
< fogus
Get flash to fully experience Pearltrees
I wrote an erlang implementation of a memcached server speaking the binary protocol over the weekend. You’re all probably wondering why. It was half a learning exercise, and half a way to plug a memcapable interface into more applications.
memcached is a hashtable with a simple API that allows for remote access. It is a major component of many large-scale web sites because it caches results from more expensive remote resources, i.e. DB access. The API consists of a several different storage methods (set, add, replace, append, prepend, cas), retrieval methods (get, gets), and a delete command (delete). Unfortunately, if you want to do something more complex than simple store/retrieve with memcached, then you have to make lots of expensive remote calls. For example, say I store a tree in the cache, where each node is “key, node key, node key”.
{*style:<i>By: Rich Miller July 7th, 2009 </i>*} in Share
Oct. 4, 2008, 1:02 p.m. An asynchronous job queue is a key element of system scalability. Job queues are particularly well-suited for web sites where an HTTP request requires some actions to be performed that may take longer than a second or two and where immediate results aren't necessarily required. Important Properties of a Job Queue There are several properties of such a queue system that have various levels of importance.
Distributed and persistent key-value database Features Built on Tokyo Tyrant .
I remember taking an operating systems class in college and marveling at the fact that operating system design seemed less about elegant engineering and more about [what I viewed at the time as] performance hacks. I saw a similar sentiment recently captured by Eric Florenzano in his post It's Caches All the Way Down where he starts describing how a computer works to a friend and ends up talking about the various layers of caching from CPU registers to L2 caches to RAM and so on. At the end of his post Eric Florenzano asks the following question I've often heard at work and in developer forums like programming.reddit That's what struck me.
Gregor Richards introduces Evalorizer, a heuristics based tool which is meant to replace JavaScript eval constructs with safer JavaScript correspondents. Stuart Church discusses applying the theories of species evolution, especially evolutionary and behavioral ecology, to software design. Stuart Church Mar 27, 2013 Ken Rimple shows how to write Spring Roo commands and features using the OSGi-based add-on API and how to extend the Roo shell using various Roo objects such as the FileManager and the ProjectManager. Ken Rimple Mar 27, 2013
I am a huge fan of memcached and we use it a lot on Plurk . Why to like memcached: it's a very simple protocol and supported for a lot of languages it's used by web-giants ( Facebook has now 25 terabytes of memcached cache ) it performs really well I have looked lightly into the internals of memcached to find out how it does its magic and what it makes it such an amazing choice for caching.
The primero recommendation for speeding up a website is almost always to add cache and more cache. And after that add a little more cache just in case. Memcached is almost always given as the recommended cache to use. What we don't often hear is how to effectively use a cache in our own products. MySQL hosted two excellent webinars (referenced below) on the subject of how to deploy and use memcached. The star of the show, other than MySQL of course, is Farhan Mashraqi of Fotolog.
What is Memcached? 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.