# Simple feature flags in Elixir

**URL:** <https://forum.devtalk.com/t/simple-feature-flags-in-elixir/251560>\
**Category:** Blogs/Articles/Talks/Podcasts\
**Tags:** elixir, blog-post\
**Created:** [9 November 2026 21:18 UTC](https://forum.devtalk.com/t/simple-feature-flags-in-elixir/251560 "2026-11-09T21:18:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![aicost\_tools](https://forum.devtalk.com/user_avatar/forum.devtalk.com/aicost_tools/32/8251_2.png) [@aicost\_tools](https://forum.devtalk.com/u/aicost_tools)\
**Post date:** [11 November 2026 10:17 UTC](https://forum.devtalk.com/t/simple-feature-flags-in-elixir/251560/2 "2026-11-11T10:17:32Z")

</div>

Rolling your own flags makes sense to me: a table plus a cached lookup covers most of what teams pay a SaaS for. I’d push the Goodhart point one step further for AI features, where an A/B test can happily optimise engagement while the per-request cost quietly climbs, so I like seeing cost per user right next to the conversion metric. Do you store assignments per user, or hash user ids on the fly?

---

_[View the full topic](https://forum.devtalk.com/t/simple-feature-flags-in-elixir/251560)._
