You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coderczp
changed the title
[Feature]: Add eventloop reuse and splice supported to optimize performance in tcp proxy[添加eventloop复用和Linux splice零拷贝支持]
[Feature]: Add eventloop reuse to optimize performance in tcp proxy
Mar 30, 2025
panjf2000
changed the title
[Feature]: Add eventloop reuse to optimize performance in tcp proxy
[Feature]: support registering new connections to event-loops
May 2, 2025
Description of new feature
需求: 在代理场景下支持server和client复用eventloop
Scenarios for new feature
需求: 在代理场景下支持server和client复用eventloop
描述:
在代理场景中,server和client任意一端的Read数据都需要换醒对方进行write,由于server和client是独立的event loop,因此必然会存在goroutine的切换,如果client复用server的event loop,那么能带来两个好处:1 避免goroutine切换 2 避免buffer的copy
Breaking changes or not?
Yes
Code snippets (optional)
Alternatives for new feature
None.
Additional context (optional)
None.
The text was updated successfully, but these errors were encountered: