offload remaining db iterator initial seeks on cache miss

consume task budget on cache hit

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-18 22:56:53 +00:00 committed by strawberry
commit 98e6c81e49
16 changed files with 199 additions and 131 deletions

View file

@ -1,11 +1,7 @@
use std::{convert::AsRef, fmt::Debug, sync::Arc};
use conduwuit::{implement, Result};
use futures::{
future,
stream::{Stream, StreamExt},
TryStreamExt,
};
use futures::{future, Stream, StreamExt, TryStreamExt};
use serde::{Deserialize, Serialize};
use crate::keyval::{result_deserialize, serialize_key, KeyVal};