litestream-read-replica-examp
hraftd
litestream-read-replica-examp | hraftd | |
---|---|---|
1 | 3 | |
- | 779 | |
- | - | |
- | 2.8 | |
- | about 2 years ago | |
Go | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
litestream-read-replica-examp
-
Let's build a distributed Postgres proof of concept
It doesn’t redirect writes but you can create read-only replicas: https://github.com/benbjohnson/litestream-read-replica-examp...
hraftd
-
A distributed systems reading list
FWIW, I built hraftd[1] many years ago to make it easy to play with a simple distributed system, but one that uses a production-grade implementation of Raft[2]. You can spin up a cluster in seconds on a single machine, kill nodes, watch a new Leader get elected, and so on.
It's written in Go, so it'll help if you are familiar with Go. But the code is not difficult to understand even if you don't.
[1] https://github.com/otoolep/hraftd
[2] https://github.com/hashicorp/raft
- Show HN: hraftd – A reference use of HashiCorp's Raft implementation
-
Let's build a distributed Postgres proof of concept
Yes, embedding any kind of store can work. For example, here is an in-memory KV store embedded in Raft:
https://github.com/otoolep/hraftd
This is kind of a reference use of Hashicorp's Raft.
What are some alternatives?
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
orioledb - OrioleDB – building a modern cloud-native storage engine (... and solving some PostgreSQL wicked problems) 🇺🇦
litestream-read-replica-example - An example of using Litestream's live read replication feature.
pgproto3
P - The P programming language.
yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.