aplbrain / aplbrain/bossphorus

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

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Rust
Star
1
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.