Chapter 7. EventLoop and threading model

This chapter covers

  • Threading model overview
  • Event loop concept and implementation
  • Task scheduling
  • Implementation details

Simply stated, a threading model specifies key aspects of thread management in the context of an OS, programming language, framework, or application. How and when threads are created obviously has a significant impact on the execution of application code, so developers need to understand the trade-offs associated with different models. This is true whether they choose the model themselves or acquire it implicitly via the adoption of a language or framework.

In this chapter we’ll examine Netty’s threading model in detail. It’s powerful but easy to use and, as usual with Netty, ...

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.