-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load Tests Against Azure Environment #1122
Comments
In order to utilize our existing load tests we need to sign up for the azure locust preview test program. This will take a few days to be completed. Adding the blocked tag to this until we hear back |
@jcrichlake Who are we waiting to hear back from? |
we got past the current issue of the load tests. The problem was we were missing We can probably start adding back the other parts of the load test. We also need to figure out how to authenticate agains the There seems to be a section for secrets in the load test config, so perhaps we could use it to fill in a JWT or perhaps the private key that is used to sign JWTs. Updated this ticket with additional tasks and context. |
I got the original load test file working in Azure (with some modifications) which includes authenticating against the We've only ever done short load tests, so I will experiment with longer load tests and make sure the Azure load test framework continues to work. |
@somesylvie, is the task |
@somesylvie, I ran a larger test after your latest one (description of What are your thoughts on marking the task |
@somesylvie, I made an additional commit to our branch |
Yep, I think this task is completed/resolved |
Yeah, this seems plausible. If we start running into timing issues in future, we can assess them then |
We are closing out an existing card regarding load tests against staging. Can this be included in this card's scope: |
Definitely, it will be included. We'll be figuring out what is a good level of load now that we are hitting real environments. Whenever your changing the load test to hit a different environment (in this case, staging versus local), one should always re-evaluate what is a good, realistic traffic load. |
Two questions I have on this card. Does Flexion need to research a way to charge the CDC for the cost associated with the load testing? Pricing can be found at the below link: https://azure.microsoft.com/en-us/pricing/details/load-testing/ |
Cannot charge to CDC as this is in Internal flexion infrastructure |
DevEx/OpEx
Currently, load tests are only run locally. Obtain more realistic data on TI service performance by running the tests within Azure.
Additional context from the eng-tasks channel:
Set up load tests to run periodically in Azure. Possibly in the Flexion environment first for cost estimation purposes. Eventually having a plan to move them where needed.
Tasks
.getImplementation
instead of@Inject
. - @halprinBrainstorm on how we want to handle sending large amounts of messages to ReportStream. Because we send large amounts of data to TI, we will send large amounts of data to RS. Should we let RS know before we do this? Should we just hope it isn't a problem until they yell at us? Should we edit our code so it doesn't actually send data to RS while load testing (this is extra problematic because we want to load test our application in a realistic manner).Since RS appears to be the major source of latency and variability in our load tests, we intend to use a mock RS endpoint so we can identify/isolate issues within TIjeff-load-test
. - @halprin499
s again.Additional Context
Load testing Internal is fine, but the real benefit is load testing Staging because it is the most like Production. But testing Staging may be "hard" given the access restrictions. We should investigate what it takes to get around those restrictions for load testing. Alternatively, if it takes a sufficiently long time to figure that out without any progress, we could consider changing Internal's configuration to be more Production like when doing load testing.
The text was updated successfully, but these errors were encountered: