Skip to content

Tiered hot/cold storage for historical data #119

Description

@Miracle656

Background

Recent data is queried constantly; old data rarely. Tiering keeps hot data fast while moving cold data to cheaper storage, transparently to API consumers.

What to build

Move partitions older than a threshold to a cold store (object storage / cheaper table), and make queries spanning the boundary transparently union hot + cold results.

Key files

  • src/storage/tiering.ts (new)
  • src/api.ts

Acceptance criteria

  • Cold data offloaded past the hot-window threshold
  • Cross-boundary queries return correct merged results
  • Tests covering boundary-spanning queries

Drips Wave · Complexity: Advanced · 200 points


Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions