Linux I/O Modes: Blocking and Non-Blocking Operations

Blocking and Non-Blocking I/O1. Fundamental ConceptsScenarios Causing BlockageReading from device or network files (e.g., terminal /dev/tty) often leads to blocking, unlike reading regular files which completes in a finite duration.Reading from a terminal without a newline character in the input buffer causes the read call to suspend the callin ...

Posted on Sat, 09 May 2026 02:50:50 +0000 by optiplex

Building TCP and HTTP Clients and Servers with Vert.x

Vert.x provides a straightforward way to implement non-blocking TCP and HTTP clients and servers. TCP Server Implementation Basic Server Creation Instantiate a TCP server with default settings: NetServer tcpServer = vertx.createNetServer(); Server Configuration Customize server behavior by passing a NetServerOptions object: NetServerOptions sr ...

Posted on Fri, 08 May 2026 03:09:39 +0000 by jraede