The Nodal project is offering "Web servers made easy" via Node.js.
Currently in beta, Nodal is a Web server and framework built on a microservices architecture and intended for deployment of modular, distinct Web servers. It can be used for purposes ranging from a simple HTTP service providing server-generated HTML to an API server to a scaffold for single-page applications.
Projects can be deployed to the Heroku cloud out of the box. "Nodal servers are not meant to be monoliths," the project's GitHub pages states.
But don't look for Nodal to compete with popular Web servers from Nginx or Apache just yet. "Apache and Nginx are very mature and do a lot of things Nodal doesn't," Horwood said. "Nodal's core value proposition is that it's meant to simplify product development and deployment. It's very heavily influenced and inspired by Django and Rails, with extra bonuses supplied by the Node.js environment and ecosystem."
A Web server written in Node.js benefits from asynchronous I/O with an event loop, Horwood explained. "What this means is that a single Node.js server can handle tens of thousands of HTTP requests simultaneously," he said. It also means functions like proxying can be done very easily, Horwood added.
When Horwood is confident enterprise companies can ship Nodal systems without hesitation, he will declare it ready as a 1.0 release. Contributors to the project are welcome, and the feature road map now includes such capabilities as WebSocket support and refactors influencing extensibility.
This story, "Nodal: Build micro Web servers on Node.js" was originally published by InfoWorld.