Skip to content

Conversation

@superzordon
Copy link
Collaborator

No description provided.

Copy link
Member

@lazynina lazynina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably swap out the map you're using for the cache w/ an LRU cache from hashicorp so you don't need to manually clear it out. this way we can just jam whatever we want in there and get the performance enhancements. can tune to increase the size off the lru cache (at the detriment of memory) or decrease the size (at the detriment of the speed).

@superzordon superzordon changed the base branch from main to z/cache-and-pubsub October 16, 2024 16:43
@superzordon superzordon merged commit a2b87de into z/cache-and-pubsub Oct 16, 2024
@lazynina lazynina deleted the z/cache-entries branch October 21, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants