Closed kolinfluence closed 3 months ago
Looking at a lot of lru codes was wondering if it's possible to easily convert this to be sieve like too just to test out the one hit wonder issue.
This Lru cache sets by memory limit size instead of limit by item capacity https://github.com/cloudxaas/gocache/tree/main/lrux/bytes
Use NewLRUCache([memory size in bytes], [batch eviction count on full])
thinking in terms of "items capacity", normally the item size *
supports highly unproportional variable sized length for both keys and value.
p.s. : can someone check and see if it's that easy to convert to siege for testing? just curious that's all.
Looking at a lot of lru codes was wondering if it's possible to easily convert this to be sieve like too just to test out the one hit wonder issue.
This Lru cache sets by memory limit size instead of limit by item capacity https://github.com/cloudxaas/gocache/tree/main/lrux/bytes
Use NewLRUCache([memory size in bytes], [batch eviction count on full])
thinking in terms of "items capacity", normally the item size *
supports highly unproportional variable sized length for both keys and value.
p.s. : can someone check and see if it's that easy to convert to siege for testing? just curious that's all.