Skip to content

Change: improve usage stats collection with a local cache#1755

Merged
netomi merged 2 commits into
mainfrom
improve-usage-collection
Apr 13, 2026
Merged

Change: improve usage stats collection with a local cache#1755
netomi merged 2 commits into
mainfrom
improve-usage-collection

Conversation

@netomi

@netomi netomi commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

This change improves the usage stats collection by using a local caffeine cache for usage collection to avoid updating redis for each request.

The local cache is updated atomically and sync'd with redis every 30s. This should reduce latency for requests.

@netomi netomi added the snapshot Pull requests with that label will automatically build and publish snapshot images label Apr 13, 2026
@netomi netomi merged commit e31579d into main Apr 13, 2026
8 checks passed
@netomi netomi deleted the improve-usage-collection branch April 13, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot Pull requests with that label will automatically build and publish snapshot images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant