Link to video [Found this video very important, covers Bloom Filters]
Optimize writes in a database. Scaling this. Think of DB as a data structure. B+ Tree.


For scaling our database we want to :
Some ideas to do this :


Instead of sorting in the DB, keep sorted chunks.

Read operation is spread across blocks. So, we can speed this up using something called Bloom filters.