The Backend Engineering Show with Hussein Nasser cover image

MongoDB Internal Architecture | The Backend Engineering Show

The Backend Engineering Show with Hussein Nasser

00:00

How to Write to RAM and Recover From a Crash

As you change, all these changes go to RAM, we call them dirty pages. The moment you touch a page where you have a row or collection or document, we just mark it as dirty. And then later, the storage engine will collect as much changes as possible and then flush it once, right, to the database. All of this is the job of the storage engine. I still didn't come to the difference between SQL andSQL, but you'll get a good error. You're clearly going to see it.

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner