SlideShare a Scribd company logo
1 of 41
Mateus Bartz 
(@mateus_bartz) 
Internet and IT professional with +10 
years managing a broad range of 
technologies in large-scale and 
mission-critical environments. Now 
working in Telefónica as “Tools 
master”. 
Automation, Photos and Programing 
are my current passion. 
My motto: If moves, measure it. If not 
move as you want, automate it! 
Who are we?
Almudena Vivanco 
(@MrsDaehin) 
From .net developer to tester. 10 years 
of experience as performance engineer. 
Now working in Telefónica I+D as 
“Performance Jedi”. 
Active member of the web performance 
community in Barcelona. 
Gaming, Music and Maths are my 
passion 
My motto: Games don’t cause violence, 
Lag does! 
Who are we?
Guide to survive a World Wide Event
Build the best Video Platform to help Telefonica to become a 
The Challenge 
Video Company
• PASSION - If it was OK, they will be back 
• DON’T MISS THE TARGET – The audience go 
away 
• WILL START WITHOUT YOU - The soccer game 
will start at the date/time 
The golden rule 
The Golden Rule
The Users
The Passion
- Do you know what 
you are missing? 
- Know how to act? 
- Have the relevant 
info? 
Don’t miss the target
The Team
Our Goal
Scalability
The Behaviour
Spain - Brazil- Argentina
Many Devices 
And MANY more ….
The Jungle
Change of Strategy
Global Video Platform Squads
Deployment
Continuous ... wait ... what? 
PREPROD Environment 
Automated Tests in .NET 
Stable Environment
Stable Testing Environment
Thumbox
Latency
In House CDN
Old Approach New Approach 
• Monitoring resolution 5 
minutes 
• 11 tools to monitor 
performance 
• Monitoring resolution 
15 seconds 
• Centralized in 1 tool to 
monitor performance 
Don’t miss the target
Web Servers 
(FE/API) 
Cache Layer 
Databases 
Audience Graphite 
Virtualization 
Storage 
(SAN/NAS) 
Networking 
Don’t miss the target
Don’t miss the target
What is graphite? 
• A highly scalable real-time graphing system 
• Comprise of 3 projects 
– Carbon (Collect and record metrics) 
– Whisper (Storage mechanism) 
– Graphite-Web (web GUI) 
• Start here: 
– http://graphite.readthedocs.org/ 
– https://github.com/graphite-project/graphite-web 
Don’t miss the target
Example please!!! 
Don’t miss the target
2nd half 
begins 
Introducing: The Soccer Game 
match 
begins 
1st half 
ends 2nd half 
ends 
Don’t miss the target
BE PREPARED FOR THE PEAK 
Simulate your 
workload and know 
your bottleneck 
Don’t miss the target
It is better know the bad things 
when you have time to solve it !!!! 
Don’t miss the target
If you need 
different output 
Start adding a 
feedback (B) 
Don’t miss the target
Don’t do queries 
with full tables scans 
Show and give 
access 
SELECT 
OBJECT_NAME(S.[OBJECT_ID]) AS [OBJECT NAME], 
I.[NAME] AS [INDEX NAME], 
USER_SEEKS, 
USER_SCANS, 
USER_LOOKUPS, 
USER_UPDATES 
FROM 
SYS.DM_DB_INDEX_USAGE_STATS AS S 
INNER JOIN SYS.INDEXES AS I 
ON I.[OBJECT_ID] = S.[OBJECT_ID] 
AND I.INDEX_ID = S.INDEX_ID 
Don’t miss the target
1 Index Creation 1 Query change 
Don’t miss the target
Know what are you doing!!! 
Don’t miss the target
The soccer game will start 
if you are ready or not. 
Get your team ready. They have 
to know what to do. 
It will start without you
It will start without you
It will start without you
Questions
Thank you!!!

More Related Content

Similar to Velocity2014 gvp

Как да станем софтуерни инженери и да стартираме ИТ бизнес?
Как да станем софтуерни инженери и да стартираме ИТ бизнес?Как да станем софтуерни инженери и да стартираме ИТ бизнес?
Как да станем софтуерни инженери и да стартираме ИТ бизнес?Svetlin Nakov
 
Day 15: Pitch & mobile
Day 15: Pitch & mobileDay 15: Pitch & mobile
Day 15: Pitch & mobileCOMP 113
 
Digital devices as one of my 2015-2016 lectures at the University of Bergamo.
Digital devices as one of my 2015-2016 lectures at the University of Bergamo.Digital devices as one of my 2015-2016 lectures at the University of Bergamo.
Digital devices as one of my 2015-2016 lectures at the University of Bergamo.Roberto Peretta
 
Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012
Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012
Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012TEST Huddle
 
