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
88
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
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
360
能動的ドメイン名ライフサイクル管理のすゝめ / Practice on Active Domain Name Lifecycle Management
nttcom
0
300
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
180
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
760
20240513 - 框裡框外_文學院學生如何在AI世代安身立命 @ 淡江大學
dpys
0
500
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
3
700
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
350
OPENLOGI Company Profile
hr01
0
57k
OCI技術資料 : ファイル・ストレージ 概要
ocise
3
12k
なぜCodeceptJSを選んだか
goataka
0
200
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
340
[トレノケ雲の会 mod.13] 3回目のre:Inventで気づいたこと -CloudOperationsを添えて-
shintaro_fukatsu
0
120
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
97
17k
A designer walks into a library…
pauljervisheath
205
24k
Optimizing for Happiness
mojombo
376
70k
Building Applications with DynamoDB
mza
92
6.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
How STYLIGHT went responsive
nonsquared
96
5.2k
A Philosophy of Restraint
colly
203
16k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
The Cult of Friendly URLs
andyhume
78
6.1k
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.