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
94
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
140
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
980
CI, Django, Rails
evnpr
1
150
Other Decks in Technology
See All in Technology
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
130
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
59k
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
180
Digitization部 紹介資料
sansan33
PRO
1
6.4k
スクラムを一度諦めたチームにアジャイルコーチが入ってどう変化したか
kyamashiro73
0
180
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
160
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
130
サラリーマンソフトウェアエンジニアのキャリア
yuheinakasaka
3
440
AI: The stuff that nobody shows you
jnunemaker
PRO
1
150
2025年 山梨の技術コミュニティを振り返る
yuukis
0
150
Qiita Bash アドカレ LT #1
okaru
0
170
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
330
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
40
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
What's in a price? How to price your products and services
michaelherold
246
13k
Heart Work Chapter 1 - Part 1
lfama
PRO
4
35k
エンジニアに許された特別な時間の終わり
watany
106
220k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
2
3.8k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
0
1k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
110
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
120
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
690
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.