public marks

PUBLIC MARKS from ERSWeb with tags this & flickr

24 April 2009 16:15

Dare Obasanjo aka Carnage4Life - ASP.NET Caching vs. memcached: Seeking Efficient Data Partitioning, Lookup, and Retrieval

(via)
I recently discovered memcached which is a distributed, object caching system originally developed by Brad Fitzpatrick of LiveJournal fame. You can think of memcached as a giant hash table that can run on multiple servers which automatically handles maintaining the balance of objects hashed to each server and transparently fetches/removes objects from over the network if they aren't on the same machine that is accessing an object in the hash table. Although this sounds fairly simple, there is a lot of grunt work in building a distributed object cache which handles data partitioning across multiple servers and hides the distributed nature of the application from the developer. memcached is a well integrated into the typical LAMP stack and is used by a surprising number of high traffic websites including Slashdot, Facebook, Digg, Flickr and Wikipedia. Below is what C# code that utilizes memcached would look like sans exception handling code

brianwaustin's TAGS related to tag this

.net +   2000 +   active +   article +   articles +   asp.net +   building +   c# +   code +   data +   development +   flickr +   hard +   iis +   internet +   it +   joomla +   linux +   microsoft +   network +   security +   server +   service +   software +   steal +   system +   technology +   template +   tips +   tools +   windows +   work +