Testing a new rate-limiting service – feedback welcome

2 0megion 5 9/19/2025, 7:24:48 AM
Hey all,

I’m building a project called Rately. It’s a rate-limiting service that runs on Cloudflare Workers (so at the edge, close to your clients).

The idea is simple: instead of only limiting by IP, you can set rules based on your own data — things like:

- URL params (/users/:id/posts → limit per user ID)

- Query params (?api_key=123 → limit per API key)

- Headers (X-Org-ID, Authorization, etc.)

Example:

Say your API has an endpoint /user/42/posts. With Rately you can tell it: “apply a limit of 100 requests/min per userId”.

So user 42 and user 99 each get their own bucket automatically. No custom nginx or middleware needed.

It has two working modes:

- Proxy mode – you point your API domain (CNAME) to Rately. Requests come in, Rately enforces your limits, then forwards to your origin. Easiest drop-in.

``` Client ---> Rately (enforce limits) ---> Origin API ```

- Control plane mode – you keep running your own API as usual, but your code or middleware can call Rately’s API to ask “is this request allowed?” before handling it. Gives you more flexibility without routing all traffic through Rately.

``` Client ---> Your API ---> Rately /check (allow/deny) ---> Your API logic ```

I’m looking for a few developers with APIs who want to test it out. I’ll help with setup .

Comments (5)

nik736 · 39m ago
Rails 8 introduced built in rate limiting, smilar to what you described. Since it's built in already I have no use for your service, but good luck!
galaxy_gas · 4h ago
I can't see myself ever using this unless self hosted as library with no phonehome . remote internet API call every time when I am getting millions of rps is intolerable
0megion · 3h ago
That is fair. Maybe Proxy mode would be a way to go in this case? Instead of calling another API, you can pass through your requests, and only a small amount can reach your origin.
galaxy_gas · 2h ago
CF Worker its pay per req isnt it ? This seems impossibly expensive to proxy
0megion · 1h ago
Correct, pricing would be based on the traffic volume.