Thanks for sharing :) https://github.com/puppetlabs/trapperkeeper is kinda like that - it's like Component, but it's also a runtime-configurable system by which devops people can enable/disable components, endpoints, etc at will hot-code-reloading Clojure code in production is possible with a "Reloaded"-like workflow. However starting from a certain scale (say 50KLOC), compiling so much code live will be just as slow as launching a new precompiled .jar in the first place. And the .jar method has rollback...
Hey guys I hope it is not too rude to crowdsource a recommendation for a JVM book. Iβm hoping to learn enough to understand things like what do the different GC options mean, what the different types of memory are, how to tune the JVM and the different tradeoffs. Ideally it is not written for people with PhDs π
I should mention that Iβm looking for info about java the platform, not java the language (unsurprisingly for a clojure forum)
I can't recommend a book but here are some relevant links that other people here have recommended before: http://www.cs.umd.edu/~pugh/java/memoryModel/ https://gpetri.github.io/publis/jmm-vamp07.pdf https://shipilev.net/blog/2014/jmm-pragmatics/ http://gee.cs.oswego.edu/dl/jmm/cookbook.html This one is a book with a separate chapter about the memory model: https://jcip.net/
A comment by Alex Miller about the JCiP book in particular: β[...] a great book [...], well worth reading even if youβre not using Javaβ
Thank you for your recommendations!
Also flew by on twitter this week: https://docs.oracle.com/en/java/javase/16/gctuning/introduction-garbage-collection-tuning.html#GUID-326EB4CF-8C8C-4267-8355-21AB04F0D304