-
Notifications
You must be signed in to change notification settings - Fork 4
Pull settings from config file, write/import via S3 #75
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
Conversation
Works in CH and CSV, fails in Ralph right now. Learners in course size markup not respected yet.
Actors are now assigned to courses with a registration date less than the course end date. Their events should all be between their registration date and the course end date. All actors are registered as part of setup.
Small updates to existing events to be more realistic and match what is actually being produced.
Also refactor to remove "known_" prefixes since they're all generated up front now.
Works for local files still, but also allows direct write to (for example) S3, so we don't write gigs of files locally, then have to upload them. Seems to take about 30% longer than just writing locally, but if you include the upload time it saves about 50%.
Given a location and credentials, this can do a direct import from S3 to ClickHouse, which is very fast.
That wasn't used in most cases, and since we now explicitly define the distributions we no longer need it.
460bf74 to
a70b0fb
Compare
Ian2012
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me, still pending a testing with s3 and k8s
|
@bmtcril To avoid issues with updates on ERB, should we make obligatory to update this repo too whenever a contribution or change is done there? |
|
@Ian2012 I don't think we need to block ERB on this project, it's generally ok for it to fall a little behind since it's not a validation tool, just a best approximation load test tool. |
Ian2012
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally with s3, CSV, Clickhouse and Ralph backends
Apologies for the massive PR, this has been getting heavy iteration while I've been load testing for the last several weeks. The culmination of this work is a much faster, more reproducible, and more realistic set of data that exercises all of the existing Aspects Instructor Dashboard reports.
The changes fall into a few buckets: