I/O is everywhere. I/O is slow. There's no denying it. Using traditional blocking I/O calls can thus be seen as a huge contributor to slow applications. This talk discusses how non-blocking I/O can help in building high performance, event-driven, reactive, concurrent, single-threaded applications (bingo). Don't worry, no need to install Node.js and npm install half the internet. Let's build high-performance applications from scratch with whatever language you're most comfortable with!
20 minutes talk at @WebEngDUS (2018-07-12)
The slides are available on https://speakerdeck.com/clue/non-blocking-io-for-the-masses-webengdus.
These slides were used as part of a presentation at @WebEngDUS. The full presentation took around 20 minutes including live demonstration and a short Q/A followed by some very nice discussions.
<?php | |
namespace React\Socket; | |
use Evenement\EventEmitter; | |
use React\EventLoop\LoopInterface; | |
use InvalidArgumentException; | |
use RuntimeException; | |
final class FdServer extends EventEmitter implements ServerInterface |