SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Less Than 1 Second to Load
Emile Heitor – NBS System
Why Care ?
A word from our friends at the W3C :
From http://www.w3.org/Protocols/NL-PerfNote.html
0.1 second (one tenth of a second). Ideal response
time. The user doesn't sense any interruption.
1 second. Highest acceptable response time.
Download times above 1 second interrupt the user
experience.
10 seconds. Unacceptable response time. The user
experience is interrupted and the user is likely to
leave the site or system.
Why Care ?
“The Magento Problem” 1/2
Awesome looking product
Freedom and flexibility
Probably the best E-Commerce platform around
Open Source: Widely known, recognized and
supported
Huge userbase, massive community,
impressive number of 3rd
party modules
“The Magento Problem” 2/2
Flexibility has a price
Large amount of PHP code to be interpreted
Object Oriented programming: CPU intensive
“Clean code” does not always mean “fast
rendering”
Many objects to be handled (Javascript, CSS,
lots of media), all bound by PHP
3rd
party modules often slower than core itself
Everybody Loves Benchmarks 1/3
The benchmark was completed using the
following hardware
Double Intel Xeon 5550 @ 2.70GHz (8 cores
total)
4GB DDR3
RAID1 143GB SAS 10k RPM disks
Pretty good hardware, average
configuration nowadays.
Everybody Loves Benchmarks 2/3
The benchmark was completed using the
following main softwares on the target Web
Server
 Debian Stable 64 Bits
 Apache 2.2
 PHP 5
 MySQL 5
 Magento 1.4.0.1 (yes, we like it on the edge)
 Demo Store
Everybody Loves Benchmarks 3/3
The benchmark was completed using the
following main softwares on the bench-machine
Debian Stable 64 Bits
Python 2.6
Funkload SVN (as I said, on the edge)
URL used: Magento Demostore Homepage
Worst Case Scenario
No Magento Cache, no tuning, direct access
Max 13s
Magento Cache Performance
Magento Cache, no tuning, direct access
Max 4.1s
APC Magic
Magento Cache, full tuning, direct access, APC
Max 0.9s
NANDs are faster
 Magento Cache, full tuning, direct access, APC, tmpfs
Max 0.75s
Typical NBS Ecosystem
Single NGINX Reverse Proxy
Magento Cache, full tuning, APC, tmpfs, NGINX
Max 0.54s
NGINX Reverse Proxy + Page Cache
Magento Cache, full tuning, APC, tmpfs, NGINX
Max 0.22s
More numbers 1/2
Bench configuration
Cycles of concurrent users: [5, 15, 25, 50, 75, 100]
Cycle duration: 30s
Sleeptime between request: 0s
Startup delay between thread: 0.01s
More numbers 2/2
Bench content
1 complete page (Homepage)
4 link
12 image
Maximum of 3558 tests
Maximum of 3776 pages
Maximum of 62467 requests
A total of 62k requests in 3 minutes
More to come
Magento environment tuning whitebook
Nitrogento extension
Full benchmarks available online
Other UNIX platforms ?
Ongoing R&D on NGINX as a Web
Server... spoiler ?
Someone's gonna be mad at me
 Direct access, APC, tmpfs, NGINX Web Server + PHP-FPM
Max 0.61s

Weitere ähnliche Inhalte

Mehr von Bargento ES

BARGENTO 2.0 Keynote Magento - Thomas Fleck
BARGENTO 2.0 Keynote Magento - Thomas FleckBARGENTO 2.0 Keynote Magento - Thomas Fleck
BARGENTO 2.0 Keynote Magento - Thomas FleckBargento ES
 
BARGENTO 2.0 Splio Jean-Baptiste Bobault
BARGENTO 2.0 Splio Jean-Baptiste BobaultBARGENTO 2.0 Splio Jean-Baptiste Bobault
BARGENTO 2.0 Splio Jean-Baptiste BobaultBargento ES
 
BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9
BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9 BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9
BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9 Bargento ES
 
BARGENTO 2.0 Experiencia e-commerce de Accion HD con Magento
BARGENTO 2.0 Experiencia e-commerce de Accion HD con MagentoBARGENTO 2.0 Experiencia e-commerce de Accion HD con Magento
BARGENTO 2.0 Experiencia e-commerce de Accion HD con MagentoBargento ES
 
BARGENTO 2.0 Ronan Bardet - Spain is different
BARGENTO 2.0 Ronan Bardet - Spain is differentBARGENTO 2.0 Ronan Bardet - Spain is different
BARGENTO 2.0 Ronan Bardet - Spain is differentBargento ES
 
Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...
Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...
Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...Bargento ES
 
Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones.  Los se...
Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones. Los se...Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones. Los se...
Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones.  Los se...Bargento ES
 
Bargento 1.0 – Zend – Por qué Zend Technologies ?
Bargento 1.0 – Zend – Por qué Zend Technologies ?Bargento 1.0 – Zend – Por qué Zend Technologies ?
Bargento 1.0 – Zend – Por qué Zend Technologies ?Bargento ES
 
Bargento 1.0 – Beeshopy – Social shopping practico con magento
Bargento 1.0 – Beeshopy – Social shopping practico con magentoBargento 1.0 – Beeshopy – Social shopping practico con magento
Bargento 1.0 – Beeshopy – Social shopping practico con magentoBargento ES
 

Mehr von Bargento ES (9)

BARGENTO 2.0 Keynote Magento - Thomas Fleck
BARGENTO 2.0 Keynote Magento - Thomas FleckBARGENTO 2.0 Keynote Magento - Thomas Fleck
BARGENTO 2.0 Keynote Magento - Thomas Fleck
 
BARGENTO 2.0 Splio Jean-Baptiste Bobault
BARGENTO 2.0 Splio Jean-Baptiste BobaultBARGENTO 2.0 Splio Jean-Baptiste Bobault
BARGENTO 2.0 Splio Jean-Baptiste Bobault
 
BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9
BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9 BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9
BARGENTO 2.0 Mejora de Magento con Zend Server por Alfa9
 
BARGENTO 2.0 Experiencia e-commerce de Accion HD con Magento
BARGENTO 2.0 Experiencia e-commerce de Accion HD con MagentoBARGENTO 2.0 Experiencia e-commerce de Accion HD con Magento
BARGENTO 2.0 Experiencia e-commerce de Accion HD con Magento
 
BARGENTO 2.0 Ronan Bardet - Spain is different
BARGENTO 2.0 Ronan Bardet - Spain is differentBARGENTO 2.0 Ronan Bardet - Spain is different
BARGENTO 2.0 Ronan Bardet - Spain is different
 
Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...
Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...
Las claves del exito de su proyecto ecommerce con ydral zend nbs the-academy ...
 
Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones.  Los se...
Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones. Los se...Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones. Los se...
Bargento 1.0 – Blueknow – Cross-selling, up-selling, recomendaciones.  Los se...
 
Bargento 1.0 – Zend – Por qué Zend Technologies ?
Bargento 1.0 – Zend – Por qué Zend Technologies ?Bargento 1.0 – Zend – Por qué Zend Technologies ?
Bargento 1.0 – Zend – Por qué Zend Technologies ?
 
Bargento 1.0 – Beeshopy – Social shopping practico con magento
Bargento 1.0 – Beeshopy – Social shopping practico con magentoBargento 1.0 – Beeshopy – Social shopping practico con magento
Bargento 1.0 – Beeshopy – Social shopping practico con magento
 

Kürzlich hochgeladen

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Kürzlich hochgeladen (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Bargento 1.0 – NBS System – Menos de 1 segundo para cargar Magento

  • 1. Less Than 1 Second to Load Emile Heitor – NBS System
  • 2. Why Care ? A word from our friends at the W3C : From http://www.w3.org/Protocols/NL-PerfNote.html 0.1 second (one tenth of a second). Ideal response time. The user doesn't sense any interruption. 1 second. Highest acceptable response time. Download times above 1 second interrupt the user experience. 10 seconds. Unacceptable response time. The user experience is interrupted and the user is likely to leave the site or system.
  • 4. “The Magento Problem” 1/2 Awesome looking product Freedom and flexibility Probably the best E-Commerce platform around Open Source: Widely known, recognized and supported Huge userbase, massive community, impressive number of 3rd party modules
  • 5. “The Magento Problem” 2/2 Flexibility has a price Large amount of PHP code to be interpreted Object Oriented programming: CPU intensive “Clean code” does not always mean “fast rendering” Many objects to be handled (Javascript, CSS, lots of media), all bound by PHP 3rd party modules often slower than core itself
  • 6. Everybody Loves Benchmarks 1/3 The benchmark was completed using the following hardware Double Intel Xeon 5550 @ 2.70GHz (8 cores total) 4GB DDR3 RAID1 143GB SAS 10k RPM disks Pretty good hardware, average configuration nowadays.
  • 7. Everybody Loves Benchmarks 2/3 The benchmark was completed using the following main softwares on the target Web Server  Debian Stable 64 Bits  Apache 2.2  PHP 5  MySQL 5  Magento 1.4.0.1 (yes, we like it on the edge)  Demo Store
  • 8. Everybody Loves Benchmarks 3/3 The benchmark was completed using the following main softwares on the bench-machine Debian Stable 64 Bits Python 2.6 Funkload SVN (as I said, on the edge) URL used: Magento Demostore Homepage
  • 9. Worst Case Scenario No Magento Cache, no tuning, direct access Max 13s
  • 10. Magento Cache Performance Magento Cache, no tuning, direct access Max 4.1s
  • 11. APC Magic Magento Cache, full tuning, direct access, APC Max 0.9s
  • 12. NANDs are faster  Magento Cache, full tuning, direct access, APC, tmpfs Max 0.75s
  • 13.
  • 15. Single NGINX Reverse Proxy Magento Cache, full tuning, APC, tmpfs, NGINX Max 0.54s
  • 16. NGINX Reverse Proxy + Page Cache Magento Cache, full tuning, APC, tmpfs, NGINX Max 0.22s
  • 17. More numbers 1/2 Bench configuration Cycles of concurrent users: [5, 15, 25, 50, 75, 100] Cycle duration: 30s Sleeptime between request: 0s Startup delay between thread: 0.01s
  • 18. More numbers 2/2 Bench content 1 complete page (Homepage) 4 link 12 image Maximum of 3558 tests Maximum of 3776 pages Maximum of 62467 requests A total of 62k requests in 3 minutes
  • 19. More to come Magento environment tuning whitebook Nitrogento extension Full benchmarks available online Other UNIX platforms ? Ongoing R&D on NGINX as a Web Server... spoiler ?
  • 20. Someone's gonna be mad at me  Direct access, APC, tmpfs, NGINX Web Server + PHP-FPM Max 0.61s