Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:线程池可否引入 #20

Open
578223592 opened this issue Jan 19, 2024 · 0 comments
Open

feat:线程池可否引入 #20

578223592 opened this issue Jan 19, 2024 · 0 comments
Labels
wontfix This will not be worked on

Comments

@578223592
Copy link
Collaborator

目前发送RPC的时候每有一个其他节点都是猛起一个线程,一直等待RPC处理直到返回。
这样的话是不是不优雅,
1.对于起线程也许考虑更好的方式,可能是线程池。
2.对于RPC,也许设置一个超时返回时间比较合适。

参考:
braft库 and so on.

注意:要求加入的线程池需要有超时策略,即超时不阻塞。
而定时时间也是一个值得考量

@578223592 578223592 added the wontfix This will not be worked on label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant