Performance testen in de Cloud Zinvol? TestNet Najaarsevenement 2011 Lammert Vinke Johan Vink Agenda 1. Introductie 2. Performance kenmerken 3. Introductie loterij case 4. Aanpak performance test 5. Performance test uitvoering (Demo) 6. Vragen Performance Testing van applicaties in de cloud 2 1
Info Support B.V. -Wiezijnwij? 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 Throughput Resource Utilization Performance Testing van applicaties in de cloud 4 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 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 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 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 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 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 8
Resultaat voor optimalisatie Ongeveer10 actievegebruikers 100% CPU usage op 1 cloud instance Performance Testing van applicaties in de cloud 17 Resultaat na optimalisatie Ongeveer200 actievegebruikers 20% CPU usage op 1 cloud instance Performance Testing van applicaties in de cloud 18 9
Zinvol? Het aantal gebruikers dat kan worden geservicedop 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 cloudapplicaties 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 10
Vragen Performance Testing van applicaties in de cloud 21 11