gubernator-io / gubernator

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

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

Closed thrawn01 closed 6 months ago

thrawn01 commented 6 months 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