Netflix Open Sources Their AWS Service Registry, Eureka

| by Abel Avram Follow 9 Followers on Sep 05, 2012. Estimated reading time: 1 minute |

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.

Rate this Article

Adoption Stage

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

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you