Skip to content

Commit c4a3d1e

Browse files
committed
fix: update README formatting for notes and tips consistency
1 parent 0ef660b commit c4a3d1e

File tree

1 file changed

+22
-22
lines changed
  • 10-Spring Microservices/10.1-Introduction to Microservices - Monolithic vs Microservice Architecture

1 file changed

+22
-22
lines changed

10-Spring Microservices/10.1-Introduction to Microservices - Monolithic vs Microservice Architecture/README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Welcome to **Section 10.1** of the *Mastering Java + Spring Boot* course! 🚀 T
88

99
This README is designed for beginners and aspiring Java developers, providing a foundation for building microservices with **Spring Boot** in upcoming sections. Whether you’re new to Java or looking to advance your skills in REST APIs, MVC, and microservices, this guide will set you on the right path! 🖥️
1010

11-
[!NOTE]
12-
This section lays the groundwork for understanding microservices, preparing you for hands-on implementation with Spring Boot in later lectures.
11+
> [!NOTE]
12+
> This section lays the groundwork for understanding microservices, preparing you for hands-on implementation with Spring Boot in later lectures.
1313
1414
---
1515

@@ -39,8 +39,8 @@ This section lays the groundwork for understanding microservices, preparing you
3939

4040
**Microservices** are an architectural style that structures an application as a collection of **small, independent, loosely coupled services**, each designed to handle a specific **business capability** within a domain. Unlike traditional approaches where all components are bundled together, microservices break down the application into autonomous services that can be developed, deployed, and scaled separately.
4141

42-
[!TIP]
43-
Think of microservices as a team of specialized workers: each service has one job (e.g., handling payments), works independently, and communicates with others to complete the overall task (e.g., running an e-commerce platform).
42+
> [!TIP]
43+
> Think of microservices as a team of specialized workers: each service has one job (e.g., handling payments), works independently, and communicates with others to complete the overall task (e.g., running an e-commerce platform).
4444
4545
### 1.2 Key Characteristics
4646

@@ -50,8 +50,8 @@ Think of microservices as a team of specialized workers: each service has one jo
5050
- **Language-Neutral**: Each service can use a different technology stack (e.g., Java, Python, Node.js).
5151
- **Bounded Context**: Each service operates within its own domain, with clear boundaries (e.g., a payment service doesn’t handle user authentication).
5252

53-
[!IMPORTANT]
54-
Microservices are designed around **business domains**, ensuring each service aligns with a specific function, making the system modular and easier to maintain.
53+
> [!IMPORTANT]
54+
> Microservices are designed around **business domains**, ensuring each service aligns with a specific function, making the system modular and easier to maintain.
5555
5656
---
5757

@@ -68,8 +68,8 @@ A **monolithic architecture** is a traditional approach where all components of
6868
- **Unified Development and Deployment**: The entire application is built, tested, and deployed together.
6969
- **Single Scaling**: Scaling requires replicating the entire application, not individual components.
7070

71-
[!NOTE]
72-
Most applications you’ve built so far in this course (e.g., Employee Management System) are monolithic, combining views, logic, and database access into one unit.
71+
> [!NOTE]
72+
> Most applications you’ve built so far in this course (e.g., Employee Management System) are monolithic, combining views, logic, and database access into one unit.
7373
7474
### 2.2 Examples
7575

@@ -107,8 +107,8 @@ Monolithic architectures face significant limitations, especially for large and
107107
- Migrating to a new tech stack (e.g., from Java to Go) is difficult due to the large, interconnected codebase.
108108
- Adopting new frameworks or technologies requires rewriting significant portions of the app.
109109

110-
[!WARNING]
111-
Monolithic architectures are suitable for small applications but become inefficient and risky as complexity grows, leading to slower development and higher maintenance costs.
110+
> [!WARNING]
111+
> Monolithic architectures are suitable for small applications but become inefficient and risky as complexity grows, leading to slower development and higher maintenance costs.
112112
113113
---
114114

