Skip to content

Parallel partition ingest by contract #83

@Miracle656

Description

@Miracle656

Background

Sequential ingest underutilizes the DB. Partition by contract for parallel batches.

What to build

A worker pool sharded by contractId % N, each consuming events independently.

Key files

  • src/indexer/parallel.ts (new)

Acceptance criteria

  • Throughput 3× current
  • No ordering violations within a partition

Drips Wave · Complexity: Advanced · 200 points

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions