Original question: Recently, there is a need for remote transmission issues. The front desk I did a web program page, and then divided by the staff to select different items, and finally refer to the servers from all over the place to query information. My request is that the front desk seems to be like local operations, or you can paginize. When the data is transmitted, the databases are different from the database and do not necessarily open the database, so the Socket transport mechanism, etc. may be used. For example, speed, etc. I am worried. I don't know if I have been solved by similar problems. I have used a good way. Welcome to talk about it, thank you! ! !
BDSC (): (did not have done), for reference only:
Main ideas: Do a Cache service locally, open N threads According to the "Different items of the staff" to check "Servers from all over the world", the result is "selected different items" to do Kee exists in this cache service, local web To cache, take the result, if you don't check the results in the Cache again.
Analysis: Different items are selected by the staff, so the number of keys will not be huge.
Open n thread, mainly charged on NetWork I / O, local burden is not large