Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
레디스로 간단한 랭킹
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Padlet opetuksessa
matleenalaakso
12
16k
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.1k
The Art & Science of Elearning
tmiket
1
220
「機械学習と因果推論」入門 ② 回帰分析から因果分析へ
masakat0
0
710
Virtual and Augmented Reality - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
Course Review - Lecture 13 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
「機械学習と因果推論」入門 ⑤ 因果効果推定の一般化
masakat0
0
120
Case Studies and Future Research - Lecture 12 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
180
!コスパよくインターンに受かる方法!
ruribou
1
280
参加制約理論
roadofhope
0
120
モブ社員がモブエンジニアを名乗って得られたこと_20260413
masakiokuda
4
520
Portable & Reproducible Research Environments in the Age of AI Agents
denkiwakame
0
310
Featured
See All Featured
Visualization
eitanlees
152
17k
Building the Perfect Custom Keyboard
takai
2
800
Marketing to machines
jonoalderson
1
5.5k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
310
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
150
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
240
Color Theory Basics | Prateek | Gurzu
gurzu
0
370
Designing Powerful Visuals for Engaging Learning
tmiket
1
420
Agile that works and the tools we love
rasmusluckow
331
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
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"
ױ ؘఠо ܻ ऺৈ যঠ݅ ۘఊਸ ҳೡ ࣻ .
( ਬ୶ೡ ࣻ )
ױ ؘఠо ܻ ऺৈ যঠ݅ ۘఊਸ ҳೡ ࣻ .
( ਬ୶ೡ ࣻ ) ۘఊ दझమਸ ই औѱ ڣٯ ҳഅೡ ࣻ .
ױ ؘఠо ܻ ऺৈ যঠ݅ ۘఊਸ ҳೡ ࣻ .
( ਬ୶ೡ ࣻ ) ۘఊ दझమਸ ই औѱ ڣٯ ҳഅೡ ࣻ . য٣ী ॳݶ જਸө ѱ ۘఊ दझమ ঈ ࣽਤ