crexi-dev / rate-limiter

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

Rate-limiter #176

Closed pavel-shkradziuk1 closed 5 months ago

pavel-shkradziuk1 commented 6 months ago

Partially implemented universal library for request limiting. Library can be used as separated component. Fully implemented a rule that tested in end-to-end test. Introduced extension point that after some rework can be used to extend library by new rules(RuleTemplateDetector, IRuleTemplate). Implementation of IRuleTemplate and classes defined by methods allow to add new rule templates without changing library code. Depts: