Chapter 1. Netty—asynchronous and event-driven

 

This chapter covers

  • Networking in Java
  • Introducing Netty
  • Netty’s core components

Suppose you’re just starting on a new mission-critical application for a large, important company. In the first meeting you learn that the system must scale up to 150,000 concurrent users with no loss of performance. All eyes are on you. What do you say?

If you can say with confidence, “Sure, no problem,” then hats off to you. But most of us would probably take a more cautious position, like: “Sounds doable.” Then, as soon as we could get to a computer, we’d search for “high performance Java networking.”

If you run this search today, among the first results you’ll see this:

Netty: Home

netty.io/

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

If you discovered Netty this way, as many have, your next steps were probably to browse the site, download the code, peruse the Javadocs and a few blogs, and start hacking. If you already had solid network programming experience, you probably made good progress; otherwise, perhaps not.

1.1. Networking in Java

1.2. Introducing Netty

1.3. Netty’s core components

1.4. Summary

sitemap