Asmit
4.6K posts

Asmit
@coolcoder56
23 | Building with AI | SDE | DM for work & collabs
Katılım Ekim 2022
1.6K Takip Edilen11.5K Takipçiler

I was asked this question in an interview at a company that pays 20 LPA to freshers. I failed it. The question was simple: “How does a database not lose committed data even if the server crashes?”
The answer is Write-Ahead Logging. Before a database modifies any data on disk, it first writes the change to a durable log. So if the system crashes, the database replays the log and recovers safely.
That interview taught me one thing: High-paying companies don’t test how much you code. They test how well you understand fundamentals. Saving this might help you clear what I couldn’t that day.
English
Asmit retweetledi


















