Chapter 4. Microservices Evolution – A Case Study

Like SOA, a microservices architecture can be interpreted differently by different organizations, based on the problem in hand. Unless a sizable, real world problem is examined in detail, microservices concepts are hard to understand.

This chapter will introduce BrownField Airline (BF), a fictitious budget airline, and their journey from a monolithic Passenger Sales and Service (PSS) application to a next generation microservices architecture. This chapter examines the PSS application in detail, and explains the challenges, approach, and transformation steps of a monolithic system to a microservices-based architecture, adhering to the principles and practices that were explained in the previous chapter.

The intention of this case study is to get us as close as possible to a live scenario so that the architecture concepts can be set in stone.

By the end of this chapter, you will have learned about the following:

  • A real world case for migrating monolithic systems to microservices-based ones, with the BrownField Airline's PSS application as an example
  • Various approaches and transition strategies for migrating a monolithic application to microservices
  • Designing a new futuristic microservices system to replace the PSS application using Spring Framework components

Reviewing the microservices capability model

The examples in this chapter explore the following microservices capabilities from the microservices capability model discussed in Chapter 3, Applying Microservices Concepts:

  • HTTP Listener
  • Message Listener
  • Storage Capabilities (Physical/In-Memory)
  • Business Capability Definitions
  • Service Endpoints & Communication Protocols
  • User Interfaces
  • Security Service
  • Microservice Documentation
Reviewing the microservices capability model

In Chapter 2, Building Microservices with Spring Boot, we explored all these capabilities in isolation including how to secure Spring Boot microservices. This chapter will build a comprehensive microservices example based on a real world case study.

Tip

The full source code of this chapter is available under the Chapter 4 projects in the code files.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.192.92