How io_uring improves database performance
What is io_uring. io_uring is a high-performance asynchronous I/O (Input/Output) interface introduced in the Linux kernel (version 5...
cat 2025-12-11_how-iouring-improves-database-performance.mdls blog-posts
What is io_uring. io_uring is a high-performance asynchronous I/O (Input/Output) interface introduced in the Linux kernel (version 5...
cat 2025-12-11_how-iouring-improves-database-performance.mdAuthorisation In this section, we will cover how Authorisation works in Goiter. Every authorisation service has to deal with the following elements: - Accessor/Actor/User - Resource/Object - Action The underlying statement for an authorisation service is if an accessor should be allowed to perform an action on the resource...
cat 2025-09-20_designing-a-hiearchical-authorisation-system.mdSomeone posted on Twitter about the exorbitant price that Zoom charges if one wants to organise a single session with more than 10,000 attendees. It's around $6000...
cat 2025-08-15_streaming-with-webrtc-and-mediasoup.mdWhat exactly is the Swap Space. Linux system uses the Virtual File System (VFS) to abstract the physical memory available from the memory visible to the linux processes...
cat 2025-07-01_experimenting-with-the-swap-space.mdOnce upon a time, I was working on an in-memory datastore and creating the memory pool for the datastore. As usual, there were multiple design ideas that people put forth to solve it...
cat 2025-04-22_mmap-effects-in-databases.mdIf you have worked with distributed systems, you must have come across this famous quote: In a distributed system, the only thing two nodes can agree on is that they can't agree on anything. This quote has stuck with me because it perfectly captures the complexity of building distributed systems...
cat 2025-04-04_understanding-and-scaling-raft.mdHave 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.md