Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Mateus Bartz 
(@mateus_bartz) 
Internet and IT professional with +10 
years managing a broad range of 
technologies in lar...
Almudena Vivanco 
(@MrsDaehin) 
From .net developer to tester. 10 years 
of experience as performance engineer. 
Now worki...
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 - T...
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...
Web Servers 
(FE/API) 
Cache Layer 
Databases 
Audience Graphite 
Virtualization 
Storage 
(SAN/NAS) 
Networking 
Don’t mi...
Don’t miss the target
What is graphite? 
• A highly scalable real-time graphing system 
• Comprise of 3 projects 
– Carbon (Collect and record m...
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.[...
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 w...
It will start without you
It will start without you
Questions
Thank you!!!
Velocity2014 gvp
Upcoming SlideShare
Loading in …5
×

Velocity2014 gvp

53,190 views

Published on

  • Be the first to comment

  • Be the first to like this

Velocity2014 gvp

  1. 1. 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?
  2. 2. 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?
  3. 3. Guide to survive a World Wide Event
  4. 4. Build the best Video Platform to help Telefonica to become a The Challenge Video Company
  5. 5. • 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
  6. 6. The Users
  7. 7. The Passion
  8. 8. - Do you know what you are missing? - Know how to act? - Have the relevant info? Don’t miss the target
  9. 9. The Team
  10. 10. Our Goal
  11. 11. Scalability
  12. 12. The Behaviour
  13. 13. Spain - Brazil- Argentina
  14. 14. Many Devices And MANY more ….
  15. 15. The Jungle
  16. 16. Change of Strategy
  17. 17. Global Video Platform Squads
  18. 18. Deployment
  19. 19. Continuous ... wait ... what? PREPROD Environment Automated Tests in .NET Stable Environment
  20. 20. Stable Testing Environment
  21. 21. Thumbox
  22. 22. Latency
  23. 23. In House CDN
  24. 24. 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
  25. 25. Web Servers (FE/API) Cache Layer Databases Audience Graphite Virtualization Storage (SAN/NAS) Networking Don’t miss the target
  26. 26. Don’t miss the target
  27. 27. 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
  28. 28. Example please!!! Don’t miss the target
  29. 29. 2nd half begins Introducing: The Soccer Game match begins 1st half ends 2nd half ends Don’t miss the target
  30. 30. BE PREPARED FOR THE PEAK Simulate your workload and know your bottleneck Don’t miss the target
  31. 31. It is better know the bad things when you have time to solve it !!!! Don’t miss the target
  32. 32. If you need different output Start adding a feedback (B) Don’t miss the target
  33. 33. 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
  34. 34. 1 Index Creation 1 Query change Don’t miss the target
  35. 35. Know what are you doing!!! Don’t miss the target
  36. 36. 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
  37. 37. It will start without you
  38. 38. It will start without you
  39. 39. Questions
  40. 40. Thank you!!!

×