Node.js is key in the new architecture
While there are many potential uses for Node.js, the key driver of its adoption has been in API development. Node.js APIs play a key role in emerging architectures, such as 3-layer architecture (not to be confused with 3-tier architecture).
Exponential.io is a proponent of the 3-layer architecture. 3 layer architecture is a micro-services friendly n-tier architecture where tiers are grouped into layers. Another new architecture is the 4-tier architecture used by Netflix (4-tier architecture.
For the purposes of this post we will focus on the 3-layer architecture.
We believe Node.js is here to stay thanks to changes in architecture. It delivers solid value as a UI/UX API, which is a new API tier thanks to the 3-layer architecture.
Specifically, Node.js APIs are edge-of-network. Further, Node.js’ event loop forces companies to scale out even when running on a single machine. In other words, if you have a quad-core machine, then you must run 4 separate Node.js instances in order to utilize all available CPU.
Node.js’ adoption appears to be similar to Linux adoption in the late 90’s, early 2000’s. Linux ran on horrible hardware when compared to Sun machines, and the OS was not nearly as robust as Solaris. However, what Sun executives failed to realize is that Linux’s robustness was achieved via scale out using newer architectures. Node.js also achieves its value and robustness via scale out.
Node.js is a solid foundation for developing a specific type of API. True, some companies previously used Java everywhere (if you only have a hammer…) and those companies are now moving the UI/UX API to Node.js. Yet, these same companies have show no inclination to move Platform Services or Data Services APIs to Node.js.
Thanks for reading. If you liked this article then please signup for our newsletter to receive more articles like this in your inbox.
We specialize in helping professional developers, like you, expand your skill set. Our courses are focused on enabling you to learn everything necessary to use a new technology in a live, production application.
All courses are made with love in
Palo Alto, CA.
Subscribe to our newsletter