Transmogrifier: Java NIO and Non-Blocking IO

Transmogrifier: Java NIO and Non-Blocking IO

Mini-Course on how non-blocking network communication is done in Java

MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 23 Lessons (2h 29m) | Size: 4.82 GB


Java.NIO has been with us since Java 1.4. Yep, that’s over 15 years ago! And you still don’t know how it works?

No worries, we’re here to help ?

In this mini-course, we start by learning how the “old” Java.IO works by writing three different servers.

We then move over to Java.NIO, which stands for “New IO”, not as most people think “Non-blocking IO”. Our first example uses a blocking Java.NIO server, to show this.

We then write a polling non-blocking Java.NIO server, which consumes a lot of CPU, but is able to support more sockets than the blocking varieties.

Finally, we write two slightly different non-blocking servers using the Selector to react to events that might happen on our sockets.

This mini-course is designed for you to code along. By the end, you should have a working understanding of how to communicate over sockets in a blocking and non-blocking fashion.

Transmogrifier: Java NIO and Non-Blocking IO

此内容仅限VIP查看,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/6258.html

赞 (0)
steven的头像steven
上一篇 2021年4月24日
下一篇 2021年4月24日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部