Andre-Philippe Paquet
Andre-Philippe Paquet
When we don't need async, switch to parking_lot's primitives as they don't need to be unwrapped since they panic on poising instead. parking_lot's RWLock also allows upgrading a read lock...
Mutations should be validated when received by entities store and should return failure right away instead of pushing to data layer.
We should allow persisting / pinning query on devices on which it could be useful (ex: mobile). This would mean that we would have to have an index on device...
GRPC like calls: * Unary * Client stream * Server stream * Bidi stream Could support maddr like URL for RPC calls
Right now, key type is encoded using 2 bytes. We should use varint and also encode key size. Check https://github.com/multiformats/rust-multibase
Check for https://amanieu.github.io/parking_lot/parking_lot/struct.RwLock.html that can upgrade read lock to write