coveooss / spillway

A simple, distributed and flexible rate limiter
MIT License
34 stars 12 forks source link

Add batch synchronisation #19

Closed Sytten closed 8 years ago

Sytten commented 8 years ago

This is a first implementation of a new async storage that sync in batch. Suggestions and critiques are welcome. This storage was necessary since we just can't make a query to our database (even async) for each query that arrives, that does not scale.

Sytten commented 8 years ago

I also replied to some comments marked as outdated because I renamed the class, but I would still like your feedback @malaporte

Sytten commented 8 years ago

If you want to take a look too @GuiSim

Sytten commented 8 years ago

If everybody approve, i will merge and create a V1 published on maven central.