What Database Does the Service Center Use? What Are the Differences Between etcd and Eureka?
CSE uses the etcd- and Golang-based service center in the API server layer. Different from the Eureka that manages only dynamic routing data, the service center of CSE provides abundant management capabilities for static metadata. For example, the service center provides integrated metadata management for the application, service, and instance, service-based version and tag management to support dark launch, and service dependency records based on discovered actions.
Based on the dynamic routing data management of Eureka, the service center can manage a system with a large scale of microservices deployed, which is highly valued for large-scale enterprise-level microservice systems. In addition, the service center provides various fault-tolerance capabilities to handle faults occur during the request sent from the SDK to the service center, or from the API server to the etcd, and those occur on the etcd or network partition. With the cache design of each level of the API server, the service center provides better availability.
Therefore, compared with Eureka, not only the management capability, the service center also enhances its consistency, availability, and partition tolerance (CAP). Unlike Eureka that sacrifices consistency to ensure availability, the service center enhances all capabilities of the BASE model.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.