About the architecture (cost) of large websites developed using ASP. NET)

Source: Internet
Author: User
Tags windows web server

From: http://www.cnblogs.com/ms0017/archive/2011/08/17/Microsoft-NET-Mono-MySQL-MVC-Linux-Large-WebSite.html

In the previous article (http://www.cnblogs.com/ms0017/archive/2011/07/26/2117676.html), lists the domestic and foreign development of large websites with ASP. NET. Finally, the cost comparison between large websites developed with. NET and lamp/Java platforms is mentioned. In fact, in many cases, the charges are not necessarily higher than the free cost. Because the technology of which platform is more suitable for developing a website, many situations need to be considered (in addition to the development technology itself, we also need to consider labor, development efficiency, time, and subsequent support, maintenance and so on), the overall computing cost is required. Although the Microsoft platform itself is charged, the overall cost is not necessarily higher than lamp/Java. The large websites developed based on ASP. Net at Home and Abroad listed in the previous article are examples. Especially in terms of development efficiency, whether it is a C # development language, a free development tool (Visual Studio express, or monodevelop),. NET is obviously better than the other two platforms. This is exactly what Internet enterprises need. Efficiency is productivity. In addition, because of the existence of the Mono (http://mono-project.org/) Open Source framework,. NET technology can also be used in Linux/FreeBSD and other open source servers. So that. Net can fully implement cross-platform applications. Therefore, we can construct our ASP. NET Website in two ways: Windows and Linux:

I. Windows Platform
When developing a large website on Windows, many people first think of the high license fee of Microsoft software, and think the cost is very high. In fact, there is a misunderstanding here. We developed an ASP. NET Website. Web servers can use Windows Server's web version Windows Web Server 2003/2008, which is not expensive (refer. Note that one system is a one-time purchase and can be used for N years. Now there are many large websites using win2003. How many years has it been used? The salary is paid by month, and the cost is also high in a few years ). The expensive part should be the sqlserver database and the Windows Server Enterprise Edition that supports it. They are really expensive. However, we do not have to use sqlserver to develop websites. You can deploy open-source databases such as MySQL and PostgreSQL in Linux, and you can also consider using MongoDB and so on.
Open source nosql database. Generally, medium and large websites have more than a dozen Web servers (that is, more than RMB ). If it is larger, there will be million Web Servers
Server, that is only RMB (of course, only software ). If the website can be of that scale, the money is nothing. Of course, if you can
For a very large. Net website like MySpace, you should be able to contact Microsoft directly for a preferential price to purchase them in bulk. Haha.

Ii. Linux platform
If you really don't want to spend a penny on the server, you have to use it for free. I advise you not to give up. net powerful productivity, and choose other platforms, because there are also Mono (Note: Mono is now the default installation environment in the Suse, Ubuntu, Debian and other Linux releases, ubuntu itself has a lot of code written in C ). You can use a combination similar to Linux + Apache/nginx + Mono (or use jexus Web Server [Official Website]) to replace windows + IIS to build a completely free ASP. NET web server. At present, there are many mono-based website cases at home and abroad, such:
Http://www.stockren.com/
Http://www.msannu.cn/
(In addition, well-known foreign companies such as unity3d and xamarin are developing applications based on mono)
There are many ways to set up mono on Linux. You can refer to the following blog:

Configure the Linux (APACHE) + mono to run Asp.net
Http://www.cnblogs.com/hcl0208/archive/2010/10/25/1860173.html
Deployment of the Asp.net website under ubuntu10.10 mono2.10 + nginx + FastCGI
Http://www.cnblogs.com/xiaogangqq123/archive/2011/02/28/1967345.html

Iii. Supplement:

I have seen many people reflect that this article is not powerful enough to really mention the actual architecture, but it is just a general talk about Windows and Linux. In fact, there are too many articles on the architecture of large websites.
. For example, it is the architectural design drawing of a large domestic Website Based on ASP.net, in fact, whether it is. Net or Java/lamp, No matter what platform, the truth is the same. (Big chart)

In this architecture diagram, If you replace IIS with Apache, sqlserver
It is also true if it is replaced with MySQL. A reasonable architecture is irrelevant to the platform. Some so-called experts in the industry are not familiar with it. They say that large websites cannot use Asp.net, and there is no Java/Lamp
Okay. I believe that after reading this architecture diagram, I think about Bing, Hotmail, MySpace, match, qidian, Dangdang, M18, VANCL, and other large websites developed Based on. NET, we should close their mouths! The key lies in the development of large websites: human abilities and reasonable architecture!

From: http://www.cnblogs.com/ms0017/archive/2011/08/17/Microsoft-NET-Mono-MySQL-MVC-Linux-Large-WebSite.html

In the previous article (http://www.cnblogs.com/ms0017/archive/2011/07/26/2117676.html), lists the domestic and foreign development of large websites with ASP. NET. Finally, the cost comparison between large websites developed with. NET and lamp/Java platforms is mentioned. In fact, in many cases, the charges are not necessarily higher than the free cost. Because the technology of which platform is more suitable for developing a website, many situations need to be considered (in addition to the development technology itself, we also need to consider labor, development efficiency, time, and subsequent support, maintenance and so on), the overall computing cost is required. Although the Microsoft platform itself is charged, the overall cost is not necessarily higher than lamp/Java. The large websites developed based on ASP. Net at Home and Abroad listed in the previous article are examples. Especially in terms of development efficiency, whether it is a C # development language, a free development tool (Visual Studio express, or monodevelop),. NET is obviously better than the other two platforms. This is exactly what Internet enterprises need. Efficiency is productivity. In addition, because of the existence of the Mono (http://mono-project.org/) Open Source framework,. NET technology can also be used in Linux/FreeBSD and other open source servers. So that. Net can fully implement cross-platform applications. Therefore, we can construct our ASP. NET Website in two ways: Windows and Linux:

I. Windows Platform
When developing a large website on Windows, many people first think of the high license fee of Microsoft software, and think the cost is very high. In fact, there is a misunderstanding here. We developed an ASP. NET Website. Web servers can use Windows Server's web version Windows Web Server 2003/2008, which is not expensive (refer. Note that one system is a one-time purchase and can be used for N years. Now there are many large websites using win2003. How many years has it been used? The salary is paid by month, and the cost is also high in a few years ). The expensive part should be the sqlserver database and the Windows Server Enterprise Edition that supports it. They are really expensive. However, we do not have to use sqlserver to develop websites. You can deploy open-source databases such as MySQL and PostgreSQL in Linux, and you can also consider using MongoDB and so on.
Open source nosql database. Generally, medium and large websites have more than a dozen Web servers (that is, more than RMB ). If it is larger, there will be million Web Servers
Server, that is only RMB (of course, only software ). If the website can be of that scale, the money is nothing. Of course, if you can
For a very large. Net website like MySpace, you should be able to contact Microsoft directly for a preferential price to purchase them in bulk. Haha.

Ii. Linux platform
If you really don't want to spend a penny on the server, you have to use it for free. I advise you not to give up. net powerful productivity, and choose other platforms, because there are also Mono (Note: Mono is now the default installation environment in the Suse, Ubuntu, Debian and other Linux releases, ubuntu itself has a lot of code written in C ). You can use a combination similar to Linux + Apache/nginx + Mono (or use jexus Web Server [Official Website]) to replace windows + IIS to build a completely free ASP. NET web server. At present, there are many mono-based website cases at home and abroad, such:
Http://www.stockren.com/
Http://www.msannu.cn/
(In addition, well-known foreign companies such as unity3d and xamarin are developing applications based on mono)
There are many ways to set up mono on Linux. You can refer to the following blog:

Configure the Linux (APACHE) + mono to run Asp.net
Http://www.cnblogs.com/hcl0208/archive/2010/10/25/1860173.html
Deployment of the Asp.net website under ubuntu10.10 mono2.10 + nginx + FastCGI
Http://www.cnblogs.com/xiaogangqq123/archive/2011/02/28/1967345.html

Iii. Supplement:

I have seen many people reflect that this article is not powerful enough to really mention the actual architecture, but it is just a general talk about Windows and Linux. In fact, there are too many articles on the architecture of large websites.
. For example, it is the architectural design drawing of a large domestic Website Based on ASP.net, in fact, whether it is. Net or Java/lamp, No matter what platform, the truth is the same. (Big chart)

In this architecture diagram, If you replace IIS with Apache, sqlserver
It is also true if it is replaced with MySQL. A reasonable architecture is irrelevant to the platform. Some so-called experts in the industry are not familiar with it. They say that large websites cannot use Asp.net, and there is no Java/Lamp
Okay. I believe that after reading this architecture diagram, I think about Bing, Hotmail, MySpace, match, qidian, Dangdang, M18, VANCL, and other large websites developed Based on. NET, we should close their mouths! The key lies in the development of large websites: human abilities and reasonable architecture!

Related Article

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.