Performance testen in de Cloud Zinvol? TestNet Najaarsevenement 2011 Lammert Vinke Johan Vink
Agenda 1. 2. 3. 4. 5. 6.
Introductie Performance kenmerken Introductie loterij case Aanpak performance test Performance test uitvoering (Demo) Vragen
Performance Testing van applicaties in de cloud
2
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
1
Info Support B.V. - Wie zijn wij? IT-dienstverlener 300 medewerkers Opgericht in 1986 Focus op professionele softwareontwikkeling Alle jaren financieel gezond en autonoom gegroeid Partnerships met o.a. Microsoft, Oracle en NLJUG
Performance Testing van applicaties in de cloud
Performance kenmerken ISO 9126
Response time
Performance
Resource Utilization
Throughput
Performance Testing van applicaties in de cloud
4
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
2
Response Time
Hoeveel tijd heeft het systeem nodig om na het aanroepen van een transactie te reageren met een resultaat?
Performance Testing van applicaties in de cloud
5
Troughput
Hoeveel transacties rond een systeem af in bepaalde tijdseenheid? Performance Testing van applicaties in de cloud
6
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
3
Resourse Utilization
Hoe (efficiënt) gebruikt het systeem de beschikbare bronnen tijdens de verwerking van transactie(s)?
Performance Testing van applicaties in de cloud
7
De Info Support loterij applicatie Ontwikkeling Info Support loterij applicatie Performance requirements afwezig Gedurende bouw & test geen problemen met performance Geen performance testen uitgevoerd Applicatie is gehost in de cloud
Performance Testing van applicaties in de cloud
8
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
4
Loterij applicatie in de cloud Private
Public
Cloud provider
Performance Testing van applicaties in de cloud
9
Iedereen blij (toch?) Sneller en meer opschalen dan verwacht
Kan dat niet goedkoper?
Performance Testing van applicaties in de cloud
10
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
5
Maatregel
Zou de applicatie de bestaande hardware efficiënter kunnen benutten?
Performance Testing van applicaties in de cloud
11
Basis Activiteiten Plan Modeling Application Usage
Performance Testing van applicaties in de cloud
12
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
6
Workload Distribution Pattern Patroon gebaseerd op: – productie data of – expert schatting
Patronen – Mix van transacties – Mix van gebruikers – Denktijd – Verdeling van de transacties over de tijd
Performance Testing van applicaties in de cloud
13
User Community Modeling Language
Performance Testing van applicaties in de cloud
14
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
7
UMCL Additionele informatie
Performance Testing van applicaties in de cloud
15
Demo Performance testen met Microsoft Visual Studio
Performance Testing van applicaties in de cloud
16
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
8
Resultaat voor optimalisatie Ongeveer 10 actieve gebruikers 100% CPU usage op 1 cloud instance
Performance Testing van applicaties in de cloud
17
Resultaat na optimalisatie Ongeveer 200 actieve gebruikers 20% CPU usage op 1 cloud instance
Performance Testing van applicaties in de cloud
18
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
9
Zinvol? Het aantal gebruikers dat kan worden geserviced op 1 cloud instance is 100 keer meer na optimalisatie in onze case Pay per use, dus 100 keer duurdere rekening?
Performance Testing van applicaties in de cloud
19
Wrap up Performance testen van cloud applicaties voorkomt onnodig resource gebruik Besteed vanaf de start van het project aandacht aan performance Bij performance optimalisatie zijn alle disciplines betrokken Met Microsoft Visual Studio 2010 Ultimate heb je het juiste gereedschap in huis.
Performance Testing van applicaties in de cloud
20
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
10
Vragen
Performance Testing van applicaties in de cloud
21
© Info Support • All Rights Reserved • This data may not be copied or distributed without the prior approval of Info Support
www.infosupport.com
11