Desktop version

Home arrow Computer Science arrow Microservices Flexible Software Architecture

Microservices without Reactive?

Reactive is only one way to implement a system with microservices. The traditional programming model with blocking I/O, without actors, and with synchronous calls is also suitable for this type of system. As previously discussed, resilience can be implemented via libraries. Elasticity can be achieved by starting new instances of the microservices, for instance, as virtual machines or Docker containers. Additionally, traditional applications can also communicate with each other via messages. Reactive applications have benefits for responsiveness. However, in that case it has to be guaranteed that operations really do not block. For I/O operations Reactive solutions can usually ensure that. However, a complex calculation can block the system. This may mean that no messages can be processed anymore, and the entire system is blocked. A microservice does not have to be implemented with Reactive technologies, but they are certainly an interesting alternative.

Try and Experiment

Get more information about Reactive and microservices.

  • • How exactly are the benefits achieved and implemented?
  • • Is there a Reactive extension for your preferred programming language? Which features does it offer? How does this help with implementing microservices?
< Prev   CONTENTS   Source   Next >

Related topics