Info
Links
This is an old revision of the document!
About Node.js
As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. In the following “hello world” example, many connections can be handled concurrently. Upon each connection the callback is fired, but if there is no work to be done Node is sleeping.
This is in contrast to today's more common concurrency model where OS threads are employed. Thread-based networking is relatively inefficient and very difficult to use. Furthermore, users of Node are free from worries of dead-locking the process, since there are no locks. Almost no function in Node directly performs I/O, so the process never blocks. Because nothing blocks, scalable systems are very reasonable to develop in Node.
If some of this language is unfamiliar, there is a full article on Blocking vs Non-Blocking.
const http = require('http'); const hostname = '127.0.0.1'; const port = 3000; const server = http.createServer((req, res) => { res.statusCode = 200; res.setHeader('Content-Type', 'text/plain'); res.end('Hello World\n'); }); server.listen(port, hostname, () => { console.log(`Server running at http://${hostname}:${port}/`); });
PROPOSED STANDARD Errata Exist Network Working Group A. Vainshtein, Ed. Request for Comments: 4553 Axerra Networks Category: Standards Track YJ. Stein, Ed. RAD Data Communications June 2006 Structure-Agnostic Time Division Multiplexing (TDM) over Packet (SAToP) Abstract This document describes a pseudowire encapsulation for Time Division Multiplexing (TDM) bit-streams (T1, E1, T3, E3) that disregards any structure that may be imposed on these streams, in particular the structure imposed by the standard TDM framing.
INFORMATIONAL Network Working Group A. Vainshtein, Ed. Request for Comments: 5086 I. Sasson Category: Informational Axerra Networks E. Metz KPN T. Frost Zarlink Semiconductor P. Pate Overture Networks December 2007 Structure-Aware Time Division Multiplexed (TDM) Circuit Emulation Service over Packet Switched Network (CESoPSN) Abstract This document describes a method for encapsulating structured (NxDS0) Time Division Multiplexed (TDM) signals as pseudowires over packet- switching networks (PSNs). In this regard, it complements similar work for structure-agnostic emulation of TDM bit-streams (see RFC 4553).
- RS422/RS232 combinatie - E1 - 4-wire E+M