I have a thought regarding of the data transmission.
Correct me if I am wrong about the protocol. Currently all the data transferred over TCP port 22000, the client and so-called server (send only) will establish a secure connection using port 22000, all the data will crypt.
I have changed the port to 80, by using the firewall command on my server side, and also change the server’s CNAME to CDN’s. after done that, It will never ever connect.
Here is my setup currently.
Node A is configured with send only, node B and C is configured with send and receive mode, they are all connected with each other.
Node A is considered as a master node, when there is an update, it will sync with B and C using random order file pull, B and C will sync with each other using the downloaded random file. It can speed up a little bit.
I am wondering if there is a way to speed up transmission by using CDN, here is my proposal, In the situation, when people don’t need the secure data channel, they can use port 22000 to establish the connection between nodes, but the data send over between each node will using port 80 instead. All the data transmitted using HTTP get or something fit CDN environment.
Please let me know if it is the best way to do this.