Technologies for micro-services implementation
There are number of vendors who provides it’s own set of tools & libraries for implementing microservices-
Vendors and their services:
- Netflix
- Spring Cloud
- Apache (Zookeeper License)
- Hashicorp
Vendor wise services:
Netflix-
- Netflix Eureka- Service registration and discovery
- Netflix Ribbon – Dynamic Routing and load balancer
- Netflix Zuul -Edge/Proxy/Gateway server
- Netflix feign – REST Client
- Netflix Hystrix – Circuit Breaker
Use-case wise services –
Gateway – One is the Eureka and other is Spring cloud Gateway
Configuration management – for distributed configuration management etcd , vault /consul ,
Experience in use of micro-services technologies:(Story)
- In the first organisation i was using zookeeper(for service discovery)
- In the current used hashicorp (vault) – for key value store and consul for networking and services discovery
Spring cloud :
What is Eureka and how does service discovery work?
Sample Answer:
Eureka is Spring Cloud’s service discovery component. Each microservice registers itself with the Eureka server on startup and periodically sends heartbeats. Clients (or the API Gateway) query the Eureka server to discover other service instances. This enables load-balanced service-to-service communication without hardcoding hostnames.