SlideShare a Scribd company logo
Epic API Fight 2.0
PHP Strikes Back
twitter://dash_as
facebook://aleksey.dashkevich
github://jesterovskiy
ALEKSEY DASHKEVYCH
RUBYDEV/TEAMLEAD
BORING!!!
Epic API Fight 2.0: PHP Strikes Back - Alexey Dashkevych
Epic API Fight
UPRISIN
Battletag: Jester#2293
Steam: JesterovskiY
ALEKSEY “JESTER”
DASHKEVYCH
IT'S TIME TO
LOOK AT
THE ENEMY
Epic API Fight 2.0: PHP Strikes Back - Alexey Dashkevych
LET’S MAKE
OUR PICK!
LANGUAGE
SAKA ROLES
FRAMEWORKS
AKA HEROES
HAN
AMIDIFFI
CULT
Y
RESP
ONSE
LIGHTW
EIGHT
SECUR
E
SIMPLE
RUBY
ON
RAILSDIFFI
CULT
Y
SO F*CKING AMAZING MVC
FRAMEWORK!!11
PHOE
NIXDIFFI
CULT
Y
FUNCT
IONAL
CHANN
ELS
ERLAN
G VM
KE
MALDIFFI
CULT
Y
FAST
EFFECT
IVE
SIMPLE
ARRIVIN
G AT …
WEB
FRAMEWORK
BENCHMARKS
BATTLEF
IELDUBUN
TU
14.04
VIRTUA
L
BOX
MEM
ORY
3022M
B
CORES
2
OBJECTIVES1. JSON SERIALIZATION
2. SINGLE DATABASE QUERY
3. MULTIPLE DATABASE
QUERIES
4. FORTUNES
5. DATABASE UPDATES
6. PLAINTEXT
COMPLE
XITYRUNNIN
G TIME
30S
CONCURR
ENCY
256
CONNECT
IONS
DB
QUERY
20
COUNT
S
GL HF!
JSON
SERIALIZATION
335303
LATENCY 26.56
50954
LATENCY 65.94
1814
LATENCY 2.40S
2338
LATENCY 3.16S
41563
LATENCY 603.30
13852
LATENCY 410.57
SINGLE DATABASE
QUERY
93530
LATENCY 82.88
15928
LATENCY 452.48
1210
LATENCY 4.25S
1756
LATENCY 4.00S
20043
LATENCY 560.51
10925
LATENCY 404.63
MULTIPLE
DATABASE QUERIES
10566
LATENCY 716.14
1659
LATENCY 2.35S
1258
LATENCY 3.22S
1591
LATENCY 4.39S
7636
LATENCY 1.48S
2371
LATENCY 1.58S
FORTUNES
94173
LATENCY 82.87
20627
LATENCY 341.34
699
LATENCY 6.56S
1260
LATENCY 5.43S
23495
LATENCY 528.19
8953
LATENCY 398.54
DATABASE UPDATES
2560
LATENCY 317.85
503
LATENCY 6.62
1230
LATENCY 3.23S
1419
LATENCY 4.08S
3491
LATENCY 2.22S
573
LATENCY 5.40
PLAIN TEXT
213331
LATENCY 563.28
323342
LATENCY 704.7
3130
LATENCY 6.25S
5802
LATENCY 4.82S
33186
LATENCY 1.83S
13121
LATENCY 1.44S
RESULTS
MVP 12 53 4
GG WP!
IS HIRING =)

More Related Content

PDF
Versions are evil – how to do without in your API
PDF
What the WordPress REST API Means for Javascript Developers
PDF
Building Javascript Apps with the WordPress JSON API – LoopConf 2015
PPT
PPTX
RubyConf Bangladesh 2017 - Elixir for Rubyists
PDF
Is this Legacy or Revenant Code? - Sergey Sergyenko | Ruby Meditation 30
PDF
Life with GraphQL API: good practices and unresolved issues - Roman Dubrovsky...
PDF
Where is your license, dude? - Viacheslav Miroshnychenko | Ruby Meditation 29
Versions are evil – how to do without in your API
What the WordPress REST API Means for Javascript Developers
Building Javascript Apps with the WordPress JSON API – LoopConf 2015
RubyConf Bangladesh 2017 - Elixir for Rubyists
Is this Legacy or Revenant Code? - Sergey Sergyenko | Ruby Meditation 30
Life with GraphQL API: good practices and unresolved issues - Roman Dubrovsky...
Where is your license, dude? - Viacheslav Miroshnychenko | Ruby Meditation 29

