valyala / bytebufferpool

Anti-memory-waste byte buffer pool
MIT License
1.19k stars 132 forks source link

Possibility to set a limit to this bytebufferpool and use as cache? #20

Open gitmko0 opened 4 years ago

gitmko0 commented 4 years ago
  1. thanks for fastcache. I'm using victoriametrics fastcache and come across bytebufferpool, which seemed to be faster. So is there a possibility to make it so that there's a limit imposed on this bytebufferpool so we can use as cache?
  2. what happens when oom?
gaby commented 1 month ago

@gitmko0 Ever found a solution to this?