April 22nd, 2008

"Not an angel"


Is that spooky?

Night Of The Lepus — When extinction comes for humankind, it will be with nasty, big, pointy teeth. That's right, giant carnivorous rabbits - the most foul, cruel, and bad-tempered rodents the Earth ever known. Grown to the size of houses by medical researchers playing God, they replaced their hunger for veggies with a mad craving for live flesh. As they go forth and multiply (like rabbits, obviously), they will eat your cows, your pet dog, and will most assuredly eat you. Their feet don't seem so lucky now, do they?

What You Can Do: Nothing. The bunny-pocalypse is inevitable.


This is the same movie that's showing on the TV in the Oracle's apartment in The Matrix. I've wanted to watch it for ages but can never seem to find a copy. What? It can't possibly be worse than Shark Attack 3: Megalodon. Can it?

(Stolen from ashfae.)

Memcached internals.

At its core, Memcached is a high-performance, distributed caching system. It is application neutral, and is currently used on many large scale web sites such as Facebook (2TB of cache, circa Q1 2008), LiveJournal, Mixi, Hi5, etc. However, it is also an extremely simple piece of software: all of the logic is client-side, there is no security model, failover, backup mechanisms, or persistence (albeit the last one is in the roadmap). But that hasn't stopped the developers from deploying it in all kinds of environments, and here are a few best practices suggested by Brian:

1. Don't think row-level (database) caching, think complex objects
2. Don't run memcached on your database server, give your database all the memory it can get
3. Don't obsess about TCP latency - localhost TCP/IP is optimized down to an in-memory copy
4. Think multi-get - run things in parallel whenever you can
5. Not all memcached client libraries are made equal, do some research on yours. (Hint, use Brians.)