Skip to content

[Personal Project] Designed and Implemented a rate limiter with configurable rules

Notifications You must be signed in to change notification settings

vaibhavahuja/rate-limiter

Repository files navigation

Rate Limiter Service

Tech Doc : here

The tech doc contains the HLD/LLD and other implementation details.

Running the service

  • Start docker containers
    • docker-compose up
  • Run main file
    • go run cmd/main.go
  • Proto definitions are in this location
    • ./proto/rate_limiter.proto

Running the tests

  • Start docker containers
    • docker-compose up
  • Run the tests
    • go test ./... -v -count=1 -covermode=atomic -coverpkg=./... -coverprofile=coverage.out
  • Display Coverage
    • go tool cover -html=coverage-functional.out -o coverage.html

How to contribute?

  • Raise an issue
  • Talk to any of the contributors

About

[Personal Project] Designed and Implemented a rate limiter with configurable rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages