SlideShare a Scribd company logo
1 of 38
Download to read offline
How Synthetic Monitoring Helps Optimize
Performance
Presented by: Xoan Vilas, Performance Lead, trivago
Xoan Vilas - @xo4n
55 live platforms
DUS
SFO
CAN
HKG
Xoan Vilas - @xo4n
FactSheet
Some data values to get an idea
Unique visitors:   120 Million/month
Number of Web requests: 230 Million/day
CDN images traffic: 350TB/month
Image Requests: 12 Billion/month
 
Xoan Vilas - @xo4n
Performance strategy
 
End User
Experience
Synthetic Monitoring
Real User Monitoring (RUM)
Traffic mirroring
Analytics
Reporting
Components
DeepDive
Application
Architecture
Dimension Area of focus Objective
Metrics collection and standardisation
Real time metrics visualisation with per
10 second resolution
Measure and improve user performance
perception
Backend application profiling
Frontend application profiling
Log data discovery
Transaction flow
Unique identifier
Application and hardware optimisation
Capacity planning
Trends reporting
Bottlenecks and anomalies detection
Improve code for better performance
Automate code performance
measurements
Find code errors and patterns
Mapping transactions and applications to
the underlaying infrastructure
Xoan Vilas - @xo4n
Backend Performance
Xoan Vilas - @xo4n
Backend performance overview
Top 3 changes in 2016 with the biggest performance impact
Xoan Vilas - @xo4n
Upgrade to PHP7

Lower memory & CPU consumption & faster responses *
*) https://twitter.com/xo4n/status/734762501867442176
Xoan Vilas - @xo4n
Higher CPU clock speed

From 2.60Ghz to 3.07Ghz > 70ms faster PHP response time *
*) https://twitter.com/xo4n/status/755774522146557952
Xoan Vilas - @xo4n
Impact in conversions

faster responses lead to more conversions. Case studies in
wpostats.com already indicated that
Xoan Vilas - @xo4n
Frontend Performance
Xoan Vilas - @xo4n
Webpack & JS startup improvements
#1 Reduce asset size by loading features on demand
#2 Asset caching
#3 Prioritise users over collecting data
#4 Inline SVG icons
http://tech.trivago.com/2016/08/19/js-startup-improvements/
Xoan Vilas - @xo4n
Xoan Vilas - @xo4n
Prioritising users vs collecting data
Xoan Vilas - @xo4n
Number of items per page 

Year to Year js files increase after the introduction of WebPack
Xoan Vilas - @xo4n
Inline SVG icons

We improved the maintenance of trivago icon system and got
better performance as a bonus
http://tech.trivago.com/2016/09/05/inline-svg-icon-system/
Xoan Vilas - @xo4n
Moving to HTTPS
The road to #pwa
Xoan Vilas - @xo4n
Moving to HTTPS
Keep an eye on latency impact and 3rd parties SSL performance
Xoan Vilas - @xo4n
Introducing HTTP2
The road to #pwa
Xoan Vilas - @xo4n
trivago in China
Xoan Vilas - @xo4n
Custom setup
Mixed hosting in Mainland and HongKong
Xoan Vilas - @xo4n
Backend performance improvement
MPLS line between datacenter in mainland China and HKG
Xoan Vilas - @xo4n
DNS performance
The importance of DNS is often forgotten and has big impact
Xoan Vilas - @xo4n
Third parties performance in China
trivago improved response times but 3rd parties not
Xoan Vilas - @xo4n
Troubleshooting and Feature
performance
Xoan Vilas - @xo4n
CDN evaluation
ChinaCache vs ChinaNetCenter
Xoan Vilas - @xo4n
CDN configuration
ChinaCache set up
Xoan Vilas - @xo4n
CDN issues
Edgecast outage
Xoan Vilas - @xo4n
Assets delivery
Assets caching issues caused
by Varnish miss configuration
Xoan Vilas - @xo4n
Third party issues
Miss configured 3rd parties
on trivago’s brazilian platform
Xoan Vilas - @xo4n
Feature testing
Compare performance
of different features
Xoan Vilas - @xo4n
room5

