Is the Node server the only option to support the maximum level of requests in an application?

0

For an application project that will need to support a huge amount of requests on the server such as an e-commerce portal on the day of black friday or the server of a game developer on the first day of launching an ultra-long-awaited game that can only be accessed and downloaded by login , for example in the case of Diablo 3, the Node.js server would be the only option feasible to withstand the stride without falling? Or would Nginx also be another viable alternative, and would IIS be discarded?

    
asked by anonymous 18.10.2018 / 18:00

1 answer

4

The type of technology used slightly affects the ability to meet demand, but what really matters is the overall architecture, it's knowing what you're doing. The least of the problems is what technology is going to use.

Anyway, I do not know why Node is being considered as a fast technology. He must have read a lot of newspaper articles out there. Node is slow. Of course, you can do a lot with it, but you have to do a lot of things right to be fast, there are technologies that are much faster to accept that something is not so good.

You have a site that performs independent testing with multiple stacks of technologies and shows how each one behaves (gets worse when we talk about latency ). Until the 11th. are almost 100% efficient, including ASP.NET Core, it loses only to experimental frameworks. The Nodejs appears in 59th. place with only 11% efficiency. So the decision that the question asks should be the opposite of the proposal. Not that it is impractical to use Node, but it is one of the least viable options.

IIS has improved a lot, but it will not be the best performance option ever because its purpose is to provide a variety of functionality and not performance. Even Nginx is not such a quick choice. It's compared to more complete servers, but it does have its cost as well.

In any case, the performance is not the most important and the decision of the best technology goes through extensive analysis and deep observation of the concrete case, and this can only be done by someone very experienced and not biased, besides having all information in hand. But the most important thing is that the decision is not made on false information.

    
18.10.2018 / 18:23