chenBright commented on PR #2497:
URL: https://github.com/apache/brpc/pull/2497#issuecomment-1882471364

   socket 
不会一直持有申请的block吧。socket在每次解析完_read_buf的数据,都会调用`m->_read_buf.return_cached_blocks();`,归还_read_buf缓存的block,优先归还到tls的。
   
   为了后续更快地分配block,每个线程的tls缓存block数软上限是8。应该需要强制回收吧?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to