How safe is your fsync?
Have you ever wondered how durable are your writes. Do you expect calling fd...
cat 2025-02-20_how-safe-is-your-fsync.mdls blog-posts
Have you ever wondered how durable are your writes. Do you expect calling fd...
cat 2025-02-20_how-safe-is-your-fsync.mdThis is a follow up article to [this](https://gauravsarma. com/posts/snapshotting-in-a-high-throughput-shared-nothing-database/) post that I wrote about comparing Copy on Write and Redirect on Write mechanisms...
cat 2025-02-16_Integrating-Snapshotter-with-a-memory-datastore-in-Golang.mdWhile browsing Twitter (it will never be X. com for me), I came across a tweet where it was being discussed how an engineer from a big tech company was unable to explain how async/await works after working on a particular language for 3+ years...
cat 2025-02-03_How-Request-processing-has-changed-over-the-years.mdSnapshotting in a high throughput shared-nothing database While working on a Golang based in-memory database, I recently had to implement point in time snapshots for the datastore. The in-memory database has a shared nothing architecture allowing it to run multiple goroutines, usually based on the number of available cores and the keys are allocated accordingly to the shard goroutines...
cat 2025-01-27_Snapshotting-in-a-high-throughput-shared-nothing-database.mdI have been writing on Medium for more than 5 years on various technology topics. I have finally decided to switch from Medium to a self hosted setup...
cat 2025-01-06_Why-I-switched-from-Medium.mdIn the realm of database management systems, the ability to handle concurrent transactions efficiently is paramount. As applications demand higher performance and seamless user experiences, traditional locking mechanisms often fall short, leading to bottlenecks and reduced throughput...
cat 2024-11-06_MVCC-and-serializability-in-HyPer-564430884c9a.mdIn this post, we will understand how Redis and DragonflyDB store the data in memory. Both of them are in-memory datastores...
cat 2024-08-27_Comparison-between-Redis-and-DragonflyDB-s-data-stores-e9ecba1ef84c.mdProblems with a global lock space I was recently working on an in-memory datastore which had a flat layout of the underlying data structure. The datastore contained key value pairs, similar to a hash...
cat 2024-08-14_Optimising-Stripped-Locks-using-Golang-arrays-34b45ef4e975.mdTesting Different Types of Images Remote Image Here's a remote image from a URL: . [Remote test image](https://picsum...
cat 2024-03-16_Test-Images.mdIn 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...
cat 2024-02-18_Demystifying-MongoDB-write-operations-dbac459c9d26.md