More from Ruby Meditation (20)

PDF
Dry-validation update. Dry-validation vs Dry-schema 1.0 - Aleksandra Stolyar ...
PDF
How to cook Rabbit on Production - Bohdan Parshentsev | Ruby Meditation 28
PDF
How to cook Rabbit on Production - Serhiy Nazarov | Ruby Meditation 28
PDF
Reinventing the wheel - why do it and how to feel good about it - Julik Tarkh...
PDF
Performance Optimization 101 for Ruby developers - Nihad Abbasov (ENG) | Ruby...
PDF
Use cases for Serverless Technologies - Ruslan Tolstov (RUS) | Ruby Meditatio...
PDF
The Trailblazer Ride from the If Jungle into a Civilised Railway Station - Or...
PDF
What/How to do with GraphQL? - Valentyn Ostakh (ENG) | Ruby Meditation 27
PDF
New features in Rails 6 - Nihad Abbasov (RUS) | Ruby Meditation 26
PDF
Security Scanning Overview - Tetiana Chupryna (RUS) | Ruby Meditation 26
PDF
Teach your application eloquence. Logs, metrics, traces - Dmytro Shapovalov (...
PDF
Best practices. Exploring - Ike Kurghinyan (RUS) | Ruby Meditation 26
PDF
Road to A/B testing - Alexey Vasiliev (ENG) | Ruby Meditation 25
PDF
Concurrency in production. Real life example - Dmytro Herasymuk | Ruby Medita...
PDF
Data encryption for Ruby web applications - Dmytro Shapovalov (RUS) | Ruby Me...
PDF
Rails App performance at the limit - Bogdan Gusiev
PDF
GDPR. Next Y2K in 2018? - Anton Tkachov | Ruby Meditation #23
PDF
Postgres vs Elasticsearch while enriching data - Vlad Somov | Ruby Meditaiton...
PDF
Database Sharding in Rails Applications – Vitalik Danchenko | Ruby Meditatio...
PDF
Building MVP from business owner’s perspective – Piotr Latoszek | Ruby Medita...
Dry-validation update. Dry-validation vs Dry-schema 1.0 - Aleksandra Stolyar ...
How to cook Rabbit on Production - Bohdan Parshentsev | Ruby Meditation 28
How to cook Rabbit on Production - Serhiy Nazarov | Ruby Meditation 28
Reinventing the wheel - why do it and how to feel good about it - Julik Tarkh...
Performance Optimization 101 for Ruby developers - Nihad Abbasov (ENG) | Ruby...
Use cases for Serverless Technologies - Ruslan Tolstov (RUS) | Ruby Meditatio...
The Trailblazer Ride from the If Jungle into a Civilised Railway Station - Or...
What/How to do with GraphQL? - Valentyn Ostakh (ENG) | Ruby Meditation 27
New features in Rails 6 - Nihad Abbasov (RUS) | Ruby Meditation 26
Security Scanning Overview - Tetiana Chupryna (RUS) | Ruby Meditation 26
Teach your application eloquence. Logs, metrics, traces - Dmytro Shapovalov (...
Best practices. Exploring - Ike Kurghinyan (RUS) | Ruby Meditation 26
Road to A/B testing - Alexey Vasiliev (ENG) | Ruby Meditation 25
Concurrency in production. Real life example - Dmytro Herasymuk | Ruby Medita...
Data encryption for Ruby web applications - Dmytro Shapovalov (RUS) | Ruby Me...
Rails App performance at the limit - Bogdan Gusiev
GDPR. Next Y2K in 2018? - Anton Tkachov | Ruby Meditation #23
Postgres vs Elasticsearch while enriching data - Vlad Somov | Ruby Meditaiton...
Database Sharding in Rails Applications – Vitalik Danchenko | Ruby Meditatio...
Building MVP from business owner’s perspective – Piotr Latoszek | Ruby Medita...
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
KodekX | Application Modernization Development
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
A Presentation on Artificial Intelligence
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Cloud computing and distributed systems.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
KodekX | Application Modernization Development
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Monthly Chronicles - July 2025
A Presentation on Artificial Intelligence
The AUB Centre for AI in Media Proposal.docx
Cloud computing and distributed systems.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Dropbox Q2 2025 Financial Results & Investor Presentation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Ad

Epic API Fight 2.0: PHP Strikes Back - Alexey Dashkevych