#mesh #grpc #cluster #rapid #membership

blip

A crate for writing fast and highly resilient in-process gRPC service meshes

16 releases

0.2.0 Dec 1, 2020
0.1.1 Sep 6, 2020
0.1.0 Jul 23, 2020
0.1.0-alpha.11 Jun 27, 2020
0.1.0-alpha.6 Mar 9, 2020

#18 in #mesh

Download history 20/week @ 2021-04-08 23/week @ 2021-04-15 42/week @ 2021-04-22 2/week @ 2021-04-29 16/week @ 2021-05-13 1/week @ 2021-06-03 16/week @ 2021-06-10 1/week @ 2021-06-17 1/week @ 2021-06-24 65/week @ 2021-07-15

65 downloads per month

MIT/Apache

120KB
2.5K SLoC

logo

Docs.rs Crates.io Crates.io Apache-2.0 OR MIT

A crate for writing fast and highly resilient in-process gRPC service meshes.

Overview

blip provides an implementation of distributed membership based on rapid, exposed as a gRPC service. Groups of servers become aware of each other through the membership protocol, and any given member may expose its own metadata or linked services through the same backing gRPC server.

In essence, this crate provides a membership list with strong consistency semantics (as opposed to weakly consistent protocols like SWIM), distributed fault detection, and grpc routing.

Service Discovery

blip is designed to build heterogenous meshes. As such, members may expose arbitrary (immutable) key-value metadata when they join a mesh, which can be used for the purpose of service discovery.

Sharding and State

blip does not enforce any invariants with regard to state held by members of a mesh. For maximal flexibility, state and sharding are deferred to implementations of member services.

Feature Flags

  • full: Enables all optional features.
  • cache: Enables the cache service.

References

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~18MB
~381K SLoC