Graphite tattle
Graphite tattleGraphite tattle
Graphite tattleDraco2002
 
top developer mistakes
top developer mistakes top developer mistakes
top developer mistakes Hanokh Aloni
 
SharePoint Forms & InfoPath – Go with what you know
SharePoint Forms & InfoPath – Go with what you knowSharePoint Forms & InfoPath – Go with what you know
SharePoint Forms & InfoPath – Go with what you knowRegroove
 
Data Scenarios 2020: 6 Amazing Transformations
Data Scenarios 2020: 6 Amazing TransformationsData Scenarios 2020: 6 Amazing Transformations
Data Scenarios 2020: 6 Amazing TransformationsSafe Software
 
Make SharePoint work for you!
Make SharePoint work for you!Make SharePoint work for you!
Make SharePoint work for you!Asif Rehmani
 
Flow: A living full-stack framework for the web
Flow: A living full-stack framework for the webFlow: A living full-stack framework for the web
Flow: A living full-stack framework for the websebastian sastre
 
Data Data Everywhere: Drowning in a Sea of Analytics
Data Data Everywhere: Drowning in a Sea of AnalyticsData Data Everywhere: Drowning in a Sea of Analytics
Data Data Everywhere: Drowning in a Sea of AnalyticsMegan Denhardt
 
Tough Times Make Tougher Libraries
Tough Times Make Tougher LibrariesTough Times Make Tougher Libraries
Tough Times Make Tougher LibrariesSarah Houghton
 
Designing Windows 8 application - Microsoft Techdays 2013
Designing Windows 8 application - Microsoft Techdays 2013Designing Windows 8 application - Microsoft Techdays 2013
Designing Windows 8 application - Microsoft Techdays 2013Markus Jönsson
 
A Technical Driven Seminar
A Technical Driven SeminarA Technical Driven Seminar
A Technical Driven SeminarDeepak Chawla
 
Introduction to coding and Python
Introduction to coding and PythonIntroduction to coding and Python
Introduction to coding and PythonHaris NP
 
HTML 5 vs. Native Mobile Applications
HTML 5 vs. Native Mobile ApplicationsHTML 5 vs. Native Mobile Applications
HTML 5 vs. Native Mobile Applicationsglenn.kelman
 
Is R Shiny the right tool for you?
Is R Shiny the right tool for you?Is R Shiny the right tool for you?
Is R Shiny the right tool for you?Xavier Prudent
 

Similar to Velocity2014 gvp (20)

Как да станем софтуерни инженери и да стартираме ИТ бизнес?
Как да станем софтуерни инженери и да стартираме ИТ бизнес?Как да станем софтуерни инженери и да стартираме ИТ бизнес?
Как да станем софтуерни инженери и да стартираме ИТ бизнес?
 
Day 15: Pitch & mobile
Day 15: Pitch & mobileDay 15: Pitch & mobile
Day 15: Pitch & mobile
 
Digital devices as one of my 2015-2016 lectures at the University of Bergamo.
Digital devices as one of my 2015-2016 lectures at the University of Bergamo.Digital devices as one of my 2015-2016 lectures at the University of Bergamo.
Digital devices as one of my 2015-2016 lectures at the University of Bergamo.
 
Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012
Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012
Graham Thomas - 10 Great but Now Overlooked Tools - EuroSTAR 2012
 
Graphite tattle
Graphite tattleGraphite tattle
Graphite tattle
 
Blynk presentation
Blynk presentationBlynk presentation
Blynk presentation
 
Final presentation on chatbot
Final presentation on chatbotFinal presentation on chatbot
Final presentation on chatbot
 
top developer mistakes
top developer mistakes top developer mistakes
top developer mistakes
 
SharePoint Forms & InfoPath – Go with what you know
SharePoint Forms & InfoPath – Go with what you knowSharePoint Forms & InfoPath – Go with what you know
SharePoint Forms & InfoPath – Go with what you know
 
Data Scenarios 2020: 6 Amazing Transformations
Data Scenarios 2020: 6 Amazing TransformationsData Scenarios 2020: 6 Amazing Transformations
Data Scenarios 2020: 6 Amazing Transformations
 
Make SharePoint work for you!
Make SharePoint work for you!Make SharePoint work for you!
Make SharePoint work for you!
 
Flow: A living full-stack framework for the web
Flow: A living full-stack framework for the webFlow: A living full-stack framework for the web
Flow: A living full-stack framework for the web
 
Data Data Everywhere: Drowning in a Sea of Analytics
Data Data Everywhere: Drowning in a Sea of AnalyticsData Data Everywhere: Drowning in a Sea of Analytics
Data Data Everywhere: Drowning in a Sea of Analytics
 
Iot moving from theory to practice
Iot moving from theory to practiceIot moving from theory to practice
Iot moving from theory to practice
 
Tough Times Make Tougher Libraries
Tough Times Make Tougher LibrariesTough Times Make Tougher Libraries
Tough Times Make Tougher Libraries
 
Designing Windows 8 application - Microsoft Techdays 2013
Designing Windows 8 application - Microsoft Techdays 2013Designing Windows 8 application - Microsoft Techdays 2013
Designing Windows 8 application - Microsoft Techdays 2013
 
A Technical Driven Seminar
A Technical Driven SeminarA Technical Driven Seminar
A Technical Driven Seminar
 
Introduction to coding and Python
Introduction to coding and PythonIntroduction to coding and Python
Introduction to coding and Python
 
HTML 5 vs. Native Mobile Applications
HTML 5 vs. Native Mobile ApplicationsHTML 5 vs. Native Mobile Applications
HTML 5 vs. Native Mobile Applications
 
Is R Shiny the right tool for you?
Is R Shiny the right tool for you?Is R Shiny the right tool for you?
Is R Shiny the right tool for you?
 

More from Almudena Vivanco

Performance Microservices in the Cloud
Performance Microservices in the CloudPerformance Microservices in the Cloud
Performance Microservices in the CloudAlmudena Vivanco
 
The sWag of performance Testing
The sWag of performance TestingThe sWag of performance Testing
The sWag of performance TestingAlmudena Vivanco
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance TestingAlmudena Vivanco
 
Integrating taurus and jmeter
Integrating taurus and jmeterIntegrating taurus and jmeter
Integrating taurus and jmeterAlmudena Vivanco
 
Fine line between performance and security
Fine line between performance and securityFine line between performance and security
Fine line between performance and securityAlmudena Vivanco
 
Dia02 t03-s04-vlctesting2017-seminario-almudena-vivanco
Dia02 t03-s04-vlctesting2017-seminario-almudena-vivancoDia02 t03-s04-vlctesting2017-seminario-almudena-vivanco
Dia02 t03-s04-vlctesting2017-seminario-almudena-vivancoAlmudena Vivanco
 
Modelling performance tests
Modelling performance testsModelling performance tests
Modelling performance testsAlmudena Vivanco
 
Web pagetest Meetup At Trovit
Web pagetest Meetup At TrovitWeb pagetest Meetup At Trovit
Web pagetest Meetup At TrovitAlmudena Vivanco
 
After test Barcelona 20160303
After test Barcelona 20160303After test Barcelona 20160303
After test Barcelona 20160303Almudena Vivanco
 
Workshop performance vl ctesting
Workshop performance vl ctestingWorkshop performance vl ctesting
Workshop performance vl ctestingAlmudena Vivanco
 
Deployment Driven Development and Performance Testing TEFCON2015
Deployment Driven Development and Performance Testing TEFCON2015Deployment Driven Development and Performance Testing TEFCON2015
Deployment Driven Development and Performance Testing TEFCON2015Almudena Vivanco
 
Performance Best Practices
Performance Best PracticesPerformance Best Practices
Performance Best PracticesAlmudena Vivanco
 
Performance Continuous Integration
Performance Continuous IntegrationPerformance Continuous Integration
Performance Continuous IntegrationAlmudena Vivanco
 

More from Almudena Vivanco (20)

Performance Microservices in the Cloud
Performance Microservices in the CloudPerformance Microservices in the Cloud
Performance Microservices in the Cloud
 
Dotnet conf2019 barcelona
Dotnet conf2019 barcelonaDotnet conf2019 barcelona
Dotnet conf2019 barcelona
 
The sWag of performance Testing
The sWag of performance TestingThe sWag of performance Testing
The sWag of performance Testing
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
Integrating taurus and jmeter
Integrating taurus and jmeterIntegrating taurus and jmeter
Integrating taurus and jmeter
 
Fine line between performance and security
Fine line between performance and securityFine line between performance and security
Fine line between performance and security
 
Dia02 t03-s04-vlctesting2017-seminario-almudena-vivanco
Dia02 t03-s04-vlctesting2017-seminario-almudena-vivancoDia02 t03-s04-vlctesting2017-seminario-almudena-vivanco
Dia02 t03-s04-vlctesting2017-seminario-almudena-vivanco
 
Modelling performance tests
Modelling performance testsModelling performance tests
Modelling performance tests
 
WPT Midiendo la Felicidad
WPT Midiendo la FelicidadWPT Midiendo la Felicidad
WPT Midiendo la Felicidad
 
