Fork me on GitHub
#juxt
<
2017-10-19
>
raymcdermott15:10:38

I know there is a devops channel but I think the folks here might have answers too....

raymcdermott15:10:48

docker and clojure ..... making uberjars is slow and causes a big layer for every change

raymcdermott15:10:08

anybody have any better / more efficient ideas or options?

dominicm15:10:26

Does start-up time matter to you?

dominicm15:10:24

If docker is your deployment artifact, then it doesn't matter so much to have just your code and .m2 in there

jonpither15:10:30

what we need is a rsync thing for zip/jar files

jonpither15:10:43

but I guess JARs could never work like that- its all or nothing

dominicm16:10:26

you can do binary diffs

jonpither16:10:39

how would that work with a compressed archive tho

dominicm16:10:43

I'm presuming some sense of order is preserved. If it's a total jumble then you're screwed.

raymcdermott17:10:24

@dominicm I like the code only option

raymcdermott17:10:55

we could have an uberjar for production only

raymcdermott18:10:54

in a dream world the only diff would be the small jar containing your compiled code

dominicm18:10:16

Boot does some caching of something in the aot process which apparently gave some speedup.

raymcdermott20:10:56

that would be quite the win for boot