Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microservice pattern: Server-side service discovery #2686

Open
iluwatar opened this issue Oct 15, 2023 · 7 comments
Open

Microservice pattern: Server-side service discovery #2686

iluwatar opened this issue Oct 15, 2023 · 7 comments

Comments

@iluwatar
Copy link
Owner

iluwatar commented Oct 15, 2023

Description

Implement the Server-Side Service Discovery design pattern for the project. This pattern helps in dynamically locating services within a microservices architecture, enhancing the system's scalability and flexibility.

Main Elements of the Pattern:

  1. Service Registry: A central repository that holds the network locations of service instances.
  2. Service Provider: Services register their instances with the service registry.
  3. Service Consumer: Consumers query the service registry to find available service instances.
  4. Load Balancer: Directs service requests to available service instances based on a load-balancing strategy.
  5. Health Check: Ensures that only healthy service instances are registered and available for service discovery.

References

Acceptance Criteria

  1. Service Registry Setup: Implement a service registry (e.g., Eureka, Consul) to manage the dynamic locations of service instances.
  2. Service Registration and Discovery: Ensure that services can register themselves with the service registry and that consumers can discover these services.
  3. Load Balancing and Health Checks: Integrate load balancing and health checks to maintain the availability and reliability of the service instances.
@lokytech5
Copy link

can you assign me this

@lokytech5
Copy link

lokytech5 commented Oct 19, 2023

Please specify if I can use Spring Boot to implement the design or core Java.

@iluwatar
Copy link
Owner Author

Yes, Spring Boot can be used. It has been used in some other patterns as well.

@lokytech5
Copy link

currently on it

Copy link

stale bot commented Dec 22, 2023

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.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Dec 22, 2023
@stale stale bot removed the status: stale issues and pull requests that have not had recent interaction label Mar 24, 2024
@iluwatar iluwatar moved this from In Progress to Todo in Java Design Patterns project Mar 24, 2024
@ankurnotwarikoo
Copy link

How do you plan to implement this ?
What all microservices do you want to discover can I get a gist of those ?

@iluwatar
Copy link
Owner Author

iluwatar commented Jun 6, 2024

The issue is currently unassigned. We are open for proposals 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants