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)?
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)?
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.
There is an option called "rpcForceTcp" which will control the network communication, 1 means start while 0 stops.
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.
rpcForceTcp 1 in taos.cfg configration file, which is only recommended in weak network environemnt.