Contribute Media
A thank you to everyone who has made this possible: Read More

How Wave does database sharding with Django

Summary

Learn how we handle a large amount of data in Django by sharding the data using a developer friendly interface. I'll be talking about what we learned from our initial implementation and sharding style as well as the details we used in implementing a newer system.

First, learn about why we shard, why you probably want to shard, what we originally tried and why it didn't work.

Next, learn about how we re-implemented sharding including the router, unique id generation and all the code that went into the project.

Finally, I'll touch on some of the more advanced topics such as shard re-balancing and dealing with replication lag time.

Details

Improve this page