TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Feature flags on the edge, with Haskell and Rust

6 pointsby njaremkoalmost 3 years ago

1 comment

njaremkoalmost 3 years ago
Hey everyone! I wanted to play with Haskell (<a href="https:&#x2F;&#x2F;ihp.digitallyinduced.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ihp.digitallyinduced.com&#x2F;</a>), and Rust (Cloudflare workers), so I decided to make a product with them. This is the MVP I’ve come up with. It supports teams, projects, environments, flag variations, scheduling and expiry, and a reasonably complete targeting system that support Boolean logic combining user ID targets, arbitrary metadata targeting, rollout targets, and default fallthrough variations.<p>Some of those are features that are in the most expensive tier of other offerings, but they&#x27;re all in my free tier because restricting them to higher tiers seemed silly to me.<p>There’s a typescript and react SDK, and swagger API docs. The website runs on IHP, and the actual flag resolving API is deployed on cloudflare workers, so response times are generally 40-100ms (though that could be due to my internet, it might be faster for you).<p>Coming soon: reusable groupings of users, and a dashboard showing all the users that have been targeted, what flags they evaluated, and what they evaluated to.<p>Feel free to ask any questions, and let me know what you think!