This is an overview of the process, takeaways, gotchyas, and hopefully useful persnickety details of how Yammer went about sharding its legacy rails app running on Postgresql. I’ll briefly cover what sharding is and what problems it addresses, but there are many other readily available resources describing it in more detail (Wikipedia, CodeFutures, lmgtfy) Why sharding? The impetus behind sharding