trivago’s online hotel magazine
Xoan Vilas - @xo4n
Content Marketing
Scaling and optimizing a wordpress blog on AWS
Xoan Vilas - @xo4n
Higher CPU clock speed

From 2.60Ghz to 3.07Ghz > 70ms faster PHP response time *
*) https://twitter.com/xo4n/status/755774522146557952
Xoan Vilas - @xo4n
Facebook token
Query optimization
PHP7
Cache2 weeks
Performance optimisations
Xoan Vilas - @xo4n
Results after optimisations
Xoan Vilas - @xo4n
Analyze ImproveMeasure
THANK YOU!
Please don’t forget to fill out the mobile app survey for this session

More Related Content

Similar to How Synthetic Monitoring Helps Optimize Web Performance

Outsourcing your share point hosting the cloud’s fine print magnified
Outsourcing your share point hosting the cloud’s fine print magnifiedOutsourcing your share point hosting the cloud’s fine print magnified
Outsourcing your share point hosting the cloud’s fine print magnifiedSherWeb
 
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Amazon Web Services
 
Outsourcing your share point hosting the cloud's fine print magnified
Outsourcing your share point hosting   the cloud's fine print magnifiedOutsourcing your share point hosting   the cloud's fine print magnified
Outsourcing your share point hosting the cloud's fine print magnifiedSherWeb
 
Santander Stream Processing with Apache Flink
Santander Stream Processing with Apache FlinkSantander Stream Processing with Apache Flink
Santander Stream Processing with Apache Flinkconfluent
 
FORCES - EBS Upgrade Compared to SaaS Cloud.pdf
FORCES - EBS Upgrade Compared to SaaS Cloud.pdfFORCES - EBS Upgrade Compared to SaaS Cloud.pdf
FORCES - EBS Upgrade Compared to SaaS Cloud.pdfJacobYeboa1
 
Outsourcing your SharePoint Hosting: The Cloud's Fine Print Magnified
Outsourcing your SharePoint Hosting: The Cloud's Fine Print MagnifiedOutsourcing your SharePoint Hosting: The Cloud's Fine Print Magnified
Outsourcing your SharePoint Hosting: The Cloud's Fine Print MagnifiedSherWeb
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...Amazon Web Services
 
Getting started with Amazon Kinesis
Getting started with Amazon KinesisGetting started with Amazon Kinesis
Getting started with Amazon KinesisAmazon Web Services
 
Getting started with amazon kinesis
Getting started with amazon kinesisGetting started with amazon kinesis
Getting started with amazon kinesisJampp
 
Are PWAs The Future of the Web?
Are PWAs The Future of the Web?Are PWAs The Future of the Web?
Are PWAs The Future of the Web?Erudite
 
Future of SOA & Modern APIs
Future of SOA & Modern APIsFuture of SOA & Modern APIs
Future of SOA & Modern APIsRam Lakshmanan
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...Amazon Web Services
 
Set Your Data In Motion - CTO Roundtable
Set Your Data In Motion - CTO RoundtableSet Your Data In Motion - CTO Roundtable
Set Your Data In Motion - CTO Roundtableconfluent
 
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
Event Streaming CTO Roundtable for Cloud-native Kafka ArchitecturesEvent Streaming CTO Roundtable for Cloud-native Kafka Architectures
Event Streaming CTO Roundtable for Cloud-native Kafka ArchitecturesKai Wähner
 
Backbase Webinar: Next Level Mobile Banking
Backbase Webinar: Next Level Mobile Banking Backbase Webinar: Next Level Mobile Banking
Backbase Webinar: Next Level Mobile Banking Backbase
 
Kanban: Performance and control using Varnish
Kanban: Performance and control using VarnishKanban: Performance and control using Varnish
Kanban: Performance and control using VarnishVarnish Software
 

Similar to How Synthetic Monitoring Helps Optimize Web Performance (20)

Outsourcing your share point hosting the cloud’s fine print magnified
Outsourcing your share point hosting the cloud’s fine print magnifiedOutsourcing your share point hosting the cloud’s fine print magnified
Outsourcing your share point hosting the cloud’s fine print magnified
 
