Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Blocking Across The Wire

Blocking Across The Wire

If you're writing high-performance async code, blocking is the worst thing you can do, right? Except, what if blocking on remote (across the wire) processes is exactly what you want to do!?

CSP (Communicating Sequential Processes) is a channel-based async concurrency pattern that's built on "blocking" semantics. This talk is a wild experiment into upending and rethinking asynchronous programming. We'll explore practical applications of CSP in JS and then look at how we can extend it to work across the wire between browser and server.

Kyle Simpson

November 15, 2015
Tweet

More Decks by Kyle Simpson

Other Decks in Programming

Transcript