Web pagetest Meetup At Trovit
Web pagetest Meetup At TrovitWeb pagetest Meetup At Trovit
Web pagetest Meetup At Trovit
 
Expo qa 2016
Expo qa 2016Expo qa 2016
Expo qa 2016
 
Niji power to the user
Niji power to the userNiji power to the user
Niji power to the user
 
After test Barcelona 20160303
After test Barcelona 20160303After test Barcelona 20160303
After test Barcelona 20160303
 
Workshop performance vl ctesting
Workshop performance vl ctestingWorkshop performance vl ctesting
Workshop performance vl ctesting
 
Deployment Driven Development and Performance Testing TEFCON2015
Deployment Driven Development and Performance Testing TEFCON2015Deployment Driven Development and Performance Testing TEFCON2015
Deployment Driven Development and Performance Testing TEFCON2015
 
Workshop for newcomers
Workshop for newcomersWorkshop for newcomers
Workshop for newcomers
 
Devopsdays barcelona
Devopsdays barcelonaDevopsdays barcelona
Devopsdays barcelona
 
Performance Best Practices
Performance Best PracticesPerformance Best Practices
Performance Best Practices
 
Speed me up!
Speed me up!Speed me up!
Speed me up!
 
Performance Continuous Integration
Performance Continuous IntegrationPerformance Continuous Integration
Performance Continuous Integration
 

Velocity2014 gvp

  • 1.
  • 2. Mateus Bartz (@mateus_bartz) Internet and IT professional with +10 years managing a broad range of technologies in large-scale and mission-critical environments. Now working in Telefónica as “Tools master”. Automation, Photos and Programing are my current passion. My motto: If moves, measure it. If not move as you want, automate it! Who are we?
  • 3. Almudena Vivanco (@MrsDaehin) From .net developer to tester. 10 years of experience as performance engineer. Now working in Telefónica I+D as “Performance Jedi”. Active member of the web performance community in Barcelona. Gaming, Music and Maths are my passion My motto: Games don’t cause violence, Lag does! Who are we?
  • 4. Guide to survive a World Wide Event
  • 5. Build the best Video Platform to help Telefonica to become a The Challenge Video Company
  • 6. • PASSION - If it was OK, they will be back • DON’T MISS THE TARGET – The audience go away • WILL START WITHOUT YOU - The soccer game will start at the date/time The golden rule The Golden Rule
  • 9. - Do you know what you are missing? - Know how to act? - Have the relevant info? Don’t miss the target
  • 14. Spain - Brazil- Argentina
  • 15. Many Devices And MANY more ….
  • 20. Continuous ... wait ... what? PREPROD Environment Automated Tests in .NET Stable Environment
  • 25. Old Approach New Approach • Monitoring resolution 5 minutes • 11 tools to monitor performance • Monitoring resolution 15 seconds • Centralized in 1 tool to monitor performance Don’t miss the target
  • 26. Web Servers (FE/API) Cache Layer Databases Audience Graphite Virtualization Storage (SAN/NAS) Networking Don’t miss the target
  • 28. What is graphite? • A highly scalable real-time graphing system • Comprise of 3 projects – Carbon (Collect and record metrics) – Whisper (Storage mechanism) – Graphite-Web (web GUI) • Start here: – http://graphite.readthedocs.org/ – https://github.com/graphite-project/graphite-web Don’t miss the target
  • 29. Example please!!! Don’t miss the target
  • 30. 2nd half begins Introducing: The Soccer Game match begins 1st half ends 2nd half ends Don’t miss the target
  • 31. BE PREPARED FOR THE PEAK Simulate your workload and know your bottleneck Don’t miss the target
  • 32. It is better know the bad things when you have time to solve it !!!! Don’t miss the target
  • 33. If you need different output Start adding a feedback (B) Don’t miss the target
  • 34. Don’t do queries with full tables scans Show and give access SELECT OBJECT_NAME(S.[OBJECT_ID]) AS [OBJECT NAME], I.[NAME] AS [INDEX NAME], USER_SEEKS, USER_SCANS, USER_LOOKUPS, USER_UPDATES FROM SYS.DM_DB_INDEX_USAGE_STATS AS S INNER JOIN SYS.INDEXES AS I ON I.[OBJECT_ID] = S.[OBJECT_ID] AND I.INDEX_ID = S.INDEX_ID Don’t miss the target
  • 35. 1 Index Creation 1 Query change Don’t miss the target
  • 36. Know what are you doing!!! Don’t miss the target
  • 37. The soccer game will start if you are ready or not. Get your team ready. They have to know what to do. It will start without you
  • 38. It will start without you
  • 39. It will start without you

