gubernator-io / gubernator

High Performance Rate Limiting MicroService and Library - Developed at Mailgun
Apache License 2.0
71 stars 6 forks source link

Otter is now available as a cache option in Gubernator V3 #15

Closed thrawn01 closed 1 month ago

thrawn01 commented 1 month ago

Purpose

The result of the #7 benchmark for WorkerPool and Cache implementations showed a significant increase in performance when using Otter https://maypok86.github.io/otter/ over a standard LRU cache implementation. This PR gives users the option of using either the Mutex or Otter cache implementations

Otter Performance Benchmark on 32 core machine

Implementation