Ask: How to write a large number of concurrently accessible server software

zhaozj2021-02-11  226

This issue is proposed, stems from some of the projects I have.

At least four reasons for discussing the necessity of this problem:

First, in terms of application software, server software that supports a lot of concurrent access is an important aspect. Others include database MIS software, data acquisition processing software, web-based programs. Each software has its own law, but it is difficult to send the difficulty and value of concurrent access to server software. For example, the current OICQ, Lianzhong game, etc., there is this problem.

Second, from the technical itself, it can be divided into three kinds of trick type (such as in non-customer district drawing), large system structure (such as large MIS systems), high performance type (such as this topic), most articles on the Internet stay In tips, or stay on how to implement a teaching nature, or some source code is not strong. I personally think that teaching itself is useful, but the value is not large, such as how to make multi-threaded programming, if Socket communication, some classic books, manuals, msdn, etc. have been better; and the skill value is not big, mostly some Dething, is not the key to the large system; most source code is not big, it is worse than the routine that own the system. In fact, there is too little discussion on large system structure and high performance software, which is two.

Third, in the Internet, today, the role of HTTP protocol software or website does not need to be said, the other is based on dedicated client software, the background server software provides concurrent services (regardless of the two layers, three layers or multiple layers) The large-scale distributed application for communication through the Internet is clearly a weak term for my servers. It is worth our attention and effort.

IV. I think the programmer has studied the data structure, drilling through the operating system source code, learning the compilation principle, or performing the underlying communication research. If we write a network database system (DBMS), if you plan, you may say that you may say, but high-performance support for the server software that supports a large number of users, is still a few people with awareness.

In some cases I know, there are the following basic conclusions:

1. In the NT or Linux / UNIX system, good server software can support 1000-3000 concurrently connected.

2. The current distributed operating system is only a concept, but does not exclude a good distributed application that can be written on the application.

3, lack of writing methods for forming a combat test.

Waiting for your height. Welcome to discuss with me (PLISSKEN@263.net)

转载请注明原文地址:https://www.9cbs.com/read-4362.html

New Post(0)