We have a simple cloud run function that does video processing and uploads processed videos to youtube. We have configured our function to have at least one instance running.
We are seeing very low network bandwidth when downloading videos from S3 or when uploading them to youtube. Given both uploads and downloads are slow, we suspect this is an issue with your cloud run function setup.
Any advice on how to get better networking performance here?
Thanks!
Hi @rkolluri,
Welcome to the Google Cloud community!
Based on the video processing that your Cloud Run function is designed to do, I'd assume you're using Amazon S3 and Youtube Data API which are essential for this task.
There are numerous factors that may affect the network bandwidth during the video processing task. Here are some of the areas to look into to identify the root cause:
Lastly, make sure to log the performance and output of your Cloud Run function and see if from there, you can get more information about the way your function starts, executes and finishes its intended task -- and the length of time it takes to go from one milestone to the next. Also, this is one way to track your code (through a console log) if it's returning any errors or warnings that provide more clues about what more could be happening.
Hope this helps.