SlideShare ist ein Scribd-Unternehmen logo
1 von 67
Session ID: 3322A
Company: Craftworkz
Sam Hendrickx & Michiel Vandendriessche
IBM InterConnect 2017 Conference
Creating a Highly Scalable Chatbot in a Microservices Architecture Using IBM Bluemix
Hi handsome! How are you doing
today?
Feeling great! Just visiting San
Francisco. How r u?
Not yet, we just came back from a
conference.
I’m doing fine. Any plans for tonight?
Want to go for a drink?
Yeah why not!
Awesome Michiel! Can you please
verify your identity here so I know
you’re not a creep: http://bit.ly/abc123
OMG, IT’S A BOT!
THE ERA OF BOTS
BELGIUM
FRENCH GERMAN
39%
DUTCH
1%60%
BELGIUM
NOBODY CARES
ABOUT DUTCH
LET’S BUILD IT
OURSELVES
NLP
REST
SESSION
RESPONSE
FIRST APPROACH
NLP
REST
SESSION
RESPONSE
FIRST APPROACH
NLP
REST
SESSION
RESPONSE
FIRST APPROACH
NLP
REST
SESSION
RESPONSE
FIRST APPROACH
NLP
REST
SESSION
RESPONSE
FIRST APPROACH
What can you tell me about IBM
InterConnect 2017?
InterConnect is a conference where
you can tap into the most advanced
cloud technology in the market
today!
Where is it being held?
The location of InterConnect is
Mandalay Bay, Las Vegas, NV
DAMN, IT’S NOT
SCALING!
10 USERS
10 MESSAGES
1.000 USERS
10 MESSAGES
ADD MORE
INSTANCES!
NLP
REST
SESSION
RESPONSENLP
REST
SESSION
RESPONSENLP
REST
SESSION
RESPONSE
PYTHON RUNTIMES
. . .
BOT SUFFERING
FROM AMNESIA
What can you tell me about IBM
InterConnect 2017?
InterConnect is a conference where
you can tap into the most advanced
cloud technology in the market
today!
Where is it being held?
I don’t know how to answer that
question…
NLP
REST
SESSION
RESPONSENLP
REST
SESSION
RESPONSENLP
REST
SESSION
RESPONSE
PYTHON RUNTIMES
. . .
NLP
REST
SESSION
RESPONSE
CONTEXT STORED
IN MEMORY
NLP
REST
SESSION
RESPONSENLP
REST
SESSION
RESPONSENLP
REST
SESSION
RESPONSE
PYTHON RUNTIMES
. . .
STORE SESSION
INFO IN DATABASE
NLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSE
PYTHON RUNTIMES
. . .
SESSION
COMPOSE FOR MONGODB
OUR BOT IS NOT
ON SOCIAL MEDIA!
NLP
REST
SESSION MANAGER
RESPONSE
WE DON’T WANT
TO MANAGE
CONNECTIONS HERE
ADD API MANAGER
TO ARCHITECTURE
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER
. . .
NODEJS RUNTIMES
NLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSE
PYTHON RUNTIMES
. . .
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER
. . .
NODEJS RUNTIMES
NLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSE
PYTHON RUNTIMES
. . .
SOME MESSAGES
ARE GETTING LOST!
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER
. . .
NODEJS RUNTIMES
NLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSENLP
REST
SESSION MANAGER
RESPONSE
PYTHON RUNTIMES
. . .
MESSAGE
LOSS!
QUEUEING TO
THE RESCUE!
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER
. . .
NODEJS RUNTIMES
COMPOSE FOR REDIS
NLP
SESSION MANAGER
RESPONSE
PYTHON RUNTIMES
. . .
NLP
SESSION MANAGER
RESPONSE NLP
SESSION MANAGER
RESPONSE
OUR AI NEEDS
EXTERNAL DATA!
LET’S MANAGE THOSE
CONNECTIONS!
NLP
CONNECTION MANAGER
SESSION MANAGER
RESPONSE
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER . . .
NODEJS RUNTIMES
COMPOSE FOR REDIS
PYTHON RUNTIMES
. . .
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
OOPS, THIS I/O
IS QUITE SLOW!
BEFORE
NLP
SESSION MANAGER
RESPONSE
Q
A
~ 20 ms
WITH I/O
NLP
CONNECTION MANAGER
SESSION MANAGER
RESPONSE
Q
A
~ 200 ms
10.000 USERS
10 MESSAGES
CPU USAGE
THREADS THREADS
THREADS THREADS!
CPU USAGE
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER . . .
NODEJS RUNTIMES
COMPOSE FOR REDIS
PYTHON RUNTIMES
. . .
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
RESULTS
THESE INSTANCES
SHOULD BE SCALING…
BLUEMIX AUTO-SCALING,
TAKE IT AWAY!
FINAL RESULTS
NOBODY CARES
ABOUT DUTCH
WATSON CARES!
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER . . .
NODEJS RUNTIMES
COMPOSE FOR REDIS
PYTHON RUNTIMES
. . .
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
NLP
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
SESSION
COMPOSE FOR MONGODB
API
MANAGER
API
MANAGER
API
MANAGER . . .
NODEJS RUNTIMES
COMPOSE FOR REDIS
PYTHON RUNTIMES
. . .SESSION MANAGER
RESPONSE
CONNECTION MANAGER
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
SESSION MANAGER
RESPONSE
CONNECTION MANAGER
Get Connected
@craftworkz_co
Let’s stay in touch! We can meet you in one of our offices in
Leuven or Kontich. Or we can come to you. Nothing beats a coffee
and an interesting conversation ;-)
@craftworkz
@craftworkzco
@craftworkz_co
www.craftworkz.be
Veldkant 33A, 2550 Kontich
info@craftworkz.be
+32 498 44 50 61
Headquarter
Gaston Geenslaan 11 B4
BE-3001 Leuven
LEUVEN (BE) OFFICE
Veldkant 33A
BE-2550 Kontich
ANTWERP (BE) OFFICE
Pedro de Medinalaan 81,
NL-1086 XP Amsterdam
AMSTERDAM (NL) OFFICE

