How to Build An Artificial Intelligence Web System that can support more than 5000 request per second
1. 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
4. 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/
5. 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
7. 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
8. 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