diff --git a/IoT/SensorNode2Server.adoc b/IoT/SensorNode2Server.adoc index 60277d8..00b2b56 100644 --- a/IoT/SensorNode2Server.adoc +++ b/IoT/SensorNode2Server.adoc @@ -429,7 +429,19 @@ image:./swarmlabn-1.png[alt="Swarm Gateway"] - Red Node: Sensor Node and Gateway Role - Black and Red Node: Sensor Node - Client -=== NodeJS +=== NodeJS Implementation + + +[NOTE] +==== +Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside of a browser. + +Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. + +Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web-application development around a single programming language, rather than different languages for server- and client-side scripts. + +Node.js operates on a single-thread event loop, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections without incurring the cost of thread context switching +==== ==== Gateway