You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support p2p volume streaming when workers are in different network #7017
The performance gain of enabling p2p volume streaming is promising, as shown in #6186. However for use case that workers live within different network the volume streaming will fail as two workers might not see each other i.e. worker in cluster with web nod and external worker.
If we allow worker to have an indicator of its network then we could limit the p2p volume streaming for only workers in same network. Then we could remove feature flag set on enable-p2p-volume-streaming or even make it a default behaviour.
The multi-IaaS/multi-cloud use-case is core to both the CF and TAS CI use cases of Concourse, as well as "resource gateway" CD patterns in TAS customer installation environments where some workers (able to reach the internet) fetch releases from vendors and put them in a blobstore, and other (non-internet-routable) workers grab them from blob stores and upload them to environments; in all cases the performance gains offered here are also highly relevant; the artifacts that need to get streamed around tend toward the multi-gigabyte.
All of these use-cases use tags, but tags can't be guaranteed to fit network topology. Doing something to actually indicate/detect network would be good, but maybe there's an alternative world where tags offer an alternative, too.
I think this enhancement/fix would be worth an investment.
We have concourse builders located at various physical sites over slower links, and it ends up being a horrible mess of tags to try and wrangle the environment.
The volumes shipping between nodes seems nonsensical. (why ship a 4GiB volume from node A to node B when neither node has any additional backlog work queued?) Jobs with multiple steps waste a lot of time shuffling volumes around for each step.
Activity
anEXPer commentedon Sep 21, 2022
The multi-IaaS/multi-cloud use-case is core to both the CF and TAS CI use cases of Concourse, as well as "resource gateway" CD patterns in TAS customer installation environments where some workers (able to reach the internet) fetch releases from vendors and put them in a blobstore, and other (non-internet-routable) workers grab them from blob stores and upload them to environments; in all cases the performance gains offered here are also highly relevant; the artifacts that need to get streamed around tend toward the multi-gigabyte.
All of these use-cases use tags, but tags can't be guaranteed to fit network topology. Doing something to actually indicate/detect network would be good, but maybe there's an alternative world where tags offer an alternative, too.
I think this enhancement/fix would be worth an investment.
kallisti5 commentedon Feb 20, 2024
This one we have been struggling with as well.
We have concourse builders located at various physical sites over slower links, and it ends up being a horrible mess of tags to try and wrangle the environment.
The volumes shipping between nodes seems nonsensical. (why ship a 4GiB volume from node A to node B when neither node has any additional backlog work queued?) Jobs with multiple steps waste a lot of time shuffling volumes around for each step.
taylorsilva commentedon Jan 6, 2025
Issue Bankruptcy
This issue is being closed as part of 2025's Issue Bankruptcy declaration. See here for details
If you think this issue still has merit then feel free to open a new issue and reference this one.
worker: behaviour: add fallback to ATC streaming when P2P fails