Skip to content
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

Stress test #28

Merged
merged 9 commits into from
Nov 7, 2024
Merged

Stress test #28

merged 9 commits into from
Nov 7, 2024

Conversation

pmhalvor
Copy link
Owner

Some checks for stress testing the pipeline

Run for different dates

  • Discovered a problem when start and end times returned from search have milliseconds (fixed in 477911a)
  • Found that no data exists after 24-08-24 (for 16kHz). Data for 256kHz on exists up until 24-09-19 (as of 2024-10-20). Tracking in issue Pacific Sound 16kHz broke on 2024-08-24 #27

Rerun for same dates to check behavior when data already exists

image
Resaving previously saved audio is a waste of compute. Refactor this to include some logic is the data already exists, skip upload.

Run for a long period

Could be useful to run for a a week at a time for a few different weeks. From these runs, we can calculate an average cost per day. That average can be used if you want to start taking requests for specific dates.

...

Copy link
Owner Author

@pmhalvor pmhalvor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stress test changes look good. LADR0007 about volume mounts will be picked up in #29

- Requires large network I/O for every request. Could be slow if many requests are made.
- Limits on size of requests. Forced to manually batching and sending requests, causing many more requests per run. Due to parallelism, this could mean many requests simultaneously, which the Cloud Run service will complain about and potentially block.

#### B. _Load inputs through volume mounts_
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What authorization is needed to connect to a GCS bucket storage?

src/stages/audio.py Show resolved Hide resolved
@pmhalvor pmhalvor enabled auto-merge (squash) November 7, 2024 20:54
src/stages/audio.py Outdated Show resolved Hide resolved
@pmhalvor pmhalvor merged commit 224f01a into main Nov 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant