Discord was built in just under two months in early 2015. The messages were stored in a MongoDB collection with a single compound index. The data and the index could no longer fit in RAM and latencies started to become unpredictable. It was time to migrate to a database more suited to the task.
Table of contents
What we were doingChoosing the Right DatabaseData ModelingDark LaunchEventual Consistency2 Comments
Sort: