HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
sorintlab
stolon
Go2015–2026
sorintlab / stolon

stolon

PostgreSQL cloud native High Availability and more.

22Distinct people
29Mentions
0Explicit recommenders
4.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

PostgreSQL cloud native High Availability and more.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:56:20 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year29 dated mentions

Observed mentions: 2015-10-17 11:10:57 UTC to 2026-09-27 12:05:23 UTC.

02468102015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 10 mentions; 2 submissions, 8 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC312
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC211
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC1028
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC303
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC312
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC303
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC211
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC202

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
stolon - PostgreSQL cloud native High Availability stolon is a cloud native PostgreSQL manager for PostgreSQL high availability. It's cloud native because it'll let you keep an high available PostgreSQL inside your containers (kubernetes integration) but also on every other kind of infrastructure (cloud IaaS, old style infrastructures etc...) For an introduction to stolon you can also take a look at this post Features Leverages PostgreSQL streaming replication. Resilient to any kind of partitioning. While trying to keep the maximum availability, it prefers consistency over availability. kubernetes integration letting you achieve postgreSQL high availability. Uses a cluster store like etcd, consul or kubernetes API server as an high available data store and for leader election Asynchronous (default) and synchronous replication. Full cluster setup in minutes. Easy cluster administration Can do point in time recovery integrating with your preferred backup/restore tool. Standby cluster (for multi site replication and near zero downtime migration). Automatic service discovery and dynamic reconfiguration (handles postgres and stolon processes changing their addresses). Can use pg_rewind for fast instance resynchronization with current master. Architecture Stolon is composed of 3 main components keeper: it manages a PostgreSQL instance converging to the clusterview computed by the leader sentinel. sentinel: it discovers and monitors keepers and proxies and computes the optimal clusterview. proxy: the client's access point. It enforce connections to the right PostgreSQL master and forcibly closes connections to old masters. For more details and requirements see Stolon Architecture and Requirements Documentation Documentation Index Installation Stolon is available in brew. It is unofficial and not supported by the project. So check the version before installing using brew. Step to install using brew Quick start and examples Simple cluster example Kubernetes example Two (or more) nodes setup Project Status Stolon is under active development and used in different environments. Probably its on disk format (store hierarchy and key contents) will change in future to support new features. If a breaking change is needed it'll be documented in the release notes and an upgrade path will be provided. Anyway it's quite easy to reset a cluster from scratch keeping the current master instance working and without losing any data. Requirements PostgreSQL 15, 14, 13, 12, 11, 10, 9.6 etcd2 >= v2.0, etcd3 >= v3.0, consul >= v0.6 or kubernetes >= 1.8 (based on the store you're going to use) OS: currently stolon is tested on GNU/Linux (with reports of people using it also on Solaris, *BSD and Darwin) build To build stolon we usually test and support the latest two major versions of Go like in the Go release policy. make High availability Stolon tries to be resilient to any partitioning problem. The cluster view is computed by the leader sentinel and is useful to avoid data loss (one example over all avoid that old dead masters coming back are elected as the new master). There can be tons of different partitioning cases. The primary ones are covered (and in future more will be added) by various integration tests FAQ See here for a list of faq. If you have additional questions please ask. Contributing to stolon stolon is an open source project under the Apache 2.0 license, and contributions are gladly welcomed! To submit your changes please open a pull request. Contacts For general discussion about using and developing stolon, join the stolon forum For bugs and feature requests file an issue
Read the full README on GitHub

What Hacker News says

10 sources
To be honest we've not looked into Citus in any depth. My early impression of it (can't speak for the rest of the team) was that it was mostly aimed at sharding analytics workloads, but parts of the docs (e.g. https://docs.citusdata.com/en/v7.1/admin_guide/cluster_manag...) make it sound like it handles OLTP workloads too. Maybe I've been ignoring it for bad reasons! EDIT: Managing Postgres clusters is something that a lot of people are working on. Thought I'd mention two projects that have me excited right now: - Patroni https://github.com/zalando/patroni - Stolon https://github.com/sorintlab/stolon Stolon's client proxy approach in particular looks interesting, and reminds me of how people are using Envoy (https://github.com/envoyproxy/envoy), albeit as a TCP proxy rather than one that understands and can do fun stuff with the data
Read the rest
base's protocol. I wonder if we'll start to see more Envoy filters for different databases!
In PostgreSQL HA cluster failure: a post-mortem
... and client libraries would need connection details for both nodes, so they can find the new master after failover. That would be awesome, but stock Postgres only provides some of the building blocks. For past few days I've been investigating stolon [1]. Conceptually, it makes sense to me. And so far it seems to work. But it's not simple to set up and maintain. For example, for leader election it uses etcd or consul. So initially you had one service that must not go down, --now you have two! ;-) [1] https://github.com/sorintlab/stolon
In It is done, the PostgreSQL community rocks
The brilliance of open sourcing Borg (aka Kubernetes) is evident in times like these. We[0] are seeing more and more SaaS companies abstract away their dependencies on AWS or any particular cloud provider with Kubernetes. Managing stateful services is still difficult but we are starting to see paths forward [1] and the community's velocity is remarkable. K8s seems to be the wolf in sheep's clothing that will break AWS' virtual monopoly on IaaS. [0] We (gravitational.com) help companies go "multi-region" or on-prem using Kubernetes as a portable run-time. [1] Some interesting projects from this comment (https://news.ycombinator.com/item?id=13738916) * Postgres automation for Kubernetes deployments https://github.com/sorintlab/stolon * Automation for operating the Etcd cluster:https://github.com/coreos/etcd-operator * Kubernetes-native depl
Read the rest
oyment of Ceph: https://rook.io/
In Ask HN: Is S3 down?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.