Jenkins Remoting Library and JarCache

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Jenkins Remoting Library and JarCache

Kristian-2
Hi,

I read, that the Remoting library of Jenkins has a so-called Cache dir
(https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md).

Why is this cache dir needed? What is the purpose of it? And what is
concretely saved/cached in there? I only see a bunch of jar files...

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhOWvcuUUBPBEyVvRDkKrDWqh3nrnnAH%3Dh-0jk60PAPQwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jenkins Remoting Library and JarCache

Oleg Nenashev
Yes, it is a bunch of JAR Files and other resources like DLLs. In Jenkins Remoting agents are lightweight libraries (slave.jar), which do not contain much logic OOTB. This cache is required in order to save remoting data and to avoid high classloading traffic every time your agent connects to the master and executes builds.

Currently Jenkins core enforces FileSystem JAR cache in remoting though Remoting can probably work without it. If you want to have such mode, feel free to submit issue in JIRA. Pull requests will be also appreciated.

Hopefully it helps,
Oleg Nenashev

пятница, 19 мая 2017 г., 15:25:42 UTC+2 пользователь Kristian X написал:
Hi,

I read, that the Remoting library of Jenkins has a so-called Cache dir
(<a href="https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fremoting%2Fblob%2Fmaster%2Fdocs%2FworkDir.md\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEGlPs-G_0G4UKHrNy0x9yriQ7Rqw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fremoting%2Fblob%2Fmaster%2Fdocs%2FworkDir.md\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEGlPs-G_0G4UKHrNy0x9yriQ7Rqw&#39;;return true;">https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md).

Why is this cache dir needed? What is the purpose of it? And what is
concretely saved/cached in there? I only see a bunch of jar files...

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/05370b2b-fa9c-46f9-809e-6189f6c3b0d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...