Skip to content

perf: implement cursor-based pagination for the _dump endpoint #1

@ajisth69

Description

@ajisth69

The /api/_dump endpoint currently tries to fetch the entire database into memory at once. If a user stores thousands of keys, this is going to hit Vercel's serverless function memory limits and timeout. We need to refactor the dump logic to use Redis SCAN with a cursor, and update the dashboard UI to lazy-load or paginate the results as the user scrolls.

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