Amhora
AmhoraAmhora
Amhora
 
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
 
Outsourcing your share point hosting the cloud's fine print magnified
Outsourcing your share point hosting   the cloud's fine print magnifiedOutsourcing your share point hosting   the cloud's fine print magnified
Outsourcing your share point hosting the cloud's fine print magnified
 
Shift left Observability
Shift left ObservabilityShift left Observability
Shift left Observability
 
Santander Stream Processing with Apache Flink
Santander Stream Processing with Apache FlinkSantander Stream Processing with Apache Flink
Santander Stream Processing with Apache Flink
 
FORCES - EBS Upgrade Compared to SaaS Cloud.pdf
FORCES - EBS Upgrade Compared to SaaS Cloud.pdfFORCES - EBS Upgrade Compared to SaaS Cloud.pdf
FORCES - EBS Upgrade Compared to SaaS Cloud.pdf
 
Outsourcing your SharePoint Hosting: The Cloud's Fine Print Magnified
Outsourcing your SharePoint Hosting: The Cloud's Fine Print MagnifiedOutsourcing your SharePoint Hosting: The Cloud's Fine Print Magnified
Outsourcing your SharePoint Hosting: The Cloud's Fine Print Magnified
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
Getting started with Amazon Kinesis
Getting started with Amazon KinesisGetting started with Amazon Kinesis
Getting started with Amazon Kinesis
 
Getting started with amazon kinesis
Getting started with amazon kinesisGetting started with amazon kinesis
Getting started with amazon kinesis
 
Are PWAs The Future of the Web?
Are PWAs The Future of the Web?Are PWAs The Future of the Web?
Are PWAs The Future of the Web?
 
Modern Web Applications
Modern Web ApplicationsModern Web Applications
Modern Web Applications
 
Future of SOA & Modern APIs
Future of SOA & Modern APIsFuture of SOA & Modern APIs
Future of SOA & Modern APIs
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
 
Set Your Data In Motion - CTO Roundtable
Set Your Data In Motion - CTO RoundtableSet Your Data In Motion - CTO Roundtable
Set Your Data In Motion - CTO Roundtable
 
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
Event Streaming CTO Roundtable for Cloud-native Kafka ArchitecturesEvent Streaming CTO Roundtable for Cloud-native Kafka Architectures
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
 
Akamai: Acelerando las aplicaciones en la nube - Miguel Serrano, Akamai
Akamai: Acelerando las aplicaciones en la nube - Miguel Serrano, AkamaiAkamai: Acelerando las aplicaciones en la nube - Miguel Serrano, Akamai
Akamai: Acelerando las aplicaciones en la nube - Miguel Serrano, Akamai
 
Backbase Webinar: Next Level Mobile Banking
Backbase Webinar: Next Level Mobile Banking Backbase Webinar: Next Level Mobile Banking
Backbase Webinar: Next Level Mobile Banking
 
Kanban: Performance and control using Varnish
Kanban: Performance and control using VarnishKanban: Performance and control using Varnish
Kanban: Performance and control using Varnish
 

Recently uploaded

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

