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
evanpurnama
November 02, 2018
Technology
1
87
Build Scalable Chat Platform That Scalable with Bot
Build Scalable Chat Platform That Scalable with Bot
evanpurnama
November 02, 2018
Tweet
Share
More Decks by evanpurnama
See All by evanpurnama
Build Your Own AI-Compatible Chat Using Qiscus Chat SDK
evnpr
0
130
Lessons Learned: ~ 2 years on RoR
evnpr
0
2.1k
open qiscus [obsolette, when qiscus is still Slack-like app]
evnpr
0
120
Scaling Rails with RabbitMQ and Memcached
evnpr
2
970
CI, Django, Rails
evnpr
1
150
Other Decks in Technology
See All in Technology
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
13k
強いチームと開発生産性
onk
PRO
35
11k
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
120
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
1k
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
140
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
180
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
170
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
130
Featured
See All Featured
Teambox: Starting and Learning
jrom
133
8.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Why Our Code Smells
bkeepers
PRO
334
57k
Statistics for Hackers
jakevdp
796
220k
How GitHub (no longer) Works
holman
310
140k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Embracing the Ebb and Flow
colly
84
4.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Writing Fast Ruby
sferik
627
61k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
A designer walks into a library…
pauljervisheath
204
24k
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.