Node.js is an open-source, event-driven platform, which uses Google's V8 JavaScript Engine. It is used by scalable web apps that need real-time communication between a web server and the worldwide web users and can tremendously enhance the overall performance of any site that uses it. Node.js is designed to handle HTTP web requests and responses and constantly provides tiny bits of info. For example, if a new user fills a registration form, once any information is inserted in one of the fields, it’s submitted to the server even if the other boxes are not filled and the user has not clicked on any button, so the info is handled much faster. In comparison, traditional platforms wait for the whole form to be filled and one sizeable hunk of information is then forwarded to the server. Irrespective of how small the difference in the processing speed may be, things change if the Internet site expands and there’re lots of people using it at the same time. Node.js can be used for online booking portals, real-time browser-based games or web-based chat systems, for instance, and lots of corporations, including eBay, LinkedIn and Yahoo, have already implemented it in their services.

Node.js in Web Hosting

You’ll be able to use Node.js with each web hosting plan that we offer, as the event-driven platform is available on our cloud hosting servers and can be added to an existing hosting account with several clicks. After you sign in to your Hepsia Control Panel, you will see Node.js under the Upgrades menu where you can pick the number of instances that you would like to activate. One instance means that one single application will use Node.js and you will be able to add as many instances to your account as you like. A new section will appear in the Control Panel soon after that and to start using Node.js, you’ll have to specify the path to the .js file that will use it and to choose whether the connection will pass through the physical server’s shared IP address or via a dedicated one. The controls inside the Hepsia Control Panel will also permit you to reboot or to terminate an instance and to view any given application’s output.