01. 리더보드의 특성과 기능 요구사항
- 수치화를 하여 빠르게 대상 순위를 보여주는 정보
- 대상을 가지고 숫자로 정렬할 때 사용이 빈번하게 됨
- 여기서 중요한 것은 빠르게 구성요소를 이뤄져야 한다는 것.
- update가 빈번하게 이뤄진다.
- Rank라는 레코드가 있다고 생각했을 때,
- 하나의 score가 변경되더라도 모든 순위를 다시 계산해야 된다는 점에서 속도가 느리다.
따라서 Redis를 사용하면 좋다..!
- 사용자가 많은 website일 때 순위를 계산하는 BEST 같은 페이지에서 사용하면 좋다.