In the previous article (http://www.cnblogs.com/ms0017/archive/2011/07/26/2117676.html), we listed the large-scale Web sites developed at home and abroad using ASP. The last mentioned use. NET development of large-scale Web sites and Lamp/java platforms for cost comparisons. In fact, in many cases, fees are not necessarily higher than the cost of free. Because the development of a site to use which platform technology more appropriate, need to consider a number of situations (in addition to the development of technology itself, but also to consider labor, development efficiency, time, follow-up support, maintenance, etc.), to synthesize the cost to calculate the line. Although the Microsoft platform itself is a charge, but the overall cost is not necessarily higher than Lamp/java, the previous article enumerated so many large web-based development of ASP. Especially in terms of development efficiency, whether it's a C # development language, or a free development tool (Visual Studio Express, or Monodevelop/sharpdevelop). NET is significantly better than the other two platforms. And that's what internet companies need. Efficiency is productivity. And, because of the existence of the open source platform of Mono (http://mono-project.org/),. NET technology can also be used on open source servers such as Linux/bsd. make. NET fully achievable across platform applications. Accordingly, we can windows/linux two ways to structure our ASP.
One, Windows platform
in the Windows platform to develop a large web site, many people first think of Microsoft software is a high license fee, the cost must be very high. In fact, there is a misunderstanding. We develop an ASP. NET Web site that can be fully used with Windows Server's Web version of Windows Web server 2003/2008, which is not expensive (refer to http://hi.baidu.com/slmt/blog/ Item/d1533a12a6cc335af919b863.html, only 3k more than RMB. And note that a system is a one-time buy, bought can be used for n years, and now there are many large sites in the use of win2003, think how many years have been used? And people pay is the monthly pay, a few years down the cost is also very high). Expensive place, should be the SQL Server database and Windows Server Enterprise Edition that supports it. They are really expensive. But we don't have to use SQL Server to develop our website. Databases can be used to deploy open-source databases such as Mysql,postgresql under Linux, and open source NoSQL databases such as MongoDB can also be considered. The average medium-sized web site has more than 10 Web servers is enough (here is the end of 2013 stack Overflow server data can be consulted), that is, 3w more than the yuan Ah! For a stack overflow site of this size, this money should be nothing. Of course, if you can really do it like MySpace's super-large. NET site, you should be able to directly find Microsoft to get a discounted price to buy in bulk. Oh.
Second, the Linux platform
If you really don't want to spend a penny on the server, use it completely free. I advise you not to give up at all. NET strong productivity, and choose other platforms, because there is mono. Mono is now the default installation package (Apt-get install mono-complete) in Linux distributions such as Suse,ubuntu,debian, and Ubuntu itself has a lot of code written in C #. You can use a combination of similar linux+apache/nginx+mono (or Jexus Web server) instead of Windows+iis to architect a completely free ASP. At home and abroad there are many examples of the development of mono-based Web sites, such as:
http://www.stockren.com/
http://www.msannu.cn/
(in addition, there are more famous foreign companies like Unity3d,xamarin in the development of mono-based applications)
There are many ways to set up mono on Linux, so you can refer to the following blog post:
Configure Linux (Apache) + mono to run ASP.
Http://www.cnblogs.com/hcl0208/archive/2010/10/25/1860173.html
Ubuntu10.10 mono2.10+nginx+fastcgi Deploying the ASP.
Http://www.cnblogs.com/xiaogangqq123/archive/2011/02/28/1967345.html
Third, add:
See a lot of students reflect this article is not enough to force, there is no real mention of the actual architecture, but only the generalities of Windows and Linux. In fact, about the large-scale web site structure of the article online there are too many. For example, the architecture of an ASP. NET-based large-scale web site, in fact, regardless of whether it is, or java/lamp, no matter what platform, the same reason. (Big picture)
In this architecture diagram, the same is true if you replace IIS with Apache,sqlserver and replace it with MySQL. A reasonable architecture is platform-independent. The most uncomfortable is some of the industry so-called master, said the large web site with ASP. No, no java/lamp good. Believe you see this architecture diagram, think about Bing,hotmail,myspace,match,qidian,dangdang,m18,vancl and so on. NET-based large web site cases, you should close their mouths! The development of large-scale website, human ability and reasonable structure is the key! (A recent counter-example is a good illustration of the problem: www.12306.cn, developed in Java, is believed to be obvious to all.) Is it a matter of architecture/human capabilities, or is it a language/platform issue? )
(go) What is the architectural approach (cost) of a large web site developed with ASP.