Editor's Notes

  1. Movistar TV is the Digital Video Platform offered by Telefónica in South America ( Argentina, brazil, Chile, and Peru ) and Spain.
  2. movistar TV is the video Solution offered by Telefonica. 2 years ago a television on mobile devices was offered. GO TV is a free service offered to the Movistar TV users. movistar TV offers both OTT and IPTV. We are gonna talk basically on OTT Over-the-top content (OTT) refers to delivery of audio, video, and other media over the Internet without a multiple-system operator being involved in the control or distribution of the content. The provider may be aware of the contents of the Internet Protocol packets but is not responsible for, nor able to control, the viewing abilities, copyrights, and/or other redistribution of the content. This is in contrast to purchase or rental of video or audio content from an Internet service provider (ISP), such as pay television video on demand or an IPTV video service, like AT&T U-Verse. OTT in particular refers to content that arrives from a third party, such as Dramatize, DramaFever, Crackle, HBO, Hulu,myTV, NetD, Netflix, NowTV, RPI TV, WhereverTV, or WWE Network, and is delivered to an end user device, leaving the ISP responsible only for transporting IP packets. a team of 200 people with the goal of making of telefonica a video company Movistar TV is not just Mobile TV but we will talk just about mobile what we call GO TV 2 years ago GO TV went live all the bets into a quality mobile television considering the growth of mobile devices.
  3. Build the best Video Platform to help Telefonica to become a Video ComBuild the best Video Platform to help Telefonica to become a Video Company Build the best Video Platform to help Telefonica to become a Video Company pany
  4. One Shoot
  5. Users that peak Load joining in 5 minutes before the match What we feared the most a Brazil - Spain - Argentina Match :D
  6. One Shoot
  7. The team: Developers, service delivery, Operations, QA distributed in different scrum groups dedicated to a service Content WorkFlow Devices IPTV Platform CDN Suggestions BI
  8. To achieve the best experience for the users. Make of Telefonica a Video Company. The end of Buffering the best Experience for our Users. Live television available from any mobile device ( android, windows phone, iOS ) SmartTVs … set top boxes Whenever. Wherever, however
  9. Smart Probes in front ends ( predictive and scheduled growth ) for instance during an important match as Barça Madrid ( 2013 ) Modular Enabling ( Being able to switch on and off some services such as encoding or content ingestion when the resources are needed in another service ) Cache optimization MongoDB session handling optimization DataBase optimization API optimization
  10. Users log 5 minutes before the match. We need to scale and stability fast! This is the behaviour we had before starting the improvement. We saw users having problems when logging.
  11. Infrastructure Challenge Latency and migration of datacenters
  12. Challenge all the platforms available not only mobile and PC but also, consoles, STB and Smart TV’s
  13. Complexity of the Platform due to integrated services with 3rd parties ( Mediaroom, Widevine, Elemental, PlayReady Isssuer … ) and the integration with the Local Business Centres ( OB’s )
  14. While maintaining the usual dev/qa squads working in sprints ( SCRUM ), some other specialized squads were created involving ops, service delivery, performance and devs. Frontal Engineering, Security and Performance for instance were squads created as a “task force” parallel to the daily work of the usual scrum squads. We define SQUADs per feature, related group of features or task force, involving people from different disciplines (TPM, PGM, DEV, QA, etc.) So SQUADs: Have a clear mission and backlog Self organized and autonomous. Dailys happen inside SQUAD From 5 to 10 people involved (dynamic) Each person should not be involved in more than 3 SQUADs Shared knowledge about a feature and Domain expertise Squad Leader will maintain SQUAD and track cross-dependencies. Anyone can lead a SQUAD, just ask for it There will be TRIBE meetings, where we will track dependencies and follow backlogs evolution
  15. All servers got all sofrware
  16. Continuous Integration QA effort for automation of every device, 80% coverage Using same tools as Devs ( visual Studio ) improved the quality and coverage of tests. Migrating from Jmeter to Visual Studio Load Testing tools. A stable testing in production environment Close to a Constant Deployment delivering new content and new modular features.
  17. but we still have the problem that pre production environment was not accurate … we wanted to be really sure so we enable a testing environment in production. learning process, first time we did a test it killed the Database :D From then on we refined the testing environment and the testing suite.
  18. Thumbox is a service that allows responsive images to be cached and fast vi a API request
  19. http://test.cdn.telefonica.com/?page_id=7
  20. Soccer is one Shoot – 9 times to check and adjust vs 180 times
  21. One Shoot
  22. One Shoot
  23. http://en.wikipedia.org/wiki/Laplace_transform