How Synthetic Monitoring Helps Optimize Web Performance

  • 1. How Synthetic Monitoring Helps Optimize Performance Presented by: Xoan Vilas, Performance Lead, trivago
  • 2. Xoan Vilas - @xo4n 55 live platforms DUS SFO CAN HKG
  • 3. Xoan Vilas - @xo4n FactSheet Some data values to get an idea Unique visitors:   120 Million/month Number of Web requests: 230 Million/day CDN images traffic: 350TB/month Image Requests: 12 Billion/month  
  • 4. Xoan Vilas - @xo4n Performance strategy   End User Experience Synthetic Monitoring Real User Monitoring (RUM) Traffic mirroring Analytics Reporting Components DeepDive Application Architecture Dimension Area of focus Objective Metrics collection and standardisation Real time metrics visualisation with per 10 second resolution Measure and improve user performance perception Backend application profiling Frontend application profiling Log data discovery Transaction flow Unique identifier Application and hardware optimisation Capacity planning Trends reporting Bottlenecks and anomalies detection Improve code for better performance Automate code performance measurements Find code errors and patterns Mapping transactions and applications to the underlaying infrastructure
  • 5. Xoan Vilas - @xo4n Backend Performance
  • 6. Xoan Vilas - @xo4n Backend performance overview Top 3 changes in 2016 with the biggest performance impact
  • 7. Xoan Vilas - @xo4n Upgrade to PHP7
 Lower memory & CPU consumption & faster responses * *) https://twitter.com/xo4n/status/734762501867442176
  • 8. Xoan Vilas - @xo4n Higher CPU clock speed
 From 2.60Ghz to 3.07Ghz > 70ms faster PHP response time * *) https://twitter.com/xo4n/status/755774522146557952
  • 9. Xoan Vilas - @xo4n Impact in conversions
 faster responses lead to more conversions. Case studies in wpostats.com already indicated that
  • 10. Xoan Vilas - @xo4n Frontend Performance
  • 11. Xoan Vilas - @xo4n Webpack & JS startup improvements #1 Reduce asset size by loading features on demand #2 Asset caching #3 Prioritise users over collecting data #4 Inline SVG icons http://tech.trivago.com/2016/08/19/js-startup-improvements/
  • 12. Xoan Vilas - @xo4n
  • 13. Xoan Vilas - @xo4n Prioritising users vs collecting data
  • 14. Xoan Vilas - @xo4n Number of items per page 
 Year to Year js files increase after the introduction of WebPack
  • 15. Xoan Vilas - @xo4n Inline SVG icons
 We improved the maintenance of trivago icon system and got better performance as a bonus http://tech.trivago.com/2016/09/05/inline-svg-icon-system/
  • 16. Xoan Vilas - @xo4n Moving to HTTPS The road to #pwa
  • 17. Xoan Vilas - @xo4n Moving to HTTPS Keep an eye on latency impact and 3rd parties SSL performance
  • 18. Xoan Vilas - @xo4n Introducing HTTP2 The road to #pwa
  • 19. Xoan Vilas - @xo4n trivago in China
  • 20. Xoan Vilas - @xo4n Custom setup Mixed hosting in Mainland and HongKong
  • 21. Xoan Vilas - @xo4n Backend performance improvement MPLS line between datacenter in mainland China and HKG
  • 22. Xoan Vilas - @xo4n DNS performance The importance of DNS is often forgotten and has big impact
  • 23. Xoan Vilas - @xo4n Third parties performance in China trivago improved response times but 3rd parties not
  • 24. Xoan Vilas - @xo4n Troubleshooting and Feature performance
  • 25. Xoan Vilas - @xo4n CDN evaluation ChinaCache vs ChinaNetCenter
  • 26. Xoan Vilas - @xo4n CDN configuration ChinaCache set up
  • 27. Xoan Vilas - @xo4n CDN issues Edgecast outage
  • 28. Xoan Vilas - @xo4n Assets delivery Assets caching issues caused by Varnish miss configuration
  • 29. Xoan Vilas - @xo4n Third party issues Miss configured 3rd parties on trivago’s brazilian platform
  • 30. Xoan Vilas - @xo4n Feature testing Compare performance of different features
  • 31. Xoan Vilas - @xo4n room5
 trivago’s online hotel magazine
  • 32. Xoan Vilas - @xo4n Content Marketing Scaling and optimizing a wordpress blog on AWS
  • 33. Xoan Vilas - @xo4n Higher CPU clock speed
 From 2.60Ghz to 3.07Ghz > 70ms faster PHP response time * *) https://twitter.com/xo4n/status/755774522146557952
  • 34. Xoan Vilas - @xo4n Facebook token Query optimization PHP7 Cache2 weeks Performance optimisations
  • 35. Xoan Vilas - @xo4n Results after optimisations
  • 36. Xoan Vilas - @xo4n Analyze ImproveMeasure
  • 37.
  • 38. THANK YOU! Please don’t forget to fill out the mobile app survey for this session