Skip to content

Changelog

Version v1.0.1

🚀 What’s New in v1.0.1

We are excited to announce the first official production release of distlimit!

distlimit is a high-performance, enterprise-grade rate limiter for Go designed for extreme throughput and zero-downtime resilience.

✨ Key Features

  • Zero-Dependency Core: Built purely on Go’s standard library.
  • Lock-Free In-Memory Engine: Built with sync/atomic (Compare-And-Swap) for nanosecond latency and 0 B/op memory allocation.
  • Atomic Redis Lua Scripting: Implements Sliding Window Log executed in a single network round-trip.
  • Graceful Redis Fallback: Automatically degrades evaluation to local memory if Redis goes down.
  • Circuit Breaker Cool-Off: Prevents overwhelming a recovering Redis server during outages.
  • IETF Standard RateLimit Headers: Automatically injects RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and Retry-After.
  • Ready-to-use Middleware: Includes plug-and-play adapters for net/http and Gin Gonic.

📦 Installation

Terminal window
go get [github.com/balramadan/distlimit@v1.0.0](https://github.com/balramadan/distlimit@v1.0.1)

📖 Documentation & Examples

Check out the full documentation and runnable examples in the repository’s README.md or visit pkg.go.dev