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
看 KKBOX 怎麼走通知這條路 @ COSCUP 2018
Search
Hash Lin
August 14, 2018
Technology
2
660
看 KKBOX 怎麼走通知這條路 @ COSCUP 2018
小小的鈴鐺按鈕背後隱藏了許多的秘密,分享 KKBOX 怎麼建構通知中心的大小事。
KKBOX 如何透過 Redis 來建構通知中心
Hash Lin
August 14, 2018
Tweet
Share
More Decks by Hash Lin
See All by Hash Lin
如何在微服務系統架構上導入 CI/CD
hashman
1
150
MOPCON 2019 資訊組工作方法
hashman
0
410
單體式服務邁向微服務 @ MOPCON 2019
hashman
3
1.9k
Other Decks in Technology
See All in Technology
これまでのネットワーク運用を変えるかもしれないアプデをおさらい
hatahata021
4
230
Kusakabe_面白いダッシュボードの表現方法
ykka
0
350
20260114_データ横丁 新年LT大会:2026年の抱負
taromatsui_cccmkhd
0
350
持続可能な開発のためのミニマリズム
sansantech
PRO
3
360
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
63k
AWS監視を「もっと楽する」ために
uechishingo
0
150
Databricks Free Edition講座 データエンジニアリング編
taka_aki
0
2.7k
Databricks Free Editionで始めるLakeflow SDP
taka_aki
0
150
Digitization部 紹介資料
sansan33
PRO
1
6.6k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
WebDriver BiDi 2025年のふりかえり
yotahada3
1
380
Models vs Bounded Contexts for Domain Modularizati...
ewolff
0
210
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
220
Designing for humans not robots
tammielis
254
26k
Odyssey Design
rkendrick25
PRO
0
470
Abbi's Birthday
coloredviolet
0
4.4k
Designing Experiences People Love
moore
143
24k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Unsuck your backbone
ammeep
671
58k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
610
The Mindset for Success: Future Career Progression
greggifford
PRO
0
220
The SEO Collaboration Effect
kristinabergwall1
0
330
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
44
Transcript
This presentation is provided on a strictly private and confidential
basis for information purposes only. 看 KKBOX 怎麼走 通知中心這條路 presented by Hash Lin 2018/08/02
Who am I • KKBOX Product Platform Develop Devision(PPDD) Programmer
• Full-Stack Programmer • Love Community, PHP, Open Source
Agenda • What’s Notification Center • How we use Notification
Center • Case study
What’s Notification Center • Announcement • New Release • Listen-with
Artist online • Subscritpion • Billing Announcement • ...
Notification Center history • MySQL • more… more… more… ◦
Kind of message ◦ Users ◦ Faster
Why Redis • Flexible Data Structure • Some powerful command
◦ INCR ◦ ZADD ◦ LPUSH ◦ ZREVRANGE ◦ … • Twitter
Data Structure
Redis Replication Structure
Monitor
Monitor
Case 1. Read after write problem • Do not use
different connection when write/get the same key (Singleton) • write key ‘hash’ in master • read key ‘hash’ in slave • I can’t get key ‘hash’ in slave Orz...
Case 2. Failover bandwidth problem
Conclusion • What’s Notification Center • How we use Notification
Center • Case study
Contact me • hashman @ Github • Hash Lin @
Facebook •
[email protected]