single_filter
Filter duplicate keys
quick start
In a distributed environment, filter a single key.
let strategy =
build_from_redis
.unwrap;
let pool = from;
let exists = pool.contain.await.unwrap;
assert_eq!;
pool.insert.await.unwrap;
let exists = pool.contain.await.unwrap;
assert_eq!;
batch
In a recommendation system, you can call the system in batches, but this method has concurrency problems for the same group.
pool.batch_contain.await.unwrap;
pool.batch_insert.await.unwrap;
expansion strategy
- set_strategy_fixed : Expand to a fixed size
- set_strategy_ladder : Use fixed policies to expand capacity
- set_strategy_function : User-defined expansion mode
other
grpc service and docker image need to be improved