tiny_httpd icon indicating copy to clipboard operation
tiny_httpd copied to clipboard

reuse buffers with an internal buffer pool

Open c-cube opened this issue 2 years ago • 1 comments

cc @anuragsoni this builds on #40. The combination of #40 and this, but using multicore, would be super interesting. However it would become important to make the buffer pool thread safe, probably using a Treiber stack to build it efficiently.

c-cube avatar Jan 02 '22 04:01 c-cube

Note: a good thing is that it seems that memory usage remains constant (low) under benchmark with wrk.

c-cube avatar Jan 02 '22 05:01 c-cube