2 Exploring the microservices world with Spring Cloud

 

This chapter covers

  • Learning about Spring Cloud’s technologies
  • Understanding the principles of cloud-native applications
  • Applying the twelve-factor app best practices
  • Using Spring Cloud to build microservices

Designing, implementing, and maintaining microservices quickly become a problem if these processes are not managed correctly. When we start working with microservice solutions, it is essential to apply best practices to keep the architecture as efficient and scalable as possible to avoid performance issues, bottlenecks, or operational problems. Adhering to best practices also makes it easier for new developers to come up to speed with our systems. As we continue our discussion of microservices architectures, it’s important to keep the following in mind:

The more distributed a system is, the more places it can fail.

2.1 What is Spring Cloud?

2.1.1 Spring Cloud Config

2.1.2 Spring Cloud Service Discovery

2.1.3 Spring Cloud LoadBalancer and Resilience4j

2.1.4 Spring Cloud API Gateway

2.1.5 Spring Cloud Stream

2.1.6 Spring Cloud Sleuth

2.1.7 Spring Cloud Security

2.2 Spring Cloud by example

2.3 How to build a cloud-native microservice

2.3.1 Codebase

2.3.2 Dependencies

2.3.3 Config

2.3.4 Backing services

2.3.5 Build, release, run

2.3.6 Processes

2.3.7 Port binding

2.3.8 Concurrency

2.3.9 Disposability

2.3.10 Dev/prod parity

sitemap