Performance as a Self-Service Flashcards
6 parameters for the load test
- SERVER URL - The domain of the service.
- SERVER_PORT - The port of the service.
- CHECK_PATH - The endpoint to send the requests to.
- DT_LTN - The Load Test Name uniquely identifies a test execution.
- VUCount - The number of virtual users
- LoopCount - The number of loops each virtual user performs.
what does the x-dynatrace-test header contain
list of key-value pairs
what are the keys of the x-dynatrace-test header?
- VU - Virtual User ID of the unique user who sent the request.
- TSN - Test Step Name a logical test step within your load testing script (for example, Login or Add to cart.
- LSN - Load Script Name - name of the load testing script. This groups a set of test steps that make up a multi-step transaction (for example, an online purchase)
- LTN • The Load Test Name uniquely identifies a test execution (for example, 6h Load Test - June 25)
how is the load testing tool named?
jmeter
recreate
- version A is shutdown and version B is rolled out
recreate PRO
- app state renewed
2. easy to do
recreate NEG
- Downtime => users affected
ramped
- rollout version B which slowly replaces version A instances
ramped PRO
- easy to do
2. new version is slowly released
ramped NEG
- No control over traffic
2. rollout can take time
blue/green
- version B is released with version A
- traffic is switched to green at the load balancer
blue/green PRO
- no version conflict
2. instant rollout/rollback
blue/green NEG
- Long transactions
2. Not good with stateful apps
canary
- gradually shifting from A to B
- control over traffic
canary PRO
- Easy rollout/rollback
2. New version released to a subset
canary NEG
- Not good with stateful apps
2. Slow
A/B
- shift from A to B based on criteria
A/B PRO
- full traffic control
A/B NEG
- Hard to troubleshoot
Shadow
- deploy version B with version A
- shadow traffic from A to B
Shadow PRO
- testing B under real conditions
- easy rollout
Shadow NEG
- costly (double the resources)
- not a true user test
what is Istio used for?
service interaction management
3 main components of Istio?
- Pilot
- Mixer
- Citadel
Pilot
policy routing
Mixer
policy enforcement
Citadel
service to service authentication and encryption
Gateway
load balancer receiving outgoing/incoming requests
VirtualService
defines traffic routing rules when a host is addresed
Destination rule
what policies to apply after routing
Service Entry
used to define new services