Wednesday, October 17, 2018

NATURAL LANGUAGE PROCESSING WITH NODE.JS

What is Node.js?

Node.js is a platform built on Chrome's Javascript runtime for easily building fast and scalable network applications.Node.js runtime asenkron and event-driven based.



The Event-Driven based if try to explain with example:When we go to the hospital,we fill out the form for information.There is a lot of people behind.We can fill out the form elsewhere but if we can fill out the form in the queue.if we fill out the form in the queue, the runtime goes wrong.So it's best to take the form and fill it elsewhere.Event based system works like this. 

Thread based system, the runtime continues after the form is filled out.The runtime slown down.The solution to this problem is to take more than one consultant to the hospital.Event based system no need that.So things are going on without interruption.It's called a non-blocking.

Node.js is the event-driven based system.İf we use the thread based node.js it doesn't make any sense.

Thread based system the only solution is to increase the number of processors.


Node.js: server-side JavaScript

Node.js is a backend solution, a runtime environment that allows executing JavaScript on the server side.
Javascript front end was also used as a script language before the Node.js quit.Now Javascript back end used with the development of Node.js.


With Node.js, you can create fast applications such as:

  • A chat server;
  • A very fast upload system;
  • And generally speaking, any application that needs to respond to numerous requests rapidly and efficiently, in real time

Why is Node.js fast?

Node.Js runs on top pf Google is V8 JIT-compiled JavaScript engine,originally written for Chrome, Which is extremely fast for an implementation of a dynamic language Google development the V8 compiling on the machine before running Javascript code. So running a compiled program.That's why more fast javascript on the Google Chrome

How Node.Js Work?



NodeJs operate asychronously.So received a request.after received more request.NodeJs makes two operations the same way.Which returns answer if the process runs out before 



No comments: