Download - Webperfdays2014 movistar tv
![Page 1: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/1.jpg)
![Page 2: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/2.jpg)
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!
![Page 3: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/3.jpg)
Guide to survive a World Wide Event
![Page 4: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/4.jpg)
The Challenge
Build the best Video Platform to help Telefonica to become a
Video Company
![Page 5: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/5.jpg)
The golden rule
• 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
![Page 6: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/6.jpg)
The Users
![Page 7: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/7.jpg)
The Passion
![Page 8: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/8.jpg)
- Do you know what
you are missing?
- Know how to act?
- Have the relevant
info?
Don’t miss the target
![Page 9: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/9.jpg)
The Behaviour
![Page 10: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/10.jpg)
The Team
![Page 11: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/11.jpg)
Our Goal
![Page 12: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/12.jpg)
Scalability
![Page 13: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/13.jpg)
Spain - Brazil- Argentina
![Page 14: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/14.jpg)
Many Devices
And MANY more ….
![Page 15: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/15.jpg)
The Jungle
![Page 16: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/16.jpg)
Change of Strategy
![Page 17: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/17.jpg)
Global Video Platform Squads
![Page 18: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/18.jpg)
Continuous ... wait ... what?
Automated Tests in .NET
PREPROD Environment
Stable Environment
![Page 19: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/19.jpg)
Front End Engineering
WHO Ops Networking,
Performance and Security Eng.
WHAT Avalanche Control
Concurrent Session Control
HOW Firewall Policies, Smart
Probes, MongoDB
![Page 20: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/20.jpg)
MongoDB Issues
![Page 21: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/21.jpg)
NAS issues
![Page 22: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/22.jpg)
Performance
Load Analysis
and Simulation
Cache, DB Tuning
Scalability, Resilience
![Page 23: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/23.jpg)
Deployment
![Page 24: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/24.jpg)
Stable Testing Environment
![Page 25: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/25.jpg)
Latency
![Page 26: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/26.jpg)
In House CDN
![Page 27: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/27.jpg)
GraphiteAudience
Web Servers (FE/API)
Cache Layer
Databases
Virtualization
Storage (SAN/NAS)
Networking
Don’t miss the target
![Page 28: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/28.jpg)
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
![Page 29: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/29.jpg)
2nd half begins
match begins
1st half ends 2nd half
ends
Introducing: The Soccer Game
Don’t miss the target
![Page 30: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/30.jpg)
BE PREPARED FOR THE PEAK
Simulate your workload and know
your bottleneck
Don’t miss the target
![Page 31: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/31.jpg)
It is better know the bad things when you have time to solve it !!!!
Don’t miss the target
![Page 32: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/32.jpg)
Don’t do queries with full tables scans
Show and give access
SELECTOBJECT_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 SINNER JOIN SYS.INDEXES AS ION I.[OBJECT_ID] = S.[OBJECT_ID]AND I.INDEX_ID = S.INDEX_ID
Don’t miss the target
![Page 33: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/33.jpg)
1 Index Creation 1 Query change
Don’t miss the target
![Page 34: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/34.jpg)
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
![Page 35: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/35.jpg)
It will start without you
![Page 36: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/36.jpg)
Questions
![Page 37: Webperfdays2014 movistar tv](https://reader034.vdocuments.us/reader034/viewer/2022052508/559b765f1a28ab6a4f8b47ad/html5/thumbnails/37.jpg)
Thank you!!!