3 ms·
That is cool! How are you doing locking for transactions right now internally? You can use etcd from the command line with etcdctl or grab environment variable
by philips 13y ago
That is cool! How are you doing locking for transactions right now internally?
You can use etcd from the command line with etcdctl or grab environment variables for your process using etcdenv.
I would love to see someone back a DNS server with etcd too.
etcdctl: https://github.com/coreos/etcdctl https://github.com/coreos/etcdctl
etcdenv: https://github.com/mattn/etcdenv https://github.com/mattn/etcdenv
- voidmain 13y agoFoundationDB (https://foundationdb.com https://foundationdb.com) provides optimistic transactions-- the client does reads from a consistent snapshot, and then tells the database what it wants to write and what serializable reads it did, and the database figures out whether the transaction can safely commit or whether it needs to be retried. Beastmaster is just a client that sits on top of FoundationDB's transactions and fault tolerance, and adds coordination-specific things like a global clock, fair locks with timeouts, and a data model for service discovery. And then provides useful command line tools and a simple DNS and REST server. We should have it on github soon.