Cache and retention controls: delete, time limits, per-tenant budgets

オープン
#103 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Start by reading the API and cache management entry points for dataset contexts, uploads, and GPU, host, and spill storage; the issue does not name specific files or tests. Map how contexts are admitted and evicted before working through delete, expiry, tenant budgets, and listing. Done means the stated deletion, expiry, and per-tenant eviction criteria pass, with a retention page documenting storage and restart behavior.

索引モデルが issue の本文から書いたものです。

説明

area/api area/memory enhancement P1 roadmap

Users can't control or see how long their data stays on the server. Today a context lives until LRU eviction, can sit in the spill tier on disk, and nothing in the API removes it. Hospitals, banks and similar users need this answered before they deploy. Prior Labs documents none of it.

Add

  • Delete: DELETE /v1/tabctx/datasets/{id} removes a context from GPU, host and spill, along with its uploaded table.
  • Time limits: a server-wide maximum age for contexts and uploads, and an optional per-fit ttl_s that can only be shorter.
  • Per-tenant budgets: a cap on cache bytes per tenant, so one tenant can't evict everyone else's contexts.
  • List: GET /v1/tabctx/datasets shows a tenant's contexts with their size, age, expiry and where each one is held (GPU, host or disk).
  • Docs: a short retention page covering what's stored, where, for how long, and what a restart does.

Accept

  • After a delete or an expiry, nothing about that context is left on GPU, in memory or on disk (tested).
  • A tenant over its budget evicts its own contexts first.

Part of #6, which also covers persistent contexts and a catalog.

主要言語
Python
スター
1
フォーク
1
平均マージ
6時間 16分
マージ済み PR(30日)
71

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

VectorInstitute/tabctx のほかの issue

VectorInstitute/tabctx の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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