Tess Griffin

Tess Griffin

Senior Developer, thoughtbot

Tess has been a Ruby on Rails developer for 10 years. She lives in Albuquerque, NM with her wife Sage, daughter Ruby, and many animals.

Sharding Is Hard: Let's Make It Easier!

You’ve stuck to a single database. It has gotten beefier and beefier servers as the scale grows. Now your RDS bill is $500k a month and half your indexes have stopped working! What do you do next?

Database scaling is a common problem for applications reaching large scale. Vertical scaling works well to a point but gets expensive fast. In this talk we’ll explore the other approach to scaling your database — horizontally with sharding. Where do you start? Which table do you shard on? How do you keep your transactions atomic when they need to cross multiple shards? I’ll show you how to tackle moving your database to a horizontally distributed system in an approachable way.