Skip to content

feat: Implement background job queue for async story generation #9

Description

@ccraig09

Goal

Decouple story generation from the HTTP request-response cycle using background jobs.

Context

Story generation takes 5-10 seconds. Vercel functions have timeouts, which can cause issues for longer generations.

Tasks

  • Evaluate Inngest vs QStash for background job processing
  • Implement async story generation queue
  • Add status polling or websocket for real-time updates
  • Update UI to show generation progress

References

  • ROADMAP.md: Section 3 - AI Service Scalability

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions