M
M
Maxim Grekhov2014-06-29 15:58:05
linux
Maxim Grekhov, 2014-06-29 15:58:05

Why do many people downplay asp.net mvc and IIS?

I am a C++\C# programmer. Decided to study web technologies. Therefore, in continuation of my web technology tests ( yii2 / laravel php tests ) - I decided to test asp.net mvc on iis server and compare with yii results on nginx. Everything is launched in a virtual box'e, the same amount of resources is issued (1 i7 core, 1 gigabyte of RAM). Set up JMeter for 100 threads. JMeter shows that Yii2 on nginx is pulling 230 requests per second. For asp.net mvc on iis JMeter shows 900 requests per second.
For clarification, requests go to simple controllers/methods, where there are no database queries or calculations - the About page for yii2 basic and a similar page for asp.net mvc.
I understand that php is going to JIT, but asp.net is already up and running. So why is he bad? Why is the IIS server bad?
PS I understand that the topic is holivar, but I would like some kind of constructive.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
V
Viktor Vsk, 2014-06-29
@Sterk

- Iron is cheap. It is much cheaper that competent programmers who will write for it (in one language or another, the price is also different)
- On the web, 230 per second and 900 per second does not play any role for 99% of websites understandable, about business card sites, blogs, online stores ...)
- On the web, you often need to "cut down now. you need what would work yesterday." On rails\django, this is easier to do than in Java, it seems to me.
- I don't want to depend on staff very much (there are much more php developers than c #, as I understand it, again the factor plays that not everyone needs gurus, and hardly anyone will work on c # for 3 kopecks per hour)
- PHP Community , it seems to me, more.
- If the project is specific (github, twitter, fb ...), then again, they are repelled, not so much by the language, but by the team that you can rely on
- There are very few things that cannot be done in the X language faster than in the Y language. And when it’s still impossible, then it’s not java or c # that comes, but Erlang and Go. Although, github and so, it seems to live well on the rails.
Bottom line: even though you've tested soft and warm, RPS is just one of many metrics.

A
Alexander Vishnyakov, 2014-07-24
@asvishnyakov

Well, by the way, the mega-popular StackOverflow runs on Windows Server + IIS + ASP.NET.

N
nico, 2014-10-25
@nico

who are many?
In the West, many people work on the MS stack and are happy.
It works faster, because stat typing, Azure is inexpensive and convenient. MS SQL is an excellent interactive database. C# programmers are more expensive, but the quality is still higher, I think.
PHP development faster? VS + R# + EF + Azure will give a head start in terms of speed. Possible refactoring, IntelliSense, one-button publishing
So I wouldn't say that someone downplays it. For fun, look at the number of vacancies for a .net engineer somewhere in Sydney and the salary level.

G
gleb_kudr, 2014-06-29
@gleb_kudr

Nothing bad, it just happened. Well, licenses cost money if everything is done on the MS stack, php does not have this factor.

A
Alexey Cheremisin, 2014-06-29
@leahch

To start. Basically you are comparing compiled c# code and interpreted php. I would replace the latter with Java or a rock or go. I think the results will be comparable.
Secondly, as you rightly noted, the cost of a solution on Microsoft is three times higher, plus more complex configuration, maintenance and vendor binding.
To deploy a server under nginx, almost any vps provider is enough, for windows it is again 3 times more expensive.
Well and so, anything IIS is not worse or better than others. For example, I don’t program under Windows at all (12 years already), Linux and Macos are everywhere, both at home and at work, and I don’t consider microsoft to be mainstream.

E
Evgeny Sofonov, 2014-06-29
@sofcom

The whole problem is in MS. For web servers there is Linux/BSD with interpreters and so on - this has already happened historically. Why MS ISS? In terms of execution speed - how to write, how to set up servers and it will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question