Home » Netty

Tag Archives: Netty

The structure of Netty

Netty‘s package structure is fantastic. Every programmer should study it; every system should mimic it; every project manager should print it out, slap on a wall, and say to developers, “That.” Netty is an, “… an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients,” but that doesn’t matter here as we are ...

Read More »

Whirlpool: Microservices Using Netty And Kafka

Introduction In my last blog, I introduced Netty being used as a web server. That example worked well… as long as a broadcast server is what was needed. Most of the time that is not very useful. It’s more likely that the need is for each client to receive only the data intended for them, with broadcasts reserved for special circumstances like “The ...

Read More »

Netty: Testing encoders/decoders

I’ve been working with Netty a bit recently and having built a pipeline of encoders/decoders as described in this excellent tutorial wanted to test that the encoders and decoders were working without having to send real messages around. Luckily there is a EmbeddedChannel which makes our life very easy indeed. Let’s say we’ve got a message ‘Foo’ that we want ...

Read More »

Netty: A Different Kind of Web(Socket) Server

Netty is used today in all kinds of applications, all over the Internet, to handle thousands (if not millions) of chat conversations, multiplayer games including Minecraft, Twitter, and many other applications. However, it hasn’t made it very far into the mindshare of enterprise programmers developing business applications. I believe that Netty can introduce a new wave of functionality that other solutions ...

Read More »