Skip to main content
Build Status Code Climate

Lighthouse is a service node discovery system written in python, built with resilience, flexibility and easy-of-use in mind and inspired by Airbnb’s SmartStack solution. Out of the box it supports discovery via Zookeeper with cluster load balancing handled by an automatically configured HAProxy.

Documentation

More detailed documentation can be found on Read the Docs.

Overview

A lighthouse setup consists of three parts running locally on each node: a load balancer (as of right now only HAProxy 1.5 is supported), the lighthouse-writer script and (usually) the lighthouse-reporter script.

In a Lighthouse setup, no node’s application code is aware of the existence of other nodes, they talk to a local port handled by an instance of the load balancer which in turn routes traffice among the various known other nodes.

This local load balancer is automatically updated when nodes come and go via the lighthouse-writer script, which talks to the discovery method (e.g. Zookeeper) to keep track of which nodes on which clusters are up.

The lighthouse-reporter script likewise talks to the discovery method, it it is responsible for running health checks on any services on the local node and reports to the discovery method that the healthy services are up and the unhealthy ones are down.

Development

The code is hosted on GitHub

To file a bug or possible enhancement see the Issue Tracker, also found on GitHub.

License

(c) 2014-2015 William Glass

Lighthouse is licensed under the terms of the MIT license. See the LICENSE file for more details.

Release files for lighthouse 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lighthouse 0.9.0
File Size Uploaded
lighthouse-0.9.0.tar.gz 29.5 kB Details

Release files / lighthouse-0.9.0.tar.gz

Download URL lighthouse-0.9.0.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
867ed103db9b0c59f46cb0a653b4766492ece68eb18802a42cdc643c60c1b73a
BLAKE2b-256 checksum
How to use checksums
0154ec688f0943836058725832e42c95539cbc82474697fc4cdbb1f4fc21ad04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.0.0

1 release file

0.15.1

1 release file

0.15.0

1 release file

0.14.0

1 release file

0.13.1

1 release file

0.13.0

1 release file

0.12.0

1 release file

0.11.2

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.2

1 release file

0.9.1

1 release file

This release

0.9.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page