Replies: 1 comment 2 replies
-
Do we need to keep the UNIX Domain Socket? Is there really such a scenario? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here are the transport configurations I have currently sorted out that can be optimized. Do you think there are any other transport configurations that can be optimized?
1.NIO 跨平台,
2.NATIVE 在 Linux 使用 Epoll,在 macOS 使用 KQueue,Windows 不支持)
- 优先选择
NATIVE
(Epoll,性能更好);- 如果不支持 Epoll,则退化到
NIO
;+ 非 Linux(Windows / macOS)
- 固定使用
nio
,避免兼容性问题。+ 该模式只在 Linux/macOS + NATIVE 下真正生效;
+ Windows 不支持;
+ Seata 的典型部署场景中,TM/RM 几乎不会与 TC 部署在同一台机器,跨进程本地通信的优化点几乎没有意义;
+ 即便 TM/RM 与 TC 在同一台机器,TCP 也能兼容
Beta Was this translation helpful? Give feedback.
All reactions