Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Vertx and Spring Boot [closed]

Vertx and Spring both can be used to build entire REST application with many features like metrics calculation, monitoring via JMX etx.

a) What is the difference between Spring Boot and Vertx?

b) I stumbled upon an article: http://keaplogik.blogspot.in/2015/11/spring-boot-vertx-microservice-tech.html.
It describes a techstack that mixes both vertx and Spring Boot, but being new to both have not been able to figure out the usage in the mentioned link.

I am currently working on a REST application project, so I wanted to pick the correct stack before diving in. Thanks in advance.

like image 755
Dipesh Gupta Avatar asked Feb 21 '16 04:02

Dipesh Gupta


People also ask

What is Vertx used for?

x website (vertx.io) says, “Eclipse Vert. x is a toolkit for building reactive applications on the JVM.” It is event-driven, single-threaded, and non-blocking, which means you can handle many concurrent apps with a small number of threads. (If you know how the Node. js event loop works, Vert.

Why is Vertx so fast?

Because Vert. x is fundamentally asynchronous and can therefore scale pretty well out-of-the-box, there isn't a whole lot of multi-threading going on in its internals. This makes the system extremely efficient by removing much of the thread synchronization overhead which is a performance killer in so many other tools.

What is Spring Boot used for?

Spring Boot helps developers create applications that just run. Specifically, it lets you create standalone applications that run on their own, without relying on an external web server, by embedding a web server such as Tomcat or Netty into your app during the initialization process.

Is Vert x Better Than Spring Framework?

But Spring Framework isn’t known for its performance. Vert.x, on the other hand, is considered as one of the top-performing JVM frameworks. So it’s expected that Vert.x would outperform Spring in any benchmark. But that’s not the case.

What is Vert X?

What is Vert.x? It is event driven and non blocking application framework. This means your app can handle a lot of concurrency using a small number of kernel threads. It lets your app scale with minimal hardware. Need advice about which tool to choose? Ask the StackShare community! What companies use Spring Boot? What companies use Vert.x?

What is Spring Boot?

Spring Boot: Create Spring-powered, production-grade applications and services with absolute minimum fuss. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss.

What is the difference between Spring Boot and Laravel?

Laravel is lighter weight. Spring Boot quickly becomes a handful, as you'll be downloading hundreds of megabytes in dependencies for a few functions and a dynamic dependency there. There are multiple problems that are solved by "download and put it on your classpath by whatever means.


1 Answers

There is no correct (or incorrect) stacks, just stacks that fits your needs or not. In that case, either one is good. My personal preference goes for vertx, but you should try both and make your own opinion.

Both documentation is good, so take few hours on each, experiment, and choose based on your own experience.

like image 154
cdelmas Avatar answered Oct 30 '22 16:10

cdelmas