Skip to content

Write Spec for Sliding Window Counter class #68

@shalarewicz

Description

@shalarewicz

A spec for the SlidingWindowCounter algorithm should be decided on prior to writing tests. The constructor should accept parameters for the following:

windowSize - Size of the window in milliseconds
capacity - number of reqeusts allowed in each window
client - redis client instance

The SlidingWindowCounter class must implement RateLimiter

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions