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 PRO

November 15, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

40 slides

More Decks by Kyle Simpson

Other Decks in Programming