SlideShare a Scribd company logo
1 of 19
Download to read offline
PRESENTED BY AZHAR K MUSTAPHA
NERVESIS SDN BHD
HOW TOBUILD ANARTIFICIAL INTELLIGENCE
WEB SYSTEM that cansupport more
than 5000 request per second
Platform: http://www.zygy.com Company: http://www.nervesis.com
WITHARTIFICIAL INTELLIGENCE
NERVESISSDNBHD
Zygy gatekeeper
Personal	Assistant	Platform,	
Identity	management	&	Single	
Sign	on	system
midas
Typo-based	“page	not	found”	
advertising	targeting	Telco	
subscribers
Zygy smart streaming
A	solution	for	Video	on	
Demand	(VOD)	and	live	web	
casting	for	Video	and	Audio	
(AV).	
PROPHECY
Public	Conversation	
Intelligence
PERSONALASSISTAnTPLATFORM
RELATE WHATMATTERS WITHOUTEFFORT
SSO |COLLATE |JOURNALIZE |RELATE
NERVESISSDNBHD
Whatis midas?
Turn URL typos into your
goldmines
Now, “page not found” can be converted into a relevant
advertising page for your business, noticed by millions of
unique viewers.
www.lazadah.com.my/
Web
Server
Database
Server
Handle Presentation
Handle AI Logic
Handle Other Logic
Web Server
1-Webserver-1-Database with HIGH
LOAD?
Store Data
Data CRUD (Create, Retrieve
Update, Delete)
DATABASE Server NO RESPONSE
NERVESISSDNBHD
SCALING with COMPUTATIONALTHINKING
* http://www.cs.cmu.edu/~CompThink/
* http://www.bbc.co.uk/education/guides/zp92mp3/revision
Divide & Conquer
Bootstrapping
Generalization /
Similarities
Rules
NERVESISSDNBHD
Decomposition StEPS INTOLAYERS
Web Request
HTML Presentation
AI and Logic Layer
Database Layer
Request
Routed by
Session
Routed By
Capacity
Static Content Dynamic HTML
Boxes (Pagelet)
Probability Calculation | Edit
Distance | Score |Feature
Classification | More …
Cache | Database Read | Write
NERVESISSDNBHD
PATTERNSOR SIMILARITIES
Web Request Can be routed by session
and capacity
Static HTML Characterized by file,
images, videos
Pagelet Pagelets are independent if
content are independent
Probability Calculation &
Edit Distance
Some values are almost
static
Cache Almost static values can be
cached
Database Read Read cannot catch up with
4 million rows although with
index
Certain group of tables are
independent
Database Write Data update is not frequent
NERVESISSDNBHD
ALGORITHMS/ RULES
ROUTInGDISTRIBUTION
NERVESISSDNBHD
PAGELETSDISTRIBUTION
$("#shop“).load(“/pageletA“)
$("#shop“).load(“/pageletB“)
NERVESISSDNBHD
AIPOST-TRAINING: PRECALCULATION & ANTICIPATION
CacheINPUTS (xi )
PRECALCULATED PARAMETERS
MATRIX PRUNING (RE)
Naïve Bayes Classifier
Cost function for Deep Neural Network
CACHEOUTPUTS (fi )
PRECALCULATED PROBABILITIES
ANTICIPATED CALCULATION
cMAP = argmax
c∈C
P(x1, x2,…, xn | c)P(c)
Feature-based Linear Classifier
NERVESISSDNBHD
Anticipate	calculation	for	
next	iteration
ANTICIPATE
Cache	Inputs	that	are	almost	
static	with	cache	strategy		
based	on	size.
OUTPUT
Pre	calculate	certain	
probabilities	and	
parameters,
PRE	
CALCULATION	
Cache	Inputs	that	are	almost	static	
with	cache	strategy		based	on	size
INPUT
ANTICIPAT
E
OUTPUTINPUT
PRE
CALCULATIO
N
DISTRIBUTED SMARTCACHING
DATABASE
Persistent layer (part of Logic Layer) will
update data thru cache instead directly to
database
NERVESISSDNBHD
DISTRIBUTED DATABASES
NERVESISSDNBHD
Database divided into several independent segments
Cache layer will update data only thru Master DB
APPLICATIONARCHITECTURE
Distribution by weight
or capacity (CPU,
Memory, Disk IO,
Network IO)
NERVESISSDNBHD
ABSTRACTION /
GENERALIZATION
INDEPENDENT DISTRIBUTEDLAYERING
Static Content
Routing
Static Content
Clusters
AI Logic 1
Precalc Cache
Slave DB 1
Pagelet
Routing
Pagelet
Clusters
AI Logic 2
Anticipate
Cache
Master DB 1
Routing By
Session
Static Content
Clusters
AI Logic 3
Input Cache
Master DB 2
Routing By
Capacity
Pagelet
Clusters
AI Logic 4
Output Cache
Slave DB 2
NERVESISSDNBHD
AZHAR K.MUSTAPHA CONTACT
NervesisSdnBhd
Lot 5.50, Wisma Central,Jalan
Ampang 50450 Kuala Lumpur,
Malaysia
www.nervesis.com
www.zygy.com
midas.nervesis.com
enquiry@nervesis.com
www.facebook.com/azhar.k.mustapha
my.linkedin.com/in/azharkm
ADDRESS:
WEBSITE:
EMAIL:
Nervesis Sdn BhdCOMPaNY:
THANKSFOR YOURTIMEPlatform: http://www.zygy.com
Company: http://www.nervesis.com

More Related Content

Similar to How to Build An Artificial Intelligence Web System that can support more than 5000 request per second

Emarald features first1_v1.0.2
Emarald features first1_v1.0.2Emarald features first1_v1.0.2
Emarald features first1_v1.0.2
Kishore Prabudhas
 
nordensoft-solutions-presentation
nordensoft-solutions-presentationnordensoft-solutions-presentation
nordensoft-solutions-presentation
toratoraman
 
Newkirk Creative
Newkirk CreativeNewkirk Creative
Newkirk Creative
BOB NEWKIRK
 
Sybrant overview
Sybrant overviewSybrant overview
Sybrant overview
Guhan E
 

Similar to How to Build An Artificial Intelligence Web System that can support more than 5000 request per second (20)

Launchpad Development Company
Launchpad Development CompanyLaunchpad Development Company
Launchpad Development Company
 
How to segment developers for your API strategy
How to segment developers for your API strategyHow to segment developers for your API strategy
How to segment developers for your API strategy
 
What Is SharePoint?
What Is SharePoint?What Is SharePoint?
What Is SharePoint?
 
Veda Profile
Veda ProfileVeda Profile
Veda Profile
 
Sergata feb 2016
Sergata feb 2016Sergata feb 2016
Sergata feb 2016
 
Emarald features first1_v1.0.2
Emarald features first1_v1.0.2Emarald features first1_v1.0.2
Emarald features first1_v1.0.2
 
iView Labs Portfolio
iView Labs PortfolioiView Labs Portfolio
iView Labs Portfolio
 
Sergata feb 2016
Sergata feb 2016Sergata feb 2016
Sergata feb 2016
 
Your One-Stop Digital Marketing | IT services Solutions
Your One-Stop Digital Marketing | IT services SolutionsYour One-Stop Digital Marketing | IT services Solutions
Your One-Stop Digital Marketing | IT services Solutions
 
nordensoft-solutions-presentation
nordensoft-solutions-presentationnordensoft-solutions-presentation
nordensoft-solutions-presentation
 
AWS Keynote II - New Services Showcase: Connecting the Dots
AWS Keynote II - New Services Showcase: Connecting the DotsAWS Keynote II - New Services Showcase: Connecting the Dots
AWS Keynote II - New Services Showcase: Connecting the Dots
 
PROBESEVEN
PROBESEVENPROBESEVEN
PROBESEVEN
 
Peter Flynn
Peter FlynnPeter Flynn
Peter Flynn
 
DIGITAL MARKETING AND GRAPHIC DESIGNING SERVICES By Techies Institute for lea...
DIGITAL MARKETING AND GRAPHIC DESIGNING SERVICES By Techies Institute for lea...DIGITAL MARKETING AND GRAPHIC DESIGNING SERVICES By Techies Institute for lea...
DIGITAL MARKETING AND GRAPHIC DESIGNING SERVICES By Techies Institute for lea...
 
One Web To Rule Them All
One Web To Rule Them AllOne Web To Rule Them All
One Web To Rule Them All
 
Zestadz mobile Landing Pages Tool
Zestadz mobile Landing Pages ToolZestadz mobile Landing Pages Tool
Zestadz mobile Landing Pages Tool
 
Newkirk Creative
Newkirk CreativeNewkirk Creative
Newkirk Creative
 
Shubham softsolution
Shubham softsolutionShubham softsolution
Shubham softsolution
 
Sybrant overview
Sybrant overviewSybrant overview
Sybrant overview
 
Sybrant overview
Sybrant overviewSybrant overview
Sybrant overview
 

Recently uploaded

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
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
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
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
MarinCaroMartnezBerg
 

Recently uploaded (20)

Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
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
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
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...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
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
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
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
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 

How to Build An Artificial Intelligence Web System that can support more than 5000 request per second