aplbrain / aplbrain/bossphorus

[ChunkedBloscFileDataManager] Save data to disk in a SEPARATE thread as returning data to the user

オープン
#7 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Rust
スター
1
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

Right now we perform the following data flow upon a `ChunkedBloscFileDataManager` cache miss:

1. Ask the next layer for data
2. Save the retrieved data to disk
3. Return a copy of that retrieved data

In order to improve performance and save roundtrip time on that initial request, we should perform step 2 (saving the data to disk) in parallel with returning it to the user. Or, rather, spawn a routine to save data to disk in parallel (and allow it to finish even once the HTTP request is closed).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。