by mgmeyers on 7/1/14, 9:34 PM with 9 comments
I've recently been getting deeper into node.js for things other than your typical web app, and have encountered a topic I'm not familiar with: network programming. I am completely ignorant on the topic and seek some guidance.
Can anyone recommend any high-level books (or other resources) on network programming? For example, something that covers patterns like PUB/SUB, REQ/RES, Router/Dealer, etc.
Thanks in advanced!
by astigsen on 7/1/14, 11:12 PM
TCP/IP Illustrated, Volume 1: The Protocols http://www.amazon.com/TCP-Illustrated-Volume-Addison-Wesley-...
TCP/IP Illustrated, Volume 2: The Implementation http://www.amazon.com/TCP-IP-Illustrated-Implementation-Vol/...
TCP/IP Illustrated, Volume 3: TCP for Transactions, HTTP, NNTP, and the UNIX Domain Protocols http://www.amazon.com/TCP-Illustrated-Vol-Transactions-Proto...
While they start at much lower level than generic patterns, they build the basis to understand the core of networking, and the the later books go into details about effective usage of the protocols.
by jvoorhis on 7/1/14, 10:06 PM
by angersock on 7/1/14, 10:29 PM
by adamnemecek on 7/1/14, 10:58 PM
[0] http://www.amazon.com/Network-Programming-Volume-Mastering-C...
[1] http://www.amazon.com/Network-Programming-Volume-Systematic-...
[2] http://en.wikipedia.org/wiki/Adaptive_Communication_Environm...
by MartinMond on 7/1/14, 10:43 PM
https://www.youtube.com/watch?v=jytJXjI0oQU https://speakerdeck.com/seancribbs/just-open-a-socket-connec...
Other talks from ricon.io and the various Erlang conferences are great too, but those are more about distributed systems and not primarily network programming. But since you mentioned the ZeroMQ patterns that should be just what you want.
http://thinkdistributed.io/ http://ricon.io/ https://www.youtube.com/user/ErlangSolutions/videos
by keithba on 7/1/14, 11:11 PM
http://www.amazon.com/Enterprise-Integration-Patterns-Design...
Covers stuff like: RPC, messages, channels, etc.
by nextos on 7/1/14, 10:25 PM
You can also draw a lot of inspiration from the Erlang literature, and CTM.
by spikyobjects on 7/2/14, 12:47 AM