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
既存アプリの延命も,最新技術での新規開発も:WebSphereの最新情報
ktgrryt
0
150
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
110
AI時代のIssue駆動開発のススメ
moongift
PRO
0
130
Phase02_AI座学_応用
overflowinc
0
2.5k
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
210
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
4
13k
20260320_JaSST26_Tokyo_登壇資料.pdf
mura_shin
0
110
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
200
AlloyDB 奮闘記
hatappi
0
200
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
1.1k
Astro Islandsの 内部実装を 「日本で一番わかりやすく」 ざっくり解説!
knj
0
230
Visional 28新卒プロダクト職(エンジニア/デザイナー)向け 会社説明資料 / Visional Company Briefing for Newgrads 28
visional_engineering_and_design
1
130
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
290
Game over? The fight for quality and originality in the time of robots
wayneb77
1
140
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
330
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
200
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Are puppies a ranking factor?
jonoalderson
1
3.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
790
The Curious Case for Waylosing
cassininazir
0
270
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]