Dealing with high concurrent volume a commonplace subject. As for the CDN, load balanced God horse that needs operational support
Bugs in this blog only talk about some good solutions from the point of view of the program. As for the performance scheme from the database perspective, the bug opens another blog post.
1. The recommended static recommendation index five stars full of five stars
As long as the large Internet applications can not be separated from this concept, IIS with the pseudo static, but want to do the static is not an easy process dynamic and static trade-off between the need to use a balanced strategic vision to see
For example, at the time of the Grand game, the Eternal Tower Aion on the line, sad, blood and tears, the weekend past overtime, the purpose, the forum must resist pressure. Well, let me refactor the entire forum is impossible, how to complete, static. How to Static, whole station!!! The trick, the big flicker, crawls the net to climb the entire forum, not also. Said is the whole station, in fact, is the first page, page, the top 20 pages, etc., open multiple threads run together, worry about thread resource issues on the copy under the program, copy down to change the parameters open multiple processes run. Static station completed, then how to do, how users interact. The bright spot came, in fact we are 6 dynamic station, 1 static station, because most users only see not speak, so we take the static station as the entrance, if the user produces the interaction we will throw them to the dynamic station. Oh yeah, it does not seem so complicated. As for the general Internet applications in fact, the general homepage static is enough.
2. Asynchronous request
Asynchronous JavaScript and XML are already well understood when Ajax is not usually a novice. Most people may think of Ajax as a scenario for providing a user experience. In fact, Ajax is also helpful for mitigating server stress. Ajax comes back on the server with just the data the browser needs, like your Select, which returns a bunch of JSON without returning a bunch of extra HTML tags. This can reduce network load. Increase the network throughput rate.
At the moment, the owner of Bugs is particularly good at large business-to-business sites.
3. Parallel Computing
Bug's previous posting introduced the Cuda parallel framework, and now Microsoft 4.0 has also proposed parallel computing. However, there is no in-depth study, of course, is not a site of all the modules are suitable for parallel computing, only limited to query, behavioral analysis.
4. The cache is nothing more than a rip
5. Text Storage
For some commonly used resources can be started at the beginning of the site, the formation of curing resources, scheduled maintenance. For example, the rules file for Web security.
6. Static and dynamic separation
Picture resources, CSS, video, and so on static resources to switch to a stand-alone server.
7. User Guide
Sociology program, haha
8. Reduce the use of session you don't know much about it.
9. Unrelated security calculations can be placed on the client
For example, level jump, user survey in accordance with the previous selection of the subsequent proposition selection, etc. can be implemented with JS
10. There are many more ...
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/tools/