What is the difference between Vert.x and Netty?

Viewed 10789

What is the difference between Vert.x and Netty? Why should one ever prefer Netty over Vert.x?

Both of them are event-driven, non-blocking and asynchronous frameworks designed for high-load I/O.

Vert.x is based on Multi-Reactor pattern (Node's style event loop on multithreaded JVM) but Netty use Interceptor Chain Pattern. When Interceptor Chain Pattern has any benefits over Multi-Reactor pattern ?

I just have a quick look at Netty's documentation, but it seems Vert.x has some extra funcitonality over Netty. I.e. Vertx is a standalone server, it's a polyglot, provide HA and clustering out-of-the-box.

Also Vert.x has little bit better benchmarks than Netty.

P.S. Disclaimer - I appreciate Vert.x very much, and not familiar with Netty. So by asking Why should one ever prefer Netty over Vert.x? I just trying to compare both of them.

1 Answers
Related