Skip to content

Batch Processing for Portfolio Snapshots #502

@Cedarich

Description

@Cedarich

Labels: Backend, Performance, Infrastructure
Complexity: High (200 points) ⚙️

Description

Refactor the portfolio snapshot generation to use worker threads or batch processing to handle thousands of users without blocking the main event loop.

Requirements / Context

  • Current implementation might be sequential.
  • Use BullMQ or Job queues.

Acceptance Criteria

  • Parallel snapshot generation for large user sets.
  • Progress tracking for the snapshot job.
  • Resilience: retry logic for failed individual snapshots.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions