Skip to content

ENHANCEMENT: Replace blocking key info commands #244

@ArgusLi

Description

@ArgusLi

Problem

In apps/server/src/keys-browser.ts the element commands used are blocking commands. While Hash and Set key types have been updated to use Scan style commands instead, upgrading the remaining commands would lead to a performance improvement on the monitored nodes.

Solution

Upgrade the following element commands

Key Type Old Command New Command Type
List LRANGE   Pagination
Zset ZRANGE ZRANGE ... BYSCORE ... BYLEX Pagination with same score de-duplication
Stream XRANGE   Pagination
rejson-rl JSON.GET   Split based on if JSON is object or array

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions