Large websites to handle high concurrent technical points

The core technology point

  • Optimized front-end   front-end optimization of dynamic content including static, increasing the front-end cache. Will refer to static pages refers to dynamic pages with many dynamic elements, such as jsp, php, etc., converted to static html pages, static pages because they are not loaded dynamic elements, its access speed is much faster than dynamic pages, you can increase the speed of access reduced pressure database; front page cache for caching pages on a Web server in front of the system.
  • CDN technology   CDN content delivery network that is, the basic idea is as far as possible to avoid bottlenecks and links may affect the data transmission speed and stability of the Internet, the content delivery faster and more stable. By placing a layer of intelligence on the existing Internet-based server nodes throughout the network composed of the virtual network, in accordance with the CDN system capable of real-time and network traffic of each node connected to the load conditions and the user's response time and the distance and other comprehensive information to the user's request to redirect the service node closest to the user. Its purpose is to enable users to obtain the required content of the nearest address the Internet network congestion condition and improve the response speed of the user access to the site.
  • Load balancing   basic idea is to load balancing evenly high concurrent access to each server node, thereby reducing the pressure of each node in a distributed database.
  • Middleware      middleware database refers to the database layer, the application layer separated, adding a portion in the middle to prevent direct access to the database application. Because the system may employ separate read and write techniques, and thus may use different databases, different masking direct middleware database, provides a unified interface. Middleware also coordinates processing services, data connection management functions, a plurality of clients connected to the database can be shared via a middleware.
  • the memcached   the memcached is a high-performance distributed memory object caching system, to reduce the number of cache data read from the database by the object in memory and to improve the speed of the dynamic database-driven site, which is based on a store key / value pairs hashmap.
  • Concurrency Control    database limit, the maximum number of concurrent database, enter the row lock state. The control is not performed, wherein a connection once stuck, can cause an avalanche effect, thus affecting the entire system
  • Queuing system    lock mechanisms leading to line up
  • Copy parallel    using parallel copying technique may solve latency problems standby database replication
  • Database split   into horizontal and vertical split split split split vertically in columns i.e., the data separated by the application, reducing the amount of data processing in a single transaction; i.e., the horizontal resolution by splitting the lines, to reduce the amount of concurrent nodes
  • Separate read and write    some systems frequently read operation, while some systems frequently write, read and write separation can improve access speed

Guess you like

Origin www.cnblogs.com/weihua2018/p/11365246.html