4 ms·
This is actually very cool and is something incredibly handy for managing failover/membership. What I unfortunately don't understand is that there doesn't seem
by nemothekid 13y ago
This is actually very cool and is something incredibly handy for managing failover/membership.
What I unfortunately don't understand is that there doesn't seem to be a library I can use to take advantage of this in my own application. If I have a program (in Go) am I expected to spin up my own serf process then communicate with it via socket? Is there an option for me to have serf live inside my application?
- armon 13y agoThe Serf executable is actually just a wrapper around the `serf` library. That library is designed to be embedded in Go applications. Documentation for the library is available here: http://godoc.org/github.com/hashicorp/serf/serf http://godoc.org/github.com/hashicorp/serf/serf