cicada icon indicating copy to clipboard operation
cicada copied to clipboard

HttpDispter使用单独的EventGroup?

Open tanwenhai opened this issue 5 years ago • 3 comments

HttpDispter是实际的业务处理代码,会有阻塞操作

tanwenhai avatar Dec 29 '18 02:12 tanwenhai

https://github.com/TogetherOS/cicada/issues/19#issuecomment-431645348

之前有讨论过,目前只有在业务代码中自行加线程池,后期会考虑框架层支持。

crossoverJie avatar Dec 29 '18 03:12 crossoverJie

嗯,在源码中没有找到压测相关的代码。能否给一份看看

tanwenhai avatar Dec 29 '18 05:12 tanwenhai

没有写代码压测,用的 wrk 压测的。

image

crossoverJie avatar Dec 29 '18 05:12 crossoverJie