Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Shared Configuration

Randgalt edited this page Oct 23, 2012 · 6 revisions

Exhibitor relies on being able to share configuration with each running instance. In the standalone version this is accomplished either by using Amazon’s S3, a shared/networked file or a separate ZooKeeper cluster. If you are integrating Exhibitor into your own application you can use one of these methods or another of your choosing (e.g. a RDBMS).

When changes to the configuration are made in the Exhibitor web application, the other instances will notice the change and act accordingly. If needed, each ZooKeeper instance will be stopped, the zoo.cfg rebuilt and ZooKeeper restarted.

S3

At Netflix we are currently using Amazon’s S3 for shared configuration. This diagram shows how it works:

File

Alternatively, you can use a shared/networked file for shared configuration:

ZooKeeper

Exhibitor supports using a dedicated ZooKeeper ensemble for storing shared configuration. That ZooKeeper ensemble can even run Exhibitor (in “standalone mode”):