You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kubernetes DNS: less RBAC requirements, still require specific platform
AWS ways: require specific platform
Config: generally used for development
We do contain a platform-free method that uses Consul, but it may lack maintenance so we may need another platform-free discovery method for the cluster bootstrap, I recommend Eureka, it was very popular in Spring ECO-System and simple enough.
Comparison
The eureka/consul service discovery approach has some advantages to the platform-binding discovery approach:
flexibility: By adopting a platform-independent service discovery solution, organizations are not tied to a specific platform or technology stack. This flexibility allows them to choose the most suitable infrastructure for their needs, whether it's on-premises, in the cloud, or a hybrid environment. It also enables easy migration between different platforms without significant changes to the service discovery mechanism.
Integration Options: Both Eureka and Consul offer APIs and integration points with other tools and frameworks commonly used in the ecosystem. This allows for seamless integration with service mesh frameworks, API gateways, and other service-oriented architecture components. The ability to integrate with existing tools and frameworks simplifies the adoption process and ensures compatibility with the existing technology stack.
But it also has disadvantages to the platform-binding discovery approach:
platform-bind discovery often has built-in registration and health monitoring, but the platform-free approach needs to manually register and renew(or sending heartbeat) by the application itself. (which currently lacking in Pekko)
reliability: using an external component like Eureka or Consul introduces an additional point of failure. If the service discovery server goes down or becomes unreachable, it can disrupt the entire service ecosystem.
scalability: the platform-binding discovery approach often provides built-in scalability features, such as load balancing and auto-scaling, which are not readily available in the platform-free approach. This means that additional effort and custom implementation may be required to achieve similar scalability benefits.
In conclusion, while the platform-free approach brings challenges in terms of reliability, scalability, complexity, but it also provides flexibility and platform independence.
Therefore, it is essential to carefully evaluate the specific requirements and constraints of the architecture before deciding on the most suitable service discovery approach.
Pekko Improve Proposal: support Eureka discovery.
Motivation
AFAIK, Popular cluster discovery methods in pekko have:
ClusterRole
)We do contain a platform-free method that uses Consul, but it may lack maintenance so we may need another platform-free discovery method for the cluster bootstrap, I recommend Eureka, it was very popular in Spring ECO-System and simple enough.
Comparison
The eureka/consul service discovery approach has some advantages to the platform-binding discovery approach:
But it also has disadvantages to the platform-binding discovery approach:
In conclusion, while the platform-free approach brings challenges in terms of reliability, scalability, complexity, but it also provides flexibility and platform independence.
Therefore, it is essential to carefully evaluate the specific requirements and constraints of the architecture before deciding on the most suitable service discovery approach.
Implementation requirements
Relate works
The text was updated successfully, but these errors were encountered: