TCP is Transmission Control Protocol, the transmission protocol. Unlike UDP, it is a reliable transport protocol for connectivity and data flow. That is, it can make the data on one computer error-free to other computers on the network, so when we
Boost.asio Fundamentals This chapter covers some of the things you must know when you use Boost.asio. We will also delve deeper into asynchronous programming that is more alert and fun than synchronous programming.This section of the network API
A few days ago, I saw a blog post saying that the server where php is located frequently creates TCP short connections in the case of high concurrency, And the 2MSL time of the server where php is located is too long, resulting in no port available,
Tcp_syn_retries: the default INTEGER value is 5. for a new connection, the number of SYN connection requests sent by the kernel is determined to discard. It should not be greater than 255. the default value is 5, corresponding to the left-right time
This is a creation in
Article, where the information may have evolved or changed.
I. PreambleOne of the main design goals of Golang is to face large-scale back-end service programs, which is an essential part of the service-side process. In everyday
Be careful when setting tcp parameters. do not change the online environment easily. I will paste the content of sysctl. conf in our online environment. for details, see net. ipv4.tcp _ protocol at the bottom of the article...
Be careful when
Tcp_syn_retries
: INTEGER
The default value is 5.
For a new connection, the kernel determines how many SYN connection requests are sent before giving up. It should not be greater than 255. The default value is 5, corresponding to the left-right
From: Http://blog.51cto.com/lijichao/308509/proc/sys/net/ipv4/icmp_timeexceed_rateThis led to the famous "Solaris Middle Star" when traceroute. This file controls the rate at which ICMP Time Exceeded messages are
I. Preface1) Linux Proc file system, through Proc file system adjustment, to achieve performance optimization.2) Linux performance diagnostic tool: describes how to use the diagnostic tool provided by Linux for performance diagnosis.Bold italics
Tcp_syn_retries:integerThe default value is 5for a new connection, the kernel will send a number of SYN connection requests before deciding to discard. should not be greater than 255, the default value is 5, which corresponds to about 180 seconds of
I. Preface 1) the LinuxProc file system is optimized by adjusting the Proc file system. 2) Linux performance diagnostic tool: describes how to use the diagnostic tool provided by Linux for performance diagnosis. Bold italics indicate commands that
Use Python to implement simple server functions and python to implement servers
The socket interface is actually a system call provided by the operating system. The use of socket is not limited to the Python language. You can use C or Java to write
Server do Web application (http/nginx) Linux kernel parameter optimizationUnder Linux systems, when a TCP connection disconnects, it retains a certain amount of time in the TIME_WAIT state before the port is released. When there are too many
Linux Network1, optimize the network device receive queuenet.core.netdev_max_backlog=3000This file represents the maximum number of packets that are allowed to be sent to the queue at a rate that each network interface receives packets at a faster
Vamei Source: Http://www.cnblogs.com/vamei Welcome reprint, Please also keep this statement. Thank you!In my previous Python tutorial, there was a message that it was useless to learn python, and that you had to learn a framework (like Django and
UDP and TCPUDP (User Datagram Protocol, Subscriber Datagram Protocol) is a no-connection protocol that does not guarantee that the UDP datagram will reach its final destination, does not guarantee that the order of the datagrams remains unchanged
Io_service class you should have found that most of the code written with Boost.asio uses several Ios_service instances. Ios_service is the most important class in this library, it is responsible for dealing with the operating system, waiting for
if your application needs to be able to receive messages sent from the server while the device is hibernating, then we can use the VoIP mode to achieve this requirement. But if the application is not a true VoIP app, then when you submit your app to
(i) Basic knowledge
The maximum size of the IPV4 datagram is 65535 (16 bits), including the IPv4 head.
IPV6 datagram Maximum size is 65575, including 40 bytes of IPV4 header
MTU, which is specified by hardware, such as the Ethernet
http://blog.csdn.net/guowake/article/details/3279796
Linux proc File system, through the proc file system to adjust to achieve the purpose of performance optimization.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.