Fleet-wide rate limiting Twenty API instances, one upstream quota of 100 req/s. Each instance takes tokens from a shared bucket before it calls out, so the limit holds for the fleet instead of per process. tokens_per_req lets an instance take a batch and spend it locally, cutting the round trips. A read consumes tokens, so it isn't idempotent: don't retry it blindly.
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL
Show HN: Ghoti, a small coordination service for distributed systems
I built Ghoti because sometimes using a small centralized server with in-memory state and no persistence was easier than coordinating with each other. Comments URL: https://news.ycombinator.com/item?id=50690808 Points: 2 # Comments: 0