Weitere ähnliche Inhalte

Andere mochten auch

Bluemix Girl's Night by Keshia - Building a custom HR application
Bluemix Girl's Night by Keshia - Building a custom HR applicationBluemix Girl's Night by Keshia - Building a custom HR application
Bluemix Girl's Night by Keshia - Building a custom HR applicationcraftworkz
 
Introduction to IBM Bluemix
Introduction to IBM BluemixIntroduction to IBM Bluemix
Introduction to IBM Bluemixcraftworkz
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixAndrew Ferrier
 
Count-Min Tree Sketch : Approximate counting for NLP tasks
Count-Min Tree Sketch : Approximate counting for NLP tasksCount-Min Tree Sketch : Approximate counting for NLP tasks
Count-Min Tree Sketch : Approximate counting for NLP tasksGuillaume Pitel
 
JHipster, modern web application development made easy
JHipster, modern web application development made easyJHipster, modern web application development made easy
JHipster, modern web application development made easyRaphaël Brugier
 
Node Summit 2016: Web App Architectures
Node Summit 2016:  Web App ArchitecturesNode Summit 2016:  Web App Architectures
Node Summit 2016: Web App ArchitecturesChris Bailey
 
Migrating your monolithic application for micro services with JHipster
Migrating your monolithic application for micro services with JHipsterMigrating your monolithic application for micro services with JHipster
Migrating your monolithic application for micro services with JHipsterLazaro Prates Junior
 
YOGA ASANA BY NEETU RANA
YOGA ASANA BY NEETU RANAYOGA ASANA BY NEETU RANA
YOGA ASANA BY NEETU RANAmeenarana781
 
Deploying JHipster Microservices
Deploying JHipster MicroservicesDeploying JHipster Microservices
Deploying JHipster MicroservicesJoe Kutner
 
Why Silicon Valley kicks Europe's butt
Why Silicon Valley kicks Europe's buttWhy Silicon Valley kicks Europe's butt
Why Silicon Valley kicks Europe's buttLoic Le Meur
 
IBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM DevOps
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceAndrew Ferrier
 
2016 06-30-deep-learning-archi
2016 06-30-deep-learning-archi2016 06-30-deep-learning-archi
2016 06-30-deep-learning-archiDaisuke Nagao
 

Andere mochten auch (18)

Bluemix Girl's Night by Keshia - Building a custom HR application
Bluemix Girl's Night by Keshia - Building a custom HR applicationBluemix Girl's Night by Keshia - Building a custom HR application
Bluemix Girl's Night by Keshia - Building a custom HR application
 
