Home / Companies / Dragonfly / Blog / October 2022

October 2022 Summaries

2 posts from Dragonfly

Filter
Month: Year:
Post Summaries Back to Blog
Balance in life and systems is crucial as focusing on improving only one aspect can weaken the whole system. Redis, for instance, supports high throughput but its persistency mechanism struggles under high loads. The BGSAVE snapshotting process in Redis uses Linux's fork() to create a child process that accesses the parent’s memory, leading to potential memory allocation issues. KeyDB, a Redis fork, can sustain higher throughput due to its multi-threaded architecture but faces similar challenges during snapshotting. Dragonfly, another Redis fork, addresses these issues by using versioning and maintaining a monotonically increasing counter for each entry in the store. This allows it to serialize entries exactly once and avoids relying on generic memory management. The balanced approach of Dragonfly ensures its reliability, performance, and scalability.
Oct 30, 2022 1,066 words in the original blog post.
The text discusses the importance of reliable and simple infrastructure in today's fast-paced world. It highlights that while there are exciting technological advances like AI and self-driving cars, they often rely on unreliable infrastructure. The author mentions Redis as an example of a popular but not necessarily boring in-memory datastore. They then introduce the Dragonfly project, which aims to create a boring in-memory datastore that is reliable and simple to use even when workloads grow beyond a few dozen GBs. The author encourages engineers to strive for boring infrastructure and invites readers to learn more about their project on GitHub, Discord, or Twitter.
Oct 21, 2022 307 words in the original blog post.