crexi-dev / rate-limiter

A test task to implement a rate limiter pattern
8 stars 196 forks source link

PR by Konstantin Shutsko #116

Closed KostayShutko closed 2 years ago

KostayShutko commented 2 years ago

The main idea of Rate limiter is to limit expensive resources by some conditions if client has subscription, roles or authenticated. Rate limiter receives configuration that can be created directly(like in tests) or created by some converters from config file, attributes, etc. Also it receives context that can be created from http context or by other ways.

Assumtions:

What can be improved