Hacker

Ananay Srivastava

@anny

Joined Nov 2026SDE Intern at N/AIndia

Projects

  • FirstProof

    Flagsmith Experimentation HackathonNov 2026

    I built FirstProof for developers who maintain integrations used by several customers. Imagine two customer workspaces syncing through the same client. Workspace A gets an HTTP 429 and has to wait before trying again. Workspace B can still make the same request, but if both workspaces use a shared queue, B can get stuck behind A and miss its sync deadline. I based the example on Slack's documented rate limits and the queue behavior in its Node SDK. FirstProof runs that situation against a test service that returns real HTTP responses. A Flagsmith experiment assigns each pair of workspaces to one of two policies. The shared policy pauses both workspaces. The scoped policy pauses only the workspace and API method that hit the limit. The workbench shows where each request spent its time, when it retried, and whether it returned the right data before its deadline. The test also includes healthy requests and requests that arrive before or after the cooldown so the operator can see when the change makes a difference. The operator reviews the Flagsmith results alongside the HTTP traces before deciding what to ship. A faster response for B is only useful if A still recovers and the policy respects the retry rules without making too many extra calls. FirstProof checks those conditions and requires approval before applying a rollout. In the self-hosted sandbox, I used that workflow to apply the scoped policy and verify it on a fresh replay without deploying new code.