Andrew McGregor
Andrew McGregor

Reputation: 34602

Something like Apache Zookeeper with no java?

Is there some library or project out there that works like Zookeeper but has no java dependency? I'm looking at putting this on an embedded linux system, and need minimal footprint... something like a megabyte or less. I have Lua, C and C++ runtimes, and could put something like NewLISP on there if I had to. Most or all of the clients will be C or C++, a nice command line utility for the benefit of shell scripts would also be useful. http://zookeeper.apache.org/

Upvotes: 20

Views: 9796

Answers (3)

youlq
youlq

Reputation: 101

Maybe check out etcd:

etcd

A highly-available key value store for shared configuration and service discovery. etcd is inspired by zookeeper and doozer, with a focus on:

  • Simple: curl'able user facing API (HTTP+JSON)
  • Secure: optional SSL client cert authentication
  • Fast: benchmarked 1000s of writes/s per instance
  • Reliable: Properly distributed using Raft

Etcd is written in go and uses the raft consensus algorithm to manage a highly availably replicated log.

See go-etcd for a native go client. Or feel free to just use curl, as in the examples below.

Upvotes: 10

3vlM33pl3
3vlM33pl3

Reputation: 547

There is Doozerd written in Go!

Upvotes: 4

sbridges
sbridges

Reputation: 25150

There is accord,

Accord is a high-performance coordination service like Apache ZooKeeper

It looks like accord is written in c.

Upvotes: 10

Related Questions