Skip to content

perf: StalePresenceCleanupTask Redis round-trip 최적화 #55

@parkjuyeong0312

Description

@parkjuyeong0312

현황

StalePresenceCleanupTask는 5분 주기로 stale presence를 정리하는 백업 안전망이다.

현재 구현의 문제점:

  1. connected_users 키를 모두 Set으로 적재 후 순회
  2. 유저마다 hasKey를 개별 호출 → 네트워크 RTT가 O(rooms × users)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions