Be sure to register in our forums! Share your opinions, help others, and enter our contests. |
![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
:
> QQ such as the size distribution of structures is the use of price, a bit like the DNS server is not exactly the same, but can be used to understand the huge traffic can be plural server share. QQ server should also be sub-DS, NS,Discount UGG Boots,-SB three or other number, in fact, the practical application server settings in the proportion of different, I do not know whether the server needs to record non-member chats do not load if not NS large, on-line real-time connections that do not load on-NS significantly decreased, while P2P is QQ users to exchange data between the server has nothing to do negligible,Discount UGG Boots, while the offline problem, only one user is no longer in the case of online , was sent to the chat server, or - who the user is sent to the other members of record at the same time send to the server log,UGGs Boots on sale, so that the server only need to deal with members of the chat and temporarily unable to reach the chat. a server with 10 thousands of concurrent flow is (- theory), and 10W-user is not also sent to the server log. User login from the DS > NS responsible to notify all friends and this by the other server is responsible for, landing, off frequency of occurrence is more sparse, so that the load will not be great. In fact, not a plus server. The key is to expand the framework for data - databases I think they are using a distributed database. QQ user does not aggregate queries would be Some users of the data on the node of a tree can be set to each data server node, so that the amount of dispersed put the query. the - does not have data on a server, QQ should be distributed because the theory summary data on the need, unless the need for efficient aggregate queries. thinking about my strengths and weaknesses: advantages are: this line of thought similar to the real-life management of telephone numbers, it is the sub-regional ,Discount UGG Boots, that is segmented, and I personally think that after such an extension may be relatively simple thing. disadvantage is: as a solution, this idea does not fully take into account the current number of users online to achieve dynamic equilibrium of the target. For example, 1 to 100 million small number within the line, while 100 million to 200 million within a number of people online - a lot, then this section on two different server load will be completely different, thus wasting the server resources. way to overcome the disadvantages: If you want to be completely based on the current online users to achieve the dynamic balance of server load, it was the chat server and db server from the dial, so chat server This layer is exactly the idea of dynamic equilibrium to be, and db which a work can be abstracted into a data management to make, but the specific user data storage section stores still use the way, for different numbers section for different database storage, while chat server idea of this layer, basically master + chunk of the way, the client will still be connected with a long chat to keep. is a necessary consideration when landing geographical proximity to the principle of providing the fastest network response, so the actual service application layer and data layer should be coupled. Segmented data storage management can be used in a distributed architecture, this is - the concept of a data layer, namely, how to effectively organize distributed data, because in practice in the QQ instant messaging in the amount of data the query needs very little amount of information written to the data layer is also in all traffic constitutes a very small proportion. that - in order to assess load the application from the service layer and data layer two aspects to consider. service application layer is the user's time to consider the real nature of the problem with the server load balancing. consider how the data layer is to provide more effective distributed storage solution, namely the use of - the black box idea, we designed the service layer, you can imagine that we, like the data in a virtual server data requests will of course be the response. As for the service layer how to achieve that is a black box, no need to consider. and then we - just consider the service layer on the server, how to obtain a temporary store and forward data to improve efficiency (reduce the amount of virtual data server queries,Cheap UGGs for sale, reducing the amount of communication with the client, reducing the service level of communication between the server volume - the purpose) Topics related articles: [ Reserved ] is the CCTV Spring Festival Evening harms of 16 stars ( Photos ) [ Reserved ] 2010 Spring Festival just defeat , Liu Qian Han blasted beyond reproach , the most effe QQ MSN architecture discussed SEO teacher did not end awards , the staff is also happy New Year ahead Why the bitter four -game losing streak NO.10 Li Google has Google , MSN awesomeness you can |
![]() |
| Thread Tools | |
| Display Modes | |
|
|