sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.17k forks source link

Add theadpool extension #1365

Closed EvenLjj closed 5 months ago

EvenLjj commented 9 months ago

Background

SOFARPC provides the most basic thread pool implementation, which allows for setting thread pool related parameters and also supports customizing thread pools for specific interfaces. However, there is no extension provided to completely replace the original thread pool.

What we hope to achieve

HzjNeverStop commented 8 months ago

这个issue有进展吗?JDK21 开始支持了协程,基于这个能力应该能实现使用协程线程池替换掉 RPC 内置的业务线程池

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

EvenLjj commented 5 months ago

https://github.com/sofastack/sofa-rpc/pull/1383