Reputation: 11
Does TDengine's network communication use TCP or UDP? Or both? Can I configure it by myself? If I can, which item should I configure in the config filev(taos.cfg)?
Upvotes: 1
Views: 62
Reputation: 365
rpcForceTcp 1
in taos.cfg
configration file, which is only recommended in weak network environemnt.Upvotes: 0
Reputation: 111
If the length of rpc data is smaller than 15000 bytes, use udp, else use tcp. But if the option of rpcForceTcp is seted to 1, use tcp no matter the length of rcp data.
Upvotes: 0
Reputation: 167
TDengine use both TCP and UDP for RPC as far as I know. TCP used to transport big chunk of data while UDP used for small packets.
Upvotes: 0
Reputation: 285
There is an option called "rpcForceTcp" which will control the network communication, 1 means start while 0 stops.
Upvotes: 0