# Demystifying MongoDB write operations

DevFeed: [Demystifying MongoDB write operations](<https://devfeed.tech/articles/demystifying-mongodb-write-operations-39626.md>)

Original publisher: [Read original article](<https://www.gauravsarma.com/posts/2024-02-18_Demystifying-MongoDB-write-operations-dbac459c9d26>)

Published: 2024-02-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Gaurav Sarma's Blog](<https://devfeed.tech/sources/gaurav-sarma-s-blog.md>)

Topics: [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [checkpoint](<https://devfeed.tech/tags/checkpoint.md>), [command](<https://devfeed.tech/tags/command.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [replication](<https://devfeed.tech/tags/replication.md>), [storage-engine](<https://devfeed.tech/tags/storage-engine.md>)

## AI overview

This post explains MongoDB write operations by connecting WiredTiger caching, journaling, checkpointing, and replication. It describes how writes move through memory, the write-ahead log, and disk, including stated default flushing intervals and recovery behavior.

## Source excerpt

In this post, we will try to understand the different factors which control the write operations in MongoDB. We will try to tie in the common concepts like checkpointing, journaling, replication that we hear so often in the context of write operations...