BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Netflix Open Sources Their AWS Service Registry, Eureka

by Abel Avram on Sep 05, 2012 |

Netflix has open sourced yet another piece of their architecture, Eureka – a RESTful service used to locate middle tier services running within AWS regions.

Eureka comes with 2 components: Eureka Server used as a service registry, and Eureka Client, a Java client simplifying the interaction with the server and performing the role of a round-robin load balancer and providing failover support for services. Netflix uses a different client in production, one providing weighted load balancing based on traffic, resource usage, and error conditions.

Beside load balancing, a number of other open source tools use Eureka at Netflix. Asgard, a cloud deployment management tool uses Eureka for rollback and push operations. Priam uses it to take off Cassandra instances for maintenance. Evcache uses it to identify nodes. In turn, Eureka uses Archaius for configuration purposes.

When a middle tier service is first started, it registers itself with Eureka in order to be located by clients, sending heartbeats every 30 seconds. If a service does not send a heartbeat in several minutes, it is unregistered from all Eureka nodes. There can be one cluster of such nodes per Amazon region with at least one Eureka node per zone. AWS regions are isolated from each other.

Netflix touts Eureka over Amazon’s ELB saying:

AWS Elastic Load Balancer is a load balancing solution for edge services exposed to end-user web traffic. Eureka fills the need for mid-tier load balancing. While you can theoretically put your mid-tier services behind the AWS ELB, you expose them to the outside world and thereby losing all the usefulness of the AWS security groups.

Performance monitoring and alerting for Eureka is done via Servo. Netflix hints at open sourcing their production load balancing solution in the near future and better integration between Eureka and Asgard.

Netflix has recently open sourced another tool, Chaos Monkey, a trouble maker intended to take servers offline in  order to test the resiliency of AWS cloud deployments.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Congrats! by Gerard Dragoi

Yet another great tool from the Netflix guys.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT