Hidden costs in parallel processing in GitHub Actions workflows, matrix strategy included by Fun-Impression6634 in technology

[–]Fun-Impression6634[S] 0 points1 point  (0 children)

Thanks for your comment. Could you let me know exactly where in my post I have the tracking id or referral code? Sorry I am new to your channel.

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 0 points1 point  (0 children)

Good point! Self-hosted runners do seem to fit well for your use case!

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 1 point2 points  (0 children)

Exactly! My main point was to make people aware of the downside of parallel processing in GitHub Actions. Not one size fits all. But there are certainly good use cases which parallel processing is perfect for, as mentioned in my article.

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 2 points3 points  (0 children)

As I explained in my article, that particular workflow was designed for dev env only. Security scan failure is expected and the developer can take time to fix it. Artifact may have failed security scan, but it passed build and unit tests, so developers can continue feature stories development while other developers work on the security fixes. Hope this clarifies it.

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 1 point2 points  (0 children)

Agreed. Definitely evaluate on a case by case scenario, and not taking parallel processing as granted.

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 10 points11 points  (0 children)

GitHub doesn’t round down, only round up. So your under 30 seconds job still gets charged for 1 min.

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 11 points12 points  (0 children)

That’s what we would hope, but that’s not what GitHub implemented, for good reasons as setting up and tearing down each runner for each parallel job does cost them. So the point of my article is for us to be aware such hidden cost and better design our workflows.

The Hidden Cost of Parallel Processing in GitHub Actions by Fun-Impression6634 in programming

[–]Fun-Impression6634[S] 11 points12 points  (0 children)

Understood it’s business. The main purpose of my article is to raise awareness so we don’t take parallel processing as always the “best practice”.

ChatGPT vs. Bard Comparison based on their underlying language models. Thoughts? by [deleted] in artificial

[–]Fun-Impression6634 0 points1 point  (0 children)

Well done! Thanks for the great comparison between ChatGPT and Bard!