turms-im / turms

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs
Apache License 2.0
1.72k stars 266 forks source link

Add support for RPC based on Unix-domain sockets #621

Open JamesChenX opened 3 years ago

JamesChenX commented 3 years ago

Motivation

It's a common scenario for small-scale applications to deploy turms and turms-gateway on the same machine while Unix-domain sockets can improve the RPC outputs and the effort is small, so we can add a plan to support it.

JamesChenX commented 1 year ago

The latest version (v3.5.0) of reactor-netty only supports UDS in Linux and macOS with additional dependencies (netty-transport-native-kqueue and netty-transport-native-epoll), but not in Windows. We better wait for Netty 5 to support UDS in Linux, macOS, and Windows without additional dependencies.