Weeknotes 2025 W16: 70k rps

April 14​–​20, 2025
1000 words

Quick bits:


Shower thoughts:


I created dflag, a simple feature flag server with a static configuration. I’ve had this on my list of ideas for quite some time, and suddenly got the motivation to implement a first version of this.

The reason why I made this is primarily because I could: I don’t plan on using it, but perhaps it inspires someone.

The existing open-source solutions for feature-flagging are overly complex and don’t work well, and self-hosting is often not trivial. On the other side of the spectrum, commercial solutions are good but often prohibitively expensive.

The idea behind my particular implementation is a static plain-text file as the source of feature flags. It’s as simple as can be, but nonetheless distinctly useful for organizations just starting out with feature flags.

And because the data source is a plain-text file loaded into memory, a single instance on a single core can handle 70k+ requests per second with a p99 latency under 1ms,2 while using just a dozen MiB of memory. Not bad.

What are my future plans for this project? Maybe nothing. The Git repository has just one commit right now, and I might just keep it that way.


Entertainment:


Toots and skeets:

Links:

Tech links:


  1. I wanted to make the illustrations interactive at first. That’d be an even bigger can of worms. ↩︎

  2. Tested with wrk↩︎

  3. Myst Online: Uru Live (Cyan Worlds, 2007), published by Cyan Worlds. ↩︎

  4. Sharper, directed by Benjamin Caron, written by Brian Gatewood and Alessandro Tanaka (A24, Apple TV+, Picturestart, 2023). ↩︎

  5. Mask of the Rose (Failbetter Games, 2023), published by Failbetter Games. ↩︎

  6. I didn’t even mention the game in my week­notes! ↩︎

  7. Blackwell Legacy (Wadjet Eye Games, 2006), published by Wadjet Eye Games. ↩︎

  8. The Elder Scrolls III: Morrowind (Bethesda Game Studios, 2002), published by Ubisoft. ↩︎

You can reply to this weeknotes entry by email. I’d love to hear your thoughts!
If you like what I write, stick your email address below and subscribe. I send out my weeknotes every Sunday morning. Alternatively, subscribe to the web feed.
Incoming links: dflag.