Network bottleneck, how to choose the programming language

First, the network bottleneck effect

On one, we talked about machine language, assembly language and high-level language, no doubt, machine and assembly language we can learn to give up, who wants to learn who learn to let go! We focus can be placed on top of high-level language, but both compiled language and assembly language level language is conflicting. This time for a different problem that we should have different strategies, if we need to develop a system operating system requirements such execution speed and long development cycle is similar, we can consider using a compiled language; if we need to develop a hop hop such entertainment software, you need to quickly develop, we can consider using an interpreted language.

Finally, we need to say a mouth Yes. If only the development of Internet applications, we recommend using an interpreted language. Before looking at how we first give a barrel effect: barrel effect is much talk about a bucket of water can hold depends on its shortest piece of wood. Well, back to the topic, the bucket effect is to tell the students, you develop a project in the industry, you are almost all development projects need to transfer data over the Internet.

Suppose a program to send a message using a compiled language execution efficiency is 0.001ms; use of interpreted languages ​​execution efficiency of 0.1ms, however, you have to know is that the Internet network latency may need to 1ms, and you are saved by this language 0.099ms delay of 1ms compared to the network may not hurt, because you need to send a second message to the end-peer network delay start sending. This is the bottleneck theory in the Internet.

Original Source: https://www.cnblogs.com/nickchen121/p/11069962.html

Guess you like

Origin www.cnblogs.com/FirstReed/p/11696057.html