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 Bot
Search
evanpurnama
November 02, 2018
Technology
1
82
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
960
CI, Django, Rails
evnpr
1
140
Other Decks in Technology
See All in Technology
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
7
3.4k
.NET Profiler in 2024.
kkamegawa
2
760
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
4
37k
Gradle Build Scanを使ってビルドのことを知ろう potatotips #87
tomorrowkey
2
150
ルーターでプレゼンする
puhitaku
1
3.1k
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
4
600
2024春 注目のWeb系 OSS & SaaS 3選
makies
0
170
推しは推せるときに推せ! プロダクトにフィードバックしていこう
nakasho
0
440
データベース02: データベースの概念
trycycle
0
170
JSON攻略法.pdf
miyakemito
8
5.2k
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
140
One engineer company with Ruby on Rails
rstankov
2
400
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Design by the Numbers
sachag
274
18k
Typedesign – Prime Four
hannesfritz
36
2.1k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Code Review Best Practice
trishagee
56
15k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
79
43k
The Power of CSS Pseudo Elements
geoffreycrofte
61
5k
Being A Developer After 40
akosma
66
580k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
222
21k
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.