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
スクラムを一度諦めたチームにアジャイルコーチが入ってどう変化したか
kyamashiro73
0
140
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
1
1.1k
Everything As Code
yosuke_ai
0
490
I tried making a solo advent calendar!
zzzzico
0
130
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
2025年 山梨の技術コミュニティを振り返る
yuukis
0
150
Introduction to Bill One Development Engineer
sansan33
PRO
0
340
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
120
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
200
Master Dataグループ紹介資料
sansan33
PRO
1
4.2k
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
200
AI時代のアジャイルチームを目指して ー スクラムというコンフォートゾーンからの脱却 ー / Toward Agile Teams in the Age of AI
takaking22
9
3.4k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
A better future with KSS
kneath
240
18k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
43
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
120
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
89
Are puppies a ranking factor?
jonoalderson
0
2.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
74
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Prompt Engineering for Job Search
mfonobong
0
140
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
360
The SEO identity crisis: Don't let AI make you average
varn
0
45
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]