From snakes to crabs: rewriting feature flag evaluation infrastructure at web scale

A feature flag evaluation service handling ~500k req/min across 300 Django pods was hitting hard scaling limits: cascading failures from database pressure, fragile connection pooling, complex timeouts, and ballooning costs. When 10x growth projections made it clear the architecture wouldn't hold, the team rewrote it in Rust in under 3 quarters. This talk covers the full arc – the decisions, the execution, the results, and the consequences.


LEVEL: Advanced

Place
RustLab Deep Space
Length
45 min
When
November 2nd, 2026
15:30

Abstract

A feature flag evaluation service handling ~500k req/min across 300 Django pods was hitting hard scaling limits: cascading failures from database pressure, fragile connection pooling, complex timeouts, and ballooning costs. When 10x growth projections made it clear the architecture wouldn't hold, the team rewrote it in Rust in under 3 quarters. This talk covers the full arc – the decisions, the execution, the results, and the consequences:

- Choosing Rust: Evaluating FastAPI, Node.js/HyperExpress, Go, and Rust/axum – and why Rust won
- Architecture: Moving evaluation from SQL into application code, layered caching, parallel flag computation, and replacing PgBouncer with native connection pooling
- Execution: How a small team shipped quickly via incremental rollout and testing against production traffic
- Results: p99 latency from 904ms to 85ms, compute costs down 68%
- Beyond: New failure modes, operational surprises at scale, and the ways "simpler architecture" introduces its own complexity

This talk aims to go beyond the typical rewrite narrative – covering not just why and how, but what happens when the dust settles and you're the one carrying the pager.

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2026 RustLab | The international conference on Rust in Italy-Design & devCantiere Creativo-Made withDatoCMS