Bandwidth, Concurrency, CND


Bandwidth, concurrency, CND


1. Downloading websites and video websites are only related to bandwidth, because data is always transmitted, and other websites may users only interact with data for a short time, and most of the time they are reading webpage content. The number of users required to be admitted.


Several important parameters of system throughput: QPS (TPS), concurrency, response time 1. QPS (TPS): number of requests/ transactions
per second Generally, the average response time QPS (TPS) = concurrent number/average response time PV volume : (page traffic) IP volume : (IP traffic) concurrent volume: 1. Refers to how many connection requests the system can accept at the same time, because The number of connections of the system (memory, thread limit) is limited, so when the maximum number of connections is exceeded, the system will not receive requests (users cannot connect to the server). 2. The system concurrency is designed for (5%~20%) of the total system users. nginx 1. You can configure the maximum number of connections. When this value is exceeded, the connection will be rejected. CDN 1. It is realized by pointing to the cache server of the nearest user through DNS, and obtaining the static page content from the cache server. If the cache is not available, it will go to the original server to fetch the content for filling. 2. CDN only accelerates static resources, and for dynamic resources, it directly accesses the original server for data acquisition.























Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326786689&siteId=291194637