Skip to content

098: Implement Redis-Based Queue for Payroll #30

Description

@bakarezainab

#098: Implement Redis-Based Queue for Payroll

Category: [BACKEND]
Difficulty: ● HARD
Tags: redis, bullmq, queue, asynchronous, payroll, scalability

Description

Refactor the payroll execution logic to use a Redis-based job queue (e.g., BullMQ). This ensures that large payroll runs are processed asynchronously in the background, preventing API timeouts and allowing for better load management and job retries.

Acceptance Criteria

  • Set up BullMQ worker for the payroll-processing queue.
  • Move blockchain transaction logic into background workers.
  • Implement status updates (e.g., via Socket.io) as the job progresses.
  • Add support for automatic retries on network failures.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions