Microservices examples
There is no one size fits all approach when implementing microservices. In this section, different examples are analyzed to crystalize the microservices concept.
An example of a holiday portal
In the first example, we will review a holiday portal--Fly By Points
. Fly By Points
collects points that are accumulated when a customer books a hotel, flight, or car through their online website. When a customer logs in to the Fly By Points
website, they will be able to see the points accumulated, personalized offers that can be availed by redeeming the points, and upcoming trips, if any:
Let's assume that the preceding page is the home page after login. There are 2
upcoming trips for Jeo
, 4
personalized offers, and 21123
points. When the user clicks on each of the boxes, details will be queried and displayed.
Holiday portal has a Java, Spring-based traditional monolithic application architecture, as follows:
As shown in the preceding diagram, Holiday portal's architecture is web...