Skip to content

Releases: go-chi/httprate-redis

v0.5.3

23 Oct 14:42
a4686e7
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @ddo made their first contribution in #20

Full Changelog: v0.4.0...v0.5.3

v0.5.2

28 Aug 10:14
9136dde
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @ddo made their first contribution in #20

Full Changelog: v0.5.0...v0.5.2

v0.5.1

12 Aug 14:16
61daf03
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

05 Aug 14:26
487f95a
Compare
Choose a tag to compare

What's Changed

  • Fallback to local in-memory counter if Redis is unavailable by @VojtechVitek in #15

Full Changelog: v0.4.0...v0.5.0

v0.4.0

25 Jul 16:42
71c932d
Compare
Choose a tag to compare

What's Changed

  • Add cfg.ClientName, so clients can pass their name identifier by @VojtechVitek in #7
  • Update depenencies by @VojtechVitek in #8
  • Allow configuring custom Redis key prefix by @VojtechVitek in #9
  • Add robust test case & run it against Redis in CI by @VojtechVitek in #10
  • Improve README by @VojtechVitek in #11
  • Implement benchmark for Redis backend by @VojtechVitek in #12
  • Improve performance by using MULTI and MGET commands by @VojtechVitek in #13
    • Use MULTI transaction for INCR + EXPIRE will guarantee that we won't ever create any keys without expiry
    • Use MGET to fetch both previous and current window counters in a single atomic operation will improve throughput

Performacne

  • 1.3x speedup in CI 🚀
  • 2x speedup on my macOS M2 laptop 🚀 🚀

New Contributors

Full Changelog: v0.3.0...v0.4.0