Non-Blocking vs. blocking I/O: Go with blocking.
You might have heard or read a various things on the Internet extolling the virtues of writing your applications to be ‘non blocking’. Java offers various libraries that help with this endeavour; Undertow is a java web server that lets you write your servlet handlers non-blocking, for example. XNIO is a more general I/O library that lets you write non-blocking code in simpler fashion. If you take nothing else away from this...
Dec 20, 2017 — 10 minute(s) read