Search before asking
Description
Lookuper::lookup and PrefixKeyLookuper::lookup take &mut self, forcing bindings to hold a mutex across the network .await. Concurrent lookups on one instance serialize end-to-end. On the other hand Java pipelines on a single lookuper.
We can wrap encoder in parking_lot::Mutex, make lookup &self, release the lock before .await
Also align with bindings(1-5 lines wiring probably required)
Willingness to contribute
Search before asking
Description
Lookuper::lookupandPrefixKeyLookuper::lookuptake&mut self, forcing bindings to hold a mutex across the network.await. Concurrent lookups on one instance serialize end-to-end. On the other hand Java pipelines on a single lookuper.We can wrap encoder in
parking_lot::Mutex, makelookup&self, release the lock before.awaitAlso align with bindings(1-5 lines wiring probably required)
Willingness to contribute