|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
etcd (or similar) for OpenBSD?
I've googled a bit, checked ports, etc. but it appears that CoreOS's etcd has not been ported to OpenBSD. Not entirely surprised since their focus is Linux.
I'm wondering if anyone knows of a similar solution for OpenBSD. What I'm really after is leader election among many nodes, without having to write my own implementation of the Paxos or RAFT algorithms. etcd solves this nicely - global namespace among all nodes, atomic compare-and-swap operations, etc. In this case, I have nodes literally around the world talking only over the public internet, so a lot of traditional local datacenter solutions don't work. etcd works perfectly...but since I have the option in this case, I was hoping to use OpenBSD. |
|
||||
etcd is written in Go. In my experience, Go works pretty well on OpenBSD, and there's a decent chance it will "just work" on OpenBSD without frills.
It looks like etcd doesn't use the standard go get, but its build instructions look fairly simple... It does require Go 1.6 (OpenBSD 5.9 comes with Go 1.5), so you'll have to wait until OpenBSD 6.0 or run a snapshot. Quote:
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thinkpad x200 or similar owners pleas help getting started | gosha | General Hardware | 1 | 14th July 2009 04:06 AM |