Florescence [WIP]
An experimental library for hybrid Raft and CRDT primitives.
The following is all a demo of what the library will look like and is not implement yet aside from type system sketches.
Example 1: Rate Limiting
// Start up the Flower
let flower = builder
.engine
.bloom.await?;
// Attach various pollinators
let rate_limiter = flower.;
// Kick off leaky-bucket background job
spawn
// on Request, do a fully local lookup
Example 2: Ratcheting
License
Licensed under either of:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
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.