Introduction to AWS
Learn how AWS leverages lightweight hardware requirements and single-threaded architecture to revolutionize web development with serverless environments.
We'll cover the following...
Overview
Node has been rather a game changer in the web application world. One of the
reasons for this is the lightweight hardware specifications that are needed to run a Node web server. Traditionally, web server engines, such as Apache or Microsoft’s
Node, as we have discussed, uses a single-threaded architecture, and each instruction that needs to wait for any reason is put onto a queue for processing at a later time. This means that the server is only running a single thread of execution at any particular time and, therefore, can handle a large number of simultaneous requests with a surprisingly small amount of CPU or RAM.
In the modern age of cloud computing, this means that many more Node web servers can be run on a single piece of physical hardware compared to other traditional web servers.
Most cloud services, including Azure, Google, and Amazon, have taken this concept a step further and now offer the ability to run code without the need for a server at all. Our code is provided with a runtime environment that has all of the dependencies we may need. If we take Node as an example, as long as we have the ...