@@ -125,8 +125,8 @@ A **microservice architecture** divides an application into **small, autonomous
125125
- **Granular Scaling**: Scale only the services that need it (e.g., scale payment service during a sale).
126126
- **Fault Isolation**: A failure in one service (e.g., cart) doesn’t affect others (e.g., product catalog).
127127

128-
[!TIP]
129-
Microservices enable faster development and deployment by allowing teams to work on isolated services without affecting the entire system.
128+
> [!TIP]
129+
> Microservices enable faster development and deployment by allowing teams to work on isolated services without affecting the entire system.
130130
131131
### 3.2 Examples
132132

@@ -176,8 +176,8 @@ Microservices address the challenges of monolithic architectures with the follow
176176
- Deploy updates to individual services frequently, speeding up delivery.
177177
- Example: Push a bug fix to the product service without affecting other services.
178178

179-
[!NOTE]
180-
Companies like **Netflix**, **Amazon**, **Uber**, **Spotify**, and **PayPal** use microservices to achieve scalability, resilience, and rapid development.
179+
> [!NOTE]
180+
> Companies like **Netflix**, **Amazon**, **Uber**, **Spotify**, and **PayPal** use microservices to achieve scalability, resilience, and rapid development.
181181
182182
### 3.4 Architecture Components
183183

@@ -205,8 +205,8 @@ Microservice architectures include additional components to manage and coordinat
205205
- Each service typically has its own database to ensure independence.
206206
- Example: Product service uses MySQL, while cart service uses MongoDB.
207207

208-
[!IMPORTANT]
209-
Proper management of API gateways, service discovery, and communication is critical to ensure microservices work seamlessly in a distributed system.
208+
> [!IMPORTANT]
209+
> Proper management of API gateways, service discovery, and communication is critical to ensure microservices work seamlessly in a distributed system.
210210
211211
---
212212

@@ -226,8 +226,8 @@ The table below summarizes the key differences between monolithic and microservi
226226
| **Complexity** | Simpler for small apps, complex for large apps. | Complex setup but manageable for large, distributed apps. |
227227
| **Use Case** | Small, simple applications (e.g., basic CRUD apps). | Large, complex applications (e.g., e-commerce, social media). |
228228

229-
[!CAUTION]
230-
Microservices introduce complexity (e.g., managing distributed systems, inter-service communication). Use them only when the application’s scale and requirements justify the added overhead.
229+
> [!CAUTION]
230+
> Microservices introduce complexity (e.g., managing distributed systems, inter-service communication). Use them only when the application’s scale and requirements justify the added overhead.
231231
232232
---
233233

@@ -242,8 +242,8 @@ Microservices introduce complexity (e.g., managing distributed systems, inter-se
242242
- **Scalability**: Supports deploying services independently, aligning with microservice principles.
243243
- **Community and Ecosystem**: Extensive documentation and libraries make Spring Boot ideal for enterprise-grade microservices.
244244

245-
[!TIP]
246-
In upcoming sections, you’ll implement microservices using Spring Boot, leveraging tools like Spring Cloud to build a real-world e-commerce or social media application.
245+
> [!TIP]
246+
> In upcoming sections, you’ll implement microservices using Spring Boot, leveraging tools like Spring Cloud to build a real-world e-commerce or social media application.
247247
248248
---
249249

@@ -269,8 +269,8 @@ This section introduced the fundamentals of microservices and compared them with
269269
- [Baeldung Microservices Tutorials](https://www.baeldung.com/spring-cloud-series)
270270
- [Microservices.io](https://microservices.io/) for architectural patterns.
271271

272-
[!NOTE]
273-
Clone this repository and revisit this README as you progress through the course to reinforce your understanding of microservices.
272+
> [!NOTE]
273+
> Clone this repository and revisit this README as you progress through the course to reinforce your understanding of microservices.
274274
275275
---
276276

0 commit comments

Comments
 (0)