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
650
看 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
130
MOPCON 2019 資訊組工作方法
hashman
0
390
單體式服務邁向微服務 @ MOPCON 2019
hashman
3
1.9k
Other Decks in Technology
See All in Technology
新規事業におけるAIリサーチの活用例
ranxxx
0
130
Semantic Machine Intelligence for Vision, Language, and Actions
keio_smilab
PRO
2
380
AI エンジニアの立場からみた、AI コーディング時代の開発の品質向上の取り組みと妄想
soh9834
5
170
AI駆動開発 with MixLeap Study【大阪支部 #3】
lycorptech_jp
PRO
0
170
Ktor + Google Cloud Tasks/PubSub におけるOTel Messaging計装の実践
sansantech
PRO
1
240
地図と生成AI
nakasho
0
680
激動の時代、新卒エンジニアはAIツールにどう向き合うか。 [LayerX Bet AI Day Countdown LT Day1 ツールの選択]
tak848
0
530
Shadow DOM & Security - Exploring the boundary between light and shadow
masatokinugawa
0
650
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
20250719_JAWS_kobe
takuyay0ne
1
160
データエンジニアリング 4年前と変わったこと、 4年前と変わらないこと
tanakarian
2
350
自分がLinc’wellで提供しているプロダクトを理解するためにやったこと
murabayashi
1
160
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
990
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Git: the NoSQL Database
bkeepers
PRO
431
65k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Designing for humans not robots
tammielis
253
25k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
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]