linera-io / linera-protocol

Main repository for the Linera protocol
Apache License 2.0
112 stars 94 forks source link

Implement multi key reading in one single requests in ScyllaDb. #2196

Closed MathieuDutSik closed 3 days ago

MathieuDutSik commented 1 week ago

Motivation

In ScyllaDb, we are currently doing the multi-key reading with a join_all which is suboptimal.

Proposal

The following was done:

The Box::pin is needed for a large stack identified by clippy. Maybe we could do that to other functions.

Test Plan

The CI was slightly updated. Note that during the development process, the Lrucache had to be disabled as it led to code passing the tests while a bug was known to be present.

Release Plan

Not relevant.

Links