Chapter 4. Transports
This chapter covers
- OIO—blocking transport
- NIO—asynchronous transport
- Local transport—asynchronous communications within a JVM
- Embedded transport—testing your ChannelHandlers
The data that flows through a network always has the same type: bytes. How these bytes are moved around depends mostly on what we refer to as the network transport, a concept that helps us to abstract away the underlying mechanics of data transfer. Users don’t care about the details; they just want to be certain that their bytes are reliably sent and received.
If you have experience with network programming in Java, you may have discovered at some point that you needed to support a great many more concurrent connections than expected. If you ...
Get Netty in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.