Ravat Tailor
Ravat Tailor

Reputation: 1263

Spring boot or Vertx or any other framework for reactive micro-service development

I want to convert my monolith application to microservices because it is more in size and all the modules are tightly coupled in the same. I went through many documents but still not able to figure it out which framework should I use.

My Use cases:-

Here some finding from me about framework benchmarking

Upvotes: 1

Views: 6572

Answers (2)

Armen Arzumanyan
Armen Arzumanyan

Reputation: 2053

Both technologies are fine. You can choose Spring Cloud and also use vert.x. Spring boot also support reactive programming. You can have servlet based microservices and netty based microservices, based on your needs.

I have example integrated vertx and spring boot together

https://github.com/armdev/reactive-web

But my suggestion is to start from Spring boot/cloud. Dont make complexity from the first! Start with Spring cloud and docker/compose.

Upvotes: 0

JArgente
JArgente

Reputation: 2297

There are many ways to design a microservices architecture, the only constraint is to have two or more independent applications that communicates each other. Having this in mind you probably have to consider more questions appart form the size of the artifacts.

  • The whole system must be highly available, resilient and scalable? perhaps the best option would be a reactive architecture based in message communication for example lagom

  • If you are confortable with rest/synchronouns communication between services, you could use spring boot applications communicated over http calls using probably some king of circuit breaker library.

  • If you want more lightweight artifacts and faster to run micronauts is a good option.

There are many other frameworks that can help to develop your architecture but the most important thing is discover the real requirements of the application to better chose among them.

Upvotes: 1

Related Questions