Fast Memory Pool Allocators: Boost, Nginx and Tempesta FW
natsys-lab.blogspot.com
natsys-lab.blogspot.com
https://github.com/gstein/pocore/blob/master/src/memory.c https://github.com/gstein/pocore/blob/wiki/MemoryManagement....
It's design is heavily influenced by real world experiences -- as this post even changed its benchmarks to reflect that in an HTTP server, a request uses maybe 100 small chunks per request, you can make different optimization choices.