Skip to content

redis: truncate the hotkey name in case of a large memory footprint #26

@kirk91

Description

@kirk91

To avoid a large memory footprint, we should truncate the hotkey name. According to experience, 100 bytes should be enough.

More details see:

image

https://github.com/samaritan-proxy/samaritan/blob/master/proc/redis/filter_hotkey.go#L48

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions