Skip to content

[Performance] Board Card Rendering Slow - N+1 Queries on Card Properties #10

Description

@anshul23102

Description

Board rendering slow when cards have many properties. Each card triggers separate database query for properties. With 100 cards = 100+ queries.

Expected Behavior

Batch load all card properties in single query using JOIN or population.

Actual Behavior

File: src/services/board.js
Loops and queries each card: for (card of cards) { card.properties = await getProperties(card.id) }

GSSoC Points Estimate: Level 2 (Performance)

Suggested Labels

  • gssoc:approved
  • type:bug
  • severity:high
  • area:performance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions