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
Build Scalable Chat Platform That Scalable with...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
evanpurnama
November 02, 2018
Technology
98
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Build Scalable Chat Platform That Scalable with Bot
Build Scalable Chat Platform That Scalable with Bot
evanpurnama
November 02, 2018
More Decks by evanpurnama
See All by evanpurnama
Build Your Own AI-Compatible Chat Using Qiscus Chat SDK
evnpr
0
150
Lessons Learned: ~ 2 years on RoR
evnpr
0
2.1k
open qiscus [obsolette, when qiscus is still Slack-like app]
evnpr
0
130
Scaling Rails with RabbitMQ and Memcached
evnpr
2
990
CI, Django, Rails
evnpr
1
160
Other Decks in Technology
See All in Technology
なぜ、あなたのエージェントは言うことを聞かないのか
segavvy
1
630
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
110
実践が先生だった— 新卒サーバーエンジニア1年目のリアル
mixi_engineers
PRO
0
230
歴史から理解するクラウドインフラのしくみ
kizawa2020
1
200
システム監視を 「システムを監視するだけ」で 終わらせないために
seiud
0
160
セキュリティ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
32
28k
plamo-3-translateの開発
pfn
PRO
0
250
オートロックマンションなのに、各部屋は施錠なし!? 攻撃者が組織内ネットワークで大暴れする理由 / The Front Door Is Locked, but the Rooms Are Wide Open: Why Attackers Move Freely Inside Enterprise Networks
nttcom
0
1.3k
ウォーターフォール開発案件のPMとしてAI活用を模索している話
hatahata021
3
260
データエンジニアこそ組織のオントロジーに向き合うべき — 問いに答えるAIから、事業を動かすAIへ
gappy50
7
3.1k
Amazon Bedrock Managed Knowledge BaseDive Deep
ren8k
0
340
信頼できるテスティングAIをどう育てるか?
odan611
0
180
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
440
So, you think you're a good person
axbom
PRO
2
2.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
650
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
How to Talk to Developers About Accessibility
jct
2
470
Color Theory Basics | Prateek | Gurzu
gurzu
0
400
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
340
The Spectacular Lies of Maps
axbom
PRO
1
880
My Coaching Mixtape
mlcsv
0
190
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
380
Paper Plane (Part 1)
katiecoart
PRO
1
10k
Transcript
Build Reliable and Scalable Chat Platform that Bot Compatible by
Evan Purnama (CTO, Qiscus)
What is Qiscus? We are a startup that help companies
to enable conversations in their apps. #EnablingConversations
What is Qiscus? #EnablingConversations
Our Customers … and 100+ more apps already registered in
our system ~ 6 millions chat users (on our cloud server) #EnablingConversations
Use cases ◦ Connect user to user (doctor to patient,
student to teacher) ◦ Connect between user to admin/agent (customer services) ◦ Connect between user to bot engine (chatbot) ◦ Create alternative of internal messaging (create WA-like App) #EnablingConversations
Some of tech that we are using #EnablingConversations
Chat System That Reliable and Scalable
Reliability #EnablingConversations
Uptime ◦ Measure of system reliability ◦ Service Level Agreement
(SLA) #EnablingConversations
Uptime #EnablingConversations
Uptime #EnablingConversations > 99.9 %
None
Scalability #EnablingConversations
Architecture & Infrastructure #EnablingConversations Frontend / Client Side Backend /
Web Server / Middleware DB General IT System
Architecture & Infrastructure #EnablingConversations Frontend / Client Side Backend /
Web Server / Middleware DB General IT System
Scalable General IT System #EnablingConversations Load Balancer
Scalable General IT System : Frontend #EnablingConversations Content Delivery Network
(CDN)
Scalable General IT System : Frontend #EnablingConversations Server Side Rendering
Scalable General IT System : Frontend #EnablingConversations Lazy Load Data
Scalable General IT System : Backend #EnablingConversations
Scalable General IT System : Backend #EnablingConversations
Scalable General IT System : Database #EnablingConversations Optimise Query and
Indexing
Scalable General IT System : Database #EnablingConversations DB DB Vertical
Scaling
Scalable General IT System : Database #EnablingConversations Caching Backend /
Web Server / Middleware DB Cache
Scalable General IT System : Database #EnablingConversations Caching
Scalable General IT System : Database #EnablingConversations DB DB Horisontal
Scaling DB DB
Scalable General IT System : Database #EnablingConversations Horisontal Scaling :
Master / Slave
Scalable General IT System : Database #EnablingConversations Horisontal Scaling :
Sharding
Scalable General IT System : Database #EnablingConversations Scaling Write (?)
Backend / Web Server / Middleware DB
Scalable General IT System : Database #EnablingConversations Throttle / Queue
Backend / Web Server / Middleware DB PubSub
Scalable General IT System : Database #EnablingConversations Distributed Database
Scalable General IT System : Database #EnablingConversations Distributed Database
Realtime Communication System #EnablingConversations Frontend / Client Side Backend /
Web Server / Middleware DB Realtime Server Architecture & Infrastructure
#EnablingConversations Realtime Server Scaling Realtime Server
#EnablingConversations Load Balancer Scaling Realtime Server RealTime Server RealTime Server
RealTime Server
#EnablingConversations Load Balancer Scaling Realtime Server RealTime Server RealTime Server
RealTime Server
#EnablingConversations Scaling Realtime Server “DNS” Load Balancer RealTime Server RealTime
Server RealTime Server Shared Memory
#EnablingConversations Scaling Realtime Server “DNS” Load Balancer Distributed Realtime Server
#EnablingConversations Scaling Realtime Server
#EnablingConversations Scaling Realtime Server Cluster
#EnablingConversations Scaling Realtime Server 10 MILLION CONCURRENT USERS
None
Chat System That Bot Compatible
Chatbot #EnablingConversations
#EnablingConversations And lot more …
#EnablingConversations How Chatbot Works Request Response
#EnablingConversations How Chatbot Works Response Instance AI Engine Request
#EnablingConversations How Chatbot Works Request Response Middleware AI Engine Response
Request
#EnablingConversations How Chatbot Works Chat Platform Response Request Response Request
#EnablingConversations How Chatbot Works Chat Platform Response Request Response Middleware
AI Engine Request Webhook Post Message Server API
#EnablingConversations Chat Platform Must Have Chat Platform Input Trigger Webhook
Post Message Server API
#EnablingConversations Chat Platform Nice to Have Chat Platform Typing API
Read API Various event API
#EnablingConversations Chat Platform Nice to Have
#EnablingConversations Chat Platform Nice to Have
Build a Scalable Chat Platform That Compatible with Bot Is
NOT Easy
Make it easier
#EnablingConversations By Using
We are hiring! Especially Backend, SRE Engineers, and Mobile Developers
Contact Me :
[email protected]
Thank you. Let’s have a conversation.