Commit Graph

5 Commits

Author SHA1 Message Date
Taras Kushnir
727fbfa93e Preallocate map size 2025-12-22 12:47:18 +01:00
Taras Kushnir
bd821b809a Safeguard batch callback instead of main routine 2025-08-15 17:40:51 +03:00
Taras Kushnir
8863178697 Wrap few goroutines with recover 2025-08-15 11:13:03 +03:00
Taras Kushnir
9ec1ef8d65 Refactor caching layer
Main reason being otter/v2 release with APIs for sliding expiration.

- added new cache API to use Loader logic from otter/v2 (fetch from DB)
- main direction of work is improving "negative caching" performance
  (currently it is still intertwined with the main cache)
- expose new Prometheus metric for cache hit ratio
2025-06-21 14:16:28 +03:00
Taras Kushnir
4951055189 Initial commit 2025-05-31 10:56:00 +03:00