Home > Software engineering >  What method can improve the transmission efficiency of the socket?
What method can improve the transmission efficiency of the socket?

Time:09-24

Forward is doing a streaming media server, is receiving streaming media data and to transmit the data from the client, because of the streaming media are large amount of data (& gt; 4 MBPS), and the server is running on the public cloud hosting, so the program needs to put effort into the socket data transmission efficiency, forgive my shallow knowledge, so far I only know that controls the size of the package every time send (send less than 1460 the size of the package, in order to avoid the unpacking) to appear on the router, and the use of udp data transfer (less than TCP udp transmission control, can improve the efficiency of transmission, but need to do your own packet loss and packet processing order arrived) can improve the efficiency of transmission, other don't understand, so ask next everybody there is no other good way to dig socket data transmission efficiency? Thank you very much!

CodePudding user response:

Basic is these methods, the key is to increase the bandwidth of the server

CodePudding user response:

The support in optical fiber, optical fiber communication network card and optical fiber access network service providers,

CodePudding user response:

To wait for 5 g?

CodePudding user response:

Only on the hardware upgrade?

CodePudding user response:

1. Most of the system bottleneck is not in the socket, but in the server's processing power
The processing of the server bottleneck and mostly in the hard disk I/O

2. The existing network hardware conditions without ascending
Through the software is no way to boost the efficiency of the socket

CodePudding user response:

Yes

CodePudding user response:

Software should be your those

As for the hardware,,,

CodePudding user response:

refer to the second floor zhao4zhong1 response:
in optical fiber, support for optical fiber communication network card and the support of optical fiber access network service providers,


Zhao four teachers CSDN development of AI?

CodePudding user response:

refer to the eighth floor huliang66 response:
Quote: refer to the second floor zhao4zhong1 response:

The support in optical fiber, optical fiber communication network card and optical fiber access network service providers,


Zhao four teachers CSDN development of AI?

It should be said that because I bubble CSDN BBS for a long time, cause the brain structure and behavior mode to "CSDN development of AI" direction into the surface of the symptoms,
  • Related