Transport
It is the most used transport. High performance and easy. You can use TLS for TCP security.
Example:101basic
Servers use as network name and they registers services asserviceName/tcp:port
in the registry.```go server.gos.Serve("tcp", *addr)
HTTP Connect
You can send HTTP CONNECT
method to rpcx servers. Rpcx servers hijacks this connection and use it as a TCP connection.Notice clients and servers don't use http requests/responses to communicate and they still use the binary protocol based on this connection.
The network name is and the registered format is serviceName/http:port
It is not recommended and TCP is the first choice.
the network name is unix
.
Example:unix
QUIC
From wikipedia
the network name is .
Example:
KCP is a fast and reliable ARQ protocol.
Example:
reuseport
the network name is reuseport
.
Example:
It uses protocol and set SO_REUSEPORT socket option for linux and unix servers.
Example:
You can set TLS in server:
By smallnest updated 2018-12-04 11:47:26