iluwatar / java-design-patterns

Design patterns implemented in Java
https://java-design-patterns.com
Other
88.31k stars 26.21k forks source link

Microservice architecture #2665

Open iluwatar opened 8 months ago

iluwatar commented 8 months ago

Description:

The Microservice Architecture pattern structures an application as a collection of loosely coupled services. This approach enhances modularity, allowing each service to be developed, deployed, and scaled independently. Key elements of this pattern include service granularity, decentralized data management, inter-service communication, and automated deployment pipelines.

Main Elements:

  1. Service Granularity: Each microservice focuses on a specific business function.
  2. Decentralized Data Management: Each service manages its own database.
  3. Inter-Service Communication: Services interact through APIs, often using RESTful services or messaging queues.
  4. Automated Deployment: Continuous integration and deployment pipelines ensure seamless updates and maintenance.
  5. Fault Isolation: Each service is isolated to prevent system-wide failures.

References:

Acceptance Criteria:

  1. Implementation of a minimum of three microservices, each handling a distinct business function.
  2. Each microservice must have its own independent data storage solution.
  3. Demonstrate inter-service communication using RESTful APIs or messaging systems.

For additional guidelines, please refer to the project contribution guidelines.

OscarXWei commented 8 months ago

Hello @iluwatar, I am interest about it and I want to have I try. Can you assign it to me?

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.