[Proposal] Reduction of traffic from agent nodes to Jenkins.io

70 views
Skip to first unread message

Phillipp Glanz

unread,
Feb 3, 2025, 4:26:25 AMFeb 3
to Jenkins Developers
Hi everyone,
my name is Phillipp, I was at the Contributor Summit in Brussels on Friday, January 31st. During the presentation of the monthly traffic figures for Cloudflare, I had the idea of using the controller node as a cache for plugin downloads within the network. This could reduce latency or traffik to jenkins infrastructure. I would like to get feedback on my suggestion.

Regards
Phillipp / TheMeinerLP

Basil Crow

unread,
Feb 3, 2025, 11:38:34 AMFeb 3
to jenkin...@googlegroups.com
What would be the consumer(s) of this cache? Other controller(s) in
the same network? The generic caching functionality of something like
Artifactory might be a better fit for this use case.

Phillipp Glanz

unread,
Feb 4, 2025, 12:56:54 PMFeb 4
to Jenkins Developers
To explain the point better,
If you have a controller node and multiple agents, the current flow seems to be that after a plugin install. All nodes download the plugins directly from jenkins.io. From my point of view, it would make more sense to get them from the controller node if this node already has the plugin anyway. Provided the agent and controller versions are the same. This would at least greatly reduce the traffic that goes outside and calls jenkins.io from the agents 

Alex Earl

unread,
Feb 4, 2025, 12:58:39 PMFeb 4
to jenkin...@googlegroups.com
My understanding is that agents do not download plugins at all, the plugins only reside on the controller.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-dev/0752cb85-326e-4052-9ec5-cda97837d167n%40googlegroups.com.

Bruno Verachten

unread,
Feb 4, 2025, 1:05:59 PMFeb 4
to jenkin...@googlegroups.com
I thought I had understood you were targeting all the other controllers in the same network, not the agents. 🤔

Phillipp Glanz

unread,
Feb 4, 2025, 1:07:20 PMFeb 4
to jenkin...@googlegroups.com

Controllers would make more sense, I don't think I have enough knowledge about the agents


Reply all
Reply to author
Forward
0 new messages