가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Chapter 4

Hashes, Lists, Sets, Sorted Sets, and Redis Data Structures

Use Redis as more than a string store by learning the built-in data structures that enable richer application patterns.

Inside this chapter

  1. Why Data Structures Make Redis Special
  2. Hashes
  3. Lists
  4. Sets and Sorted Sets
  5. Real Example

Series navigation

Study the chapters in order for the clearest path from Redis basics to advanced cache architecture, operations, and distributed-system design. Use the navigation at the bottom to move smoothly through the full tutorial series.

Tutorial Home

Chapter 4

Why Data Structures Make Redis Special

Redis is often called a data structure server because it supports multiple structured value types, not only plain strings. This lets developers model useful application behavior efficiently.

Chapter 4

Hashes

HSET user:42 name "Asha" email "asha@example.com"
HGET user:42 email

Hashes are useful for grouped fields such as user profiles, configuration objects, or counters per entity.

Chapter 4

Lists

LPUSH jobs "task-1"
RPOP jobs

Lists can support queue-like processing, ordered items, or activity streams.

Chapter 4

Sets and Sorted Sets

Sets are useful when uniqueness matters. Sorted sets add ordering through scores, which makes them powerful for ranking and time-based patterns.

ZADD leaderboard 1200 "player-1"
ZRANGE leaderboard 0 -1 WITHSCORES
Chapter 4

Real Example

An online game may use hashes for player profiles, sets for unlocked achievements, lists for event queues, and sorted sets for leaderboards. Redis data structures let one platform support many kinds of state efficiently.

Copyright © 2026, WithoutBook.