Browse Source

edit poc

master
zeus 3 years ago
parent
commit
eb9cdce34c
  1. 5
      poc-datacollector/modules/ROOT/pages/index-nodejs.adoc

5
poc-datacollector/modules/ROOT/pages/index-nodejs.adoc

@ -1,6 +1,6 @@
= NodeJS -> services readmongo_service, dummy_service
== asynchronous event-driven
TIP: As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications.
@ -29,6 +29,7 @@ In Node.js, there is no such start-the-event-loop call.
- *Node.js exits the event loop* when there are *no more callbacks to perform.*
====
== threads
Node.js being *designed without threads* doesn't mean you can't take advantage of multiple cores in your environment.
@ -37,7 +38,7 @@ Child processes can be spawned by using our *child_process.fork() API,* and are
TIP: Built upon that same interface is the cluster module, which *allows you to share sockets between processes* to enable load balancing over your cores.
=== Video = intro
== Video = intro
****

Loading…
Cancel
Save