gomemcache icon indicating copy to clipboard operation
gomemcache copied to clipboard

use FIFO queue for freelist

Open jlisthood opened this issue 2 years ago • 0 comments

Using FIFO queue may help with cycling through connections more evenly. I have noticed the front of the freeconn list can stay underutilized if you have infrequent bursts and a high idle max pool size. Since there is no logic to clean closed idle connections, it might make sense to FIFO through them instead of letting stale connections build up.

jlisthood avatar Feb 03 '23 07:02 jlisthood