Database Basics for System Design Interviews

What are Databases? Databases are programs that either use disk or memory to do 2 core things: * record data * query data In general, they are usually always-on servers that are long lived and interact with the rest of your application through network calls, with protocols on top of TCP or…