Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
레디스로 간단한 랭킹
Search
Han Jin-Soo
March 19, 2016
Education
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
레디스로 간단한 랭킹
sorted set을 쓰시면 됩니다
Han Jin-Soo
March 19, 2016
Other Decks in Education
See All in Education
Railsチュートリアル × 反転学習の事例紹介
yasslab
PRO
3
190k
TISSUE
pawan_pharm
0
280
Digijulkaisut
matleenalaakso
1
10k
Introduction - Lecture 1 - Web Technologies (1019888BNR)
signer
PRO
0
6.6k
Web Architectures - Lecture 2 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
批判的応用言語学ワークショップ(2026-08-12 お茶の⽔⼥⼦⼤学)
terasawat
0
210
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 3
hiola
0
6.7k
General Introduction, Composition, Chemistry & Chemical Classes, Biosources, Therapeutic uses and Commercial Application of Secondary Metabolites.
drpoonamkc
0
170
医療事務養成の専門学校でのAI教育 非エンジニアの学生にAIを1年間使ってもらって、感じたこと
naochim2026
0
140
検定資格の価値 ~実はすごいよQC検定~
bunnchinn3
0
260
人間のために、人間と共に働く時代の終わりの始まり
frievea
0
230
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
19k
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
BBQ
matthewcrist
90
10k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Git: the NoSQL Database
bkeepers
PRO
433
67k
RailsConf 2023
tenderlove
30
1.6k
How GitHub (no longer) Works
holman
316
150k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
HDC tutorial
michielstock
2
960
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Transcript
ۨ٣झ۽ рױೠ ۘఊ ٜ݅ӝ ೠࣻ
None
in-memory data structure store
https://github.com/antirez/redis-io
Cluster Connection Geo Hashes HyperLogLog Keys Lists Pub/Sub Scripting Server
Sorted Sets Strings Transactions নೠ Groupٜ
Cluster Connection Geo Hashes HyperLogLog Keys Lists Pub/Sub Scripting Server
Sorted Sets Strings Transactions নೠ Groupٜ
None
None
ؘఠ ֍ӝ 127.0.0.1:6379> zadd ranking 9999999 a (integer) 1 127.0.0.1:6379>
zadd ranking 8888888 b (integer) 1 127.0.0.1:6379> zadd ranking 7777777 c (integer) 1
ؘఠ ഛੋ 127.0.0.1:6379> zrange ranking 0 -1 withscores
ؘఠ ഛੋ 127.0.0.1:6379> zrange ranking 0 -1 withscores 1) "c"
2) "7777777" 3) "b" 4) "8888888" 5) "a" 6) "9999999"
ؘఠ ഛੋ 127.0.0.1:6379> zrank ranking a (integer) 2 127.0.0.1:6379> zrank
ranking b (integer) 1 127.0.0.1:6379> zrank ranking c (integer) 0
ؘఠ ഛੋ 1١ => 0 2١ => 1 3١ =>
2 127.0.0.1:6379> zrank ranking a (integer) 2 127.0.0.1:6379> zrank ranking b (integer) 1 127.0.0.1:6379> zrank ranking c (integer) 0
ؘఠ ഛੋ 1١ => 0 2١ => 1 3١ =>
2 127.0.0.1:6379> zrank ranking a (integer) 2 127.0.0.1:6379> zrank ranking b (integer) 1 127.0.0.1:6379> zrank ranking c (integer) 0 a b c
Q. ࣻо ઁੌ ֫ গо 1١ ೮ਵݶ જѷযਃ
Q. ࣻо ઁੌ ֫ গо 1١ ೮ਵݶ જѷযਃ 127.0.0.1:6379> zrevrank
ranking a (integer) 0 127.0.0.1:6379> zrevrank ranking b (integer) 1 127.0.0.1:6379> zrevrank ranking c (integer) 2
Q. ࣻо ઁੌ ֫ গо 1١ ೮ਵݶ જѷযਃ 127.0.0.1:6379> zrevrank
ranking a (integer) 0 127.0.0.1:6379> zrevrank ranking b (integer) 1 127.0.0.1:6379> zrevrank ranking c (integer) 2 a b c
Q. rankingী ਬ ࣻо হחؘ ۄب ١ࣻо ঌҊ रযਃ
Q. rankingী ਬ ࣻо হחؘ ۄب ١ࣻо ঌҊ रযਃ 127.0.0.1:6379>
zrangebyscore ranking 6666666 8888888 1) "c" 2) "b"
Q. rankingী ਬ ࣻо হחؘ ۄب ١ࣻо ঌҊ रযਃ 127.0.0.1:6379>
zrangebyscore ranking 6666666 8888888 1) "c" 2) "b" 127.0.0.1:6379> zrangebyscore ranking 6666666 8888888 limit 0 1 1) "c"
ױ ؘఠо ܻ ऺৈ যঠ݅ ۘఊਸ ҳೡ ࣻ .
( ਬ୶ೡ ࣻ )
ױ ؘఠо ܻ ऺৈ যঠ݅ ۘఊਸ ҳೡ ࣻ .
( ਬ୶ೡ ࣻ ) ۘఊ दझమਸ ই औѱ ڣٯ ҳഅೡ ࣻ .
ױ ؘఠо ܻ ऺৈ যঠ݅ ۘఊਸ ҳೡ ࣻ .
( ਬ୶ೡ ࣻ ) ۘఊ दझమਸ ই औѱ ڣٯ ҳഅೡ ࣻ . য٣ী ॳݶ જਸө ѱ ۘఊ दझమ ঈ ࣽਤ