Reputation: 535
I am POCing a Spring Cloud based implementation. I have a Eureka registry with a Node based edge service. The Node service uses a Prana side car to resolve registered services on Eureka as well as register the Node service. What is the best practice for resolving the edge service? I read about Zuul. Is that the right approach? Or should it be hosted on a gateway like WSO2? Also, if the edge services are a cluster then what is the system layout that is commonly used? Any pointers would be greatly appreciated.
Upvotes: 3
Views: 1077
Reputation: 1421
It depends on your actual needs. I recommend using Zuul on your edge if you need a lot of control over your routing, loadbalance, filter logic etc or you are running your own stack and/or you don't have access to dynamic loadbalancers.
We are currently running multiple Zuul instances on AWS behind ELB, they are invoked in a round robin fashion and the requests are routed to the appropriate service based on numerous factors (metadata, path, variables). We haven't had any issues with performance so far.
Upvotes: 1