Introduction to IBM Bluemix
Introduction to IBM BluemixIntroduction to IBM Bluemix
Introduction to IBM Bluemix
 
Intro to Graph Databases
Intro to Graph DatabasesIntro to Graph Databases
Intro to Graph Databases
 
Creating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM BluemixCreating Effective Mobile Applications with IBM Bluemix
Creating Effective Mobile Applications with IBM Bluemix
 
Count-Min Tree Sketch : Approximate counting for NLP tasks
Count-Min Tree Sketch : Approximate counting for NLP tasksCount-Min Tree Sketch : Approximate counting for NLP tasks
Count-Min Tree Sketch : Approximate counting for NLP tasks
 
Hozd egyensúlyba magad a virágok rezgéseivel
Hozd egyensúlyba magad a virágok rezgéseivelHozd egyensúlyba magad a virágok rezgéseivel
Hozd egyensúlyba magad a virágok rezgéseivel
 
Case study haad operating model improvement model
Case study  haad operating model improvement modelCase study  haad operating model improvement model
Case study haad operating model improvement model
 
JHipster, modern web application development made easy
JHipster, modern web application development made easyJHipster, modern web application development made easy
JHipster, modern web application development made easy
 
Getting Started with Graph Databases
Getting Started with Graph Databases Getting Started with Graph Databases
Getting Started with Graph Databases
 
Node Summit 2016: Web App Architectures
Node Summit 2016:  Web App ArchitecturesNode Summit 2016:  Web App Architectures
Node Summit 2016: Web App Architectures
 
Migrating your monolithic application for micro services with JHipster
Migrating your monolithic application for micro services with JHipsterMigrating your monolithic application for micro services with JHipster
Migrating your monolithic application for micro services with JHipster
 
YOGA ASANA BY NEETU RANA
YOGA ASANA BY NEETU RANAYOGA ASANA BY NEETU RANA
YOGA ASANA BY NEETU RANA
 
NLP from scratch
NLP from scratch NLP from scratch
NLP from scratch
 
Deploying JHipster Microservices
Deploying JHipster MicroservicesDeploying JHipster Microservices
Deploying JHipster Microservices
 
Why Silicon Valley kicks Europe's butt
Why Silicon Valley kicks Europe's buttWhy Silicon Valley kicks Europe's butt
Why Silicon Valley kicks Europe's butt
 
IBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub Enterprise
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container Service
 
2016 06-30-deep-learning-archi
2016 06-30-deep-learning-archi2016 06-30-deep-learning-archi
2016 06-30-deep-learning-archi
 

Ähnlich wie Craftworkz at InterConnect 2017 - Creating a Highly Scalable Chatbot in a Microservices Architecture Using IBM Bluemix

Usability Speech (Jens Hoffmann) - T3CON08
Usability Speech (Jens Hoffmann) - T3CON08Usability Speech (Jens Hoffmann) - T3CON08
Usability Speech (Jens Hoffmann) - T3CON08Jens Hoffmann
 
SketchApp Meetup Frankfurt - #1st Round
SketchApp Meetup Frankfurt - #1st RoundSketchApp Meetup Frankfurt - #1st Round
SketchApp Meetup Frankfurt - #1st RoundJens Hoffmann
 
Presentation Devvela
Presentation DevvelaPresentation Devvela
Presentation DevvelaIllia Pashkov
 
Devvela Presentation
Devvela PresentationDevvela Presentation
Devvela PresentationDevvela
 
Fronteer: How to be Worth Millions
Fronteer: How to be Worth MillionsFronteer: How to be Worth Millions
Fronteer: How to be Worth MillionsRubZie
 
Clean code is not the goal - working software is
Clean code is not the goal - working software isClean code is not the goal - working software is
Clean code is not the goal - working software isEdorian
 
Become a webdeveloper - AKAICamp Beginner #1
Become a webdeveloper - AKAICamp Beginner #1Become a webdeveloper - AKAICamp Beginner #1
Become a webdeveloper - AKAICamp Beginner #1Jacek Tomaszewski
 
When e-commerce meets Symfony
When e-commerce meets SymfonyWhen e-commerce meets Symfony
When e-commerce meets SymfonyMarc Morera
 
How have we developed product without bugs
How have we developed product without bugsHow have we developed product without bugs
How have we developed product without bugsSigma Software
 
APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...
APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...
APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...apidays
 
