Skip to content

+sample DistributedBuilds a fun example pretending to be a "jenkins"-like thing - #1091

Draft
ktoso wants to merge 10 commits into
apple:mainfrom
ktoso:wip-load-balancing-builds-with-tracing
Draft

+sample DistributedBuilds a fun example pretending to be a "jenkins"-like thing#1091
ktoso wants to merge 10 commits into
apple:mainfrom
ktoso:wip-load-balancing-builds-with-tracing

Conversation

@ktoso

@ktoso ktoso commented Nov 15, 2022

Copy link
Copy Markdown
Member

A new example that's very fun to visualize using tracing.

It uses singletons and receptionist to implement a "jenkins"-like system.
By adding more nodes to the system, you can see it linearly decrease the time it needs to finish the "builds"!

With 2 nodes it takes 12 minutes... and is a pyramid of doom:
Screenshot 2022-11-15 at 21 55 37

This depends on the Tracing adoption PR.

And with 5 worker nodes it's this lovely execution:
Screenshot 2022-11-15 at 22 00 19

@ktoso
ktoso marked this pull request as draft November 15, 2022 15:01
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