Photo by Evi Radauscher on Unsplash

Java sockets I/O: blocking, non-blocking and asynchronous


When describing I/O, the terms non-blocking and asynchronous are often used interchangeably, but there is a significant difference between them. In this article are described the theoretical and practical differences between non-blocking and asynchronous sockets I/O operations in Java.




Senior Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CS371p Spring 2022: Gautham Raju

Curiota: The Free and Efficient Note-Taking Application

Enter animation using RecyclerView and LayoutAnimation Part 3: Exclude items

Introduction to Multicast ABR (M-ABR) — Where it works and where it totally fails

Multicast ABR generic Architecture - This version differs from the CableLabs version, as I focus on different aspects.

A Complete List of Computer Programming Languages

Agile Git Integration With gitworkflows

A farewell love letter to Quartz Composer

Speed up your Raspberry Pi configuration

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aliaksandr Liakh

Aliaksandr Liakh

Senior Software Engineer

More from Medium

Dockercon 2022 — Java Microservices

Distributed micro-services using Spring Cloud — Service Discovery — Part 2

Java —  The Introduction & History

Supersonic Java AWS Lambdas using Quarkus