Consider adding non-primitive API operations
還沒有人認領這個 Issue。
評估
研究方向
從目前的 API 文件和 kernelci/cli/show.py 開始,以了解基本呼叫和高成本的擷取模式。該 issue 需要在實作前明確具體的操作和範圍;完成的標準是提供一個已定義的非基本 API 操作,在單一請求中擷取所需資料。
由索引模型根據 Issue 內容生成。
描述
My understanding is that the current API contains a set of primitive operations that more or less match 1-to-1 to database queries.
Some typical use cases that could be rather frequent, such as the kci show results tool, perform a potentially large number of individual API queries to extract a whole set of data. Accessing this data directly from the database must be almost instantaneous but doing so through primitive API calls takes a non-practical amount of time.
Suggestion: implement an extended set of non-primitive API operations that can do this kind of complex data retrieval in a single query. Any internal query complexities, data post-processing and formatting can be abstracted in the API.
This has two important benefits: 1) it'll make possible to do certain operations that currently are not practical to do due to the large number of queries required, 2) while these operations will be more computationally expensive, they should greatly reduce the query requests processing overhead. The net result should be favorable to the "single-complex-query" approach.
- 主要語言
- Python
- 星號
- 10
- 分支
- 22
- 平均合併
- 22 分鐘
- 30 天內合併 PR
- 1
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
kernelci/kernelci-api 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 45/100
kernelci/kernelci-api#706 ·
-
Components/Maestro/API/Local instance says GET /latest/ should return some JSON, but it doesn't可能重新可做 關聯的 PR 已關閉且未合併。 未關閉documentation
難度 3/5 1-2 天 新手友好度 35/100
kernelci/kernelci-api#632 · 1 則留言 ·
-
難度 5/5 一週以上 新手友好度 20/100
kernelci/kernelci-api#629 ·
-
難度 4/5 3-5 天 新手友好度 35/100
kernelci/kernelci-api#608 ·
-
password creation: non-fatal bcript error output可能已有人在做 @Hao-Chen2337 於 13 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 35/100
kernelci/kernelci-api#597 · 2 則留言 ·
查看 kernelci/kernelci-api 的全部 Issue
相似的 Issue
-
Uninstall guide omits the CloudWatch log groups AWS CodeBuild creates for useCodeBuild pipelines未關閉bug documentation
難度 1/5 1-3 小時 新手友好度 88/100
awslabs/visual-asset-management-system#552 ·
維護者通常 1 天內回覆
-
netbox status: needs triage type: documentation
難度 1/5 1 小時以內 新手友好度 76/100
netbox-community/netbox#23460 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
awslabs/threat-composer#362 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
ansys/pyansys-common-mcp#213 ·
維護者通常 3 天內回覆