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
670
看 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
Data Hubグループ 紹介資料
sansan33
PRO
0
2.8k
EMからICへ、二周目人材としてAI全振りのプロダクト開発で見つけた武器
yug1224
3
170
生成AI活用によるPRレビュー改善の歩み
lycorptech_jp
PRO
4
2k
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
1.6k
Eight Engineering Unit 紹介資料
sansan33
PRO
1
6.9k
Security Diaries of an Open Source IAM
ahus1
0
190
AI時代にエンジニアはどう成長すれば良いのか?
recruitengineers
PRO
1
110
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
3
170
入門DBSC
ynojima
0
130
Agentic Codingの実践とチームで導入するための工夫
lycorptech_jp
PRO
0
390
Master Dataグループ紹介資料
sansan33
PRO
1
4.4k
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
180
Featured
See All Featured
KATA
mclloyd
PRO
35
15k
My Coaching Mixtape
mlcsv
0
63
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
120
Measuring & Analyzing Core Web Vitals
bluesmoon
9
770
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
65
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
The Limits of Empathy - UXLibs8
cassininazir
1
240
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
The agentic SEO stack - context over prompts
schlessera
0
680
The Spectacular Lies of Maps
axbom
PRO
1
580
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]