Microservice pattern: Server-side service discovery
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:
- Service Registry: A central repository that holds the network locations of service instances.
- Service Provider: Services register their instances with the service registry.
- Service Consumer: Consumers query the service registry to find available service instances.
- Load Balancer: Directs service requests to available service instances based on a load-balancing strategy.
- Health Check: Ensures that only healthy service instances are registered and available for service discovery.
References
- Microservices Patterns: Service Discovery
- Spring Cloud Netflix: Service Discovery
- Project Contribution Guidelines
Acceptance Criteria
- Service Registry Setup: Implement a service registry (e.g., Eureka, Consul) to manage the dynamic locations of service instances.
- Service Registration and Discovery: Ensure that services can register themselves with the service registry and that consumers can discover these services.
- Load Balancing and Health Checks: Integrate load balancing and health checks to maintain the availability and reliability of the service instances.
can you assign me this
Please specify if I can use Spring Boot to implement the design or core Java.
Yes, Spring Boot can be used. It has been used in some other patterns as well.
currently on it
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.
How do you plan to implement this ? What all microservices do you want to discover can I get a gist of those ?
The issue is currently unassigned. We are open for proposals 😀