DO NOT MERGE!: feat(spider-storage): Cache-layer prototyping.#287
DO NOT MERGE!: feat(spider-storage): Cache-layer prototyping.#287LinZhihao-723 wants to merge 10 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can enforce grammar and style rules using `languagetool`.Configure the |
Description
This PR should NOT be merged!
This PR contains the prototype of the cache layer implementation.
The core infra, including the task graph and job control, is implemented manually with a carefully designed locking protocol.
The factory function, which converts a serialized task graph into a job control, is implemented by AI.
The testing infra is implemented by AI, which provides a simulated scheduler system to test the correctness of the cache behavior, as long as collecting latency stats in terms of task instance registration and result writeback.
Run tests with the following command to show the stats:
cargo test -p spider-storage --lib --release -- --nocaptureChecklist
breaking change.
Validation performed