Mastering Node.js(Second Edition)
上QQ阅读APP看书,第一时间看更新

Streaming Data Across Nodes and Clients

"A jug fills drop by drop."

– Buddha

We now have a clearer picture of how the evented, I/O-focused design ethic of Node is reflected across its various module APIs, delivering a consistent and predictable environment for development.

In this chapter, we will discover how data, pulled from files or other sources, can be read, written, and manipulated just as easily using Node. Ultimately, we will learn how to use Node to develop networked servers with rapid I/O interfaces that support highly concurrent applications, sharing real-time data across thousands of clients, simultaneously.