. NET distributed Cache (3)--What if we don't have a cache?

Source: Internet
Author: User
Keywords Cache we if this
Tags cache control course distributed giants iis internet internet +

On the last mention of the performance of memcached, indeed, the cache is not omnipotent, but there is no cache is absolutely not? It's true. PlentyOfFish is to do so, it is also the internet giants of the use of WISC (Windows + IIS + SQL Server + C #) architecture of the Web site, MS can not always take MySpace to say things, now of course will not let this opportunity to hype, But the irony is that people do not use the "look beautiful" server controls. NET technology rather than borrow this platform.

Most of their page output is the use of the construction string or response.write out, simple is beautiful, they write the program is strict adherence to this rule, in turn think of the communityserver inside up to 7 levels of the inheritance of the control, It looks a bit like this: (Basic) (Web page) (template version of the basic template) (album template version of) (album replaceable style) XXX control, look at this long list of attributes, it is in each layer of inheritance to achieve a different characteristics, the structure is actually quite clear, pof a bit like what? , hand-built Audi, performance is not said, is a point of trouble. Those B4 discuz! NT friends should reflect on it.
In other words, that doesn't mean that the pile of Microsoft-made control is useless, but for small and medium-sized applications we need more development efficiency, and then the load is not so large, there is excessive optimization, the right is the best, can quickly make the user satisfaction is the most important thing.
Let's take a look at some of the things in it that are worth pondering:
1. Tens's photo requests are processed by their servers, but they are cached in memory and are below 2KB in size.
3. The use of GZIP technology adds 30% CPU overhead but is worth it in terms of bandwidth savings.
4. The ASP.net caching mechanism is not used because the data update is too fast and expires once it has entered the cache.
5. Use a large number of simple statements such as if,else or while + Response.Write to implement functionality.
6. Load balancing (as if no one is used)
30 million page traffic per day, the server only 2 webserver + 3 db server, the optimization of Kungfu is very good.

Other specific things can look at this post.

Related articles:

. Distributed cache under Net--from discuz! Discussion on NT cache design

. NET distributed Cache (2)--What if we don't have a cache?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.