Approaching unknown unknowns: CMF for the masses
Approaching unknown unknowns: CMF for the massesApproaching unknown unknowns: CMF for the masses
Approaching unknown unknowns: CMF for the massesAlessandro Nadalin
 
Chico UI - Retreat 2011
Chico UI - Retreat 2011Chico UI - Retreat 2011
Chico UI - Retreat 2011Guillermo Paz
 
Is having no limits a limitation [distilled version]
Is having no limits a limitation [distilled version]Is having no limits a limitation [distilled version]
Is having no limits a limitation [distilled version]Ben Brignell
 
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspecTDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspecPatrick Luca Fazzi
 
Python enterprise vento di liberta
Python enterprise vento di libertaPython enterprise vento di liberta
Python enterprise vento di libertaSimone Federici
 
Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...
Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...
Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...NetworkCollaborators
 
IsobarCreate32 SF Opening / Kickoff
IsobarCreate32 SF Opening / KickoffIsobarCreate32 SF Opening / Kickoff
IsobarCreate32 SF Opening / KickoffMichael Nicholas
 

Ähnlich wie Craftworkz at InterConnect 2017 - Creating a Highly Scalable Chatbot in a Microservices Architecture Using IBM Bluemix (20)

Php performance-talk
Php performance-talkPhp performance-talk
Php performance-talk
 
Usability Speech (Jens Hoffmann) - T3CON08
Usability Speech (Jens Hoffmann) - T3CON08Usability Speech (Jens Hoffmann) - T3CON08
Usability Speech (Jens Hoffmann) - T3CON08
 
SketchApp Meetup Frankfurt - #1st Round
SketchApp Meetup Frankfurt - #1st RoundSketchApp Meetup Frankfurt - #1st Round
SketchApp Meetup Frankfurt - #1st Round
 
Presentation Devvela
Presentation DevvelaPresentation Devvela
Presentation Devvela
 
Devvela Presentation
Devvela PresentationDevvela Presentation
Devvela Presentation
 
Fronteer: How to be Worth Millions
Fronteer: How to be Worth MillionsFronteer: How to be Worth Millions
Fronteer: How to be Worth Millions
 
Clean code is not the goal - working software is
Clean code is not the goal - working software isClean code is not the goal - working software is
Clean code is not the goal - working software is
 
Become a webdeveloper - AKAICamp Beginner #1
Become a webdeveloper - AKAICamp Beginner #1Become a webdeveloper - AKAICamp Beginner #1
Become a webdeveloper - AKAICamp Beginner #1
 
When e-commerce meets Symfony
When e-commerce meets SymfonyWhen e-commerce meets Symfony
When e-commerce meets Symfony
 
How have we developed product without bugs
How have we developed product without bugsHow have we developed product without bugs
How have we developed product without bugs
 
APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...
APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...
APIdays Paris 2019 - OpenAPI and AsyncAPI specifications as contracts by Mehd...
 
Approaching unknown unknowns: CMF for the masses
Approaching unknown unknowns: CMF for the massesApproaching unknown unknowns: CMF for the masses
Approaching unknown unknowns: CMF for the masses
 
Chico UI - Retreat 2011
Chico UI - Retreat 2011Chico UI - Retreat 2011
Chico UI - Retreat 2011
 
Building beautiful apis
Building beautiful apisBuilding beautiful apis
Building beautiful apis
 
Is having no limits a limitation [distilled version]
Is having no limits a limitation [distilled version]Is having no limits a limitation [distilled version]
Is having no limits a limitation [distilled version]
 
UX Mobile
UX Mobile UX Mobile
UX Mobile
 
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspecTDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
 
Python enterprise vento di liberta
Python enterprise vento di libertaPython enterprise vento di liberta
Python enterprise vento di liberta
 
Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...
Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...
Cisco Connect 2018 Thailand - The future of workspace technology mr.paul pett...
 
IsobarCreate32 SF Opening / Kickoff
IsobarCreate32 SF Opening / KickoffIsobarCreate32 SF Opening / Kickoff
IsobarCreate32 SF Opening / Kickoff
 

Kürzlich hochgeladen

Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlkumarajju5765
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 

Kürzlich hochgeladen (20)

Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 

Craftworkz at InterConnect 2017 - Creating a Highly Scalable Chatbot in a Microservices Architecture Using IBM Bluemix

Hinweis der Redaktion

  1. SAM
  2. SAM a couple of months ago -> San Francisco When we came back from the conference -> Michiel Tinder Michiel was swiping left & right Came across beautiful girl Match Converstation went like this
  3. SAM
  4. SAM
  5. SAM - We we’rent the only ones
  6. SAM
  7. MICHIEL Sam & Michiel from Belgium Idea of where Belgium is -> animation Now -> Las Vegas
  8. MICHIEL Very small country with only 11 million inhabitants Very complex country 6 different governments in this very small country 3 different official languages Over 1000 kinds of beer ** DOES ANYBODY HAVE AN IDEA WHICH LANGUAGES? **
  9. MICHIEL … Era of chatbots Build chatbots A lot of cool tools for developers from different vendors on the market But one problem…
  10. MICHIEL … Those developer tools do not support the Dutch language Very simple solution
  11. MICHIEL … Let’s build this chatbot framework ourselves
  12. MICHIEL Founders of Craftworkz Build innovative prototypes for other companies Strong focus on artificial intelligence Build an engine that can be trained to interpret sentences in a specific domain Started with a very modest and humble approach
  13. MICHIEL Let’s take a look at this first approach
  14. MICHIEL REST API for handling HTTP requests
  15. MICHIEL NLP component for interpreting the sentences and invoking the right response NLP in a chatbot context uses machine learning to learn how to interpret short sentences Train the engine by giving examples of sentences and their corresponding interpretations
  16. MICHIEL Component that handles the actual responses
  17. MICHIEL Session component for keeping context We deployed this onto Bluemix and we built a first chatbot that could have looked something like this
  18. MICHIEL We will do a live demo later in the session
  19. SAM
  20. SAM
  21. SAM
  22. SAM
  23. SAM
  24. MICHIEL With this new architecture A new problem arose …
  25. MICHIEL Let’s take a look at the previous conversation … This only happened some times but not all the times
  26. MICHIEL ** DOES ANYONE HAVE AN IDEA WHAT HAPPENED? **
  27. MICHIEL Take a look at the architecture
  28. MICHIEL Context is stored in memory in the instances
  29. MICHIEL Every engine has its own version of the context in memory and they are not in sync What can you tell me about IBM InterConnect? -> handled by one engine The follow up question: Where is it being held? -> handled by another engine not knowing about the context
  30. MICHIEL Solution: … Looked at the Bluemix catalog
  31. MICHIEL Added a compose for MongoDB database Shared across all the engines Every engine now has a session manager for communicating with the MongoDB
  32. SAM
  33. SAM
  34. SAM
  35. SAM
  36. SAM
  37. SAM
  38. SAM
  39. SAM
  40. SAM
  41. SAM
  42. MICHIEL Chatbots need to integrate with external datasources API’s, databases, SQL, NoSQL, CRM’s and so on The responses can be enriched with data from these data sources
  43. MICHIEL …
  44. MICHIEL Added a connection manager to our engine …
  45. MICHIEL Complete architecture looked something like this Message comes from social media Sent to the API Pushed on the queue Pulled from the queue Analyzed Response is generated, with external data Keeping context in mind Sent back to the frontend
  46. MICHIEL We encoutered a new problem …
  47. MICHIEL Let’s take a look at how a message was processed before Pulled from the queue to the engine, processed, a response in generated and sent back
  48. MICHIEL Now Pulled from the queue Processed Response is enriched with external data -> communication takes some time Sent back to the frontend 10 times as long
  49. MICHIEL 10.000 users sending 10 messages in parallel This was getting slow Up to minutes response time We didn’t really know how to solve this
  50. MICHIEL Installed an activity monitor plugin for bluemix This is what it looked like under heavy load Disk usage -> don’t really care Memory -> seems okay CPU is very idle
  51. MICHIEL Only 5% of CPU usage under heavy load Most of the time, the CPU is waiting for I/O Waiting for external data
  52. MICHIEL Multithreading to the rescue Added 100 threads per instance working in parallel for handling messages
  53. MICHIEL If we now take a look at the activity monitor
  54. MICHIEL CPU usage of 93% A lot more efficient
  55. MICHIEL Let’s take a look at the complete testing architecture Jmeter for simulating 10.000users talking in parallel Making requests to the API
  56. MICHIEL This is what it looked like in a testing environment
  57. MICHIEL Average response time of around …
  58. SAM
  59. SAM
  60. SAM
  61. SAM
  62. MICHIEL
  63. SAM
  64. SAM
  65. SAM
  66. SAM
  67. SAM