Spring Loaded
documentation
Spring Loaded | documentation | |
---|---|---|
2 | 5 | |
2,710 | 454 | |
0.1% | - | |
0.0 | 6.1 | |
about 2 years ago | almost 3 years ago | |
Java | Shell | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Spring Loaded
-
What blocked you from migrating beyond Java 8?
Hot reloading with spring-loaded doesn't support anything beyond JDK 8. New spring-devtools is much slower.
-
Speed boost achievement unlocked on Docker Desktop 4.6 for Mac
When using Java, with say, jib and skaffold, when a change is detected the image is rebuilt with some fairly smart cacheing being done to minimize the build time.
In more interesting setups, the class files aren't in the image but rather mapped in - much the same way one would with dynamic and then a hot reload - https://docs.spring.io/spring-boot/docs/1.3.8.RELEASE/refere...
> Spring Loaded goes a little further in that it can reload class definitions with changes in the method signatures. With some customization it can force an ApplicationContext to refresh itself (but there is no general mechanism to ensure that would be safe for a running application anyway, so it would only ever be a development time trick probably).
And this way, the container can remain the same with the class files being changed underneath it.
https://github.com/spring-projects/spring-loaded
documentation
-
Speed boost achievement unlocked on Docker Desktop 4.6 for Mac
Both Kata Containers and UTM support virtio-fs, so this is not strictly true. The former can be used as a stand-in replacement for the runtime used by docker desktop[1]. With the latter, one could use a UTM-backed guest as a docker runtime in macOS[2] or run docker directly on the guest[3].
[1] https://github.com/kata-containers/documentation/blob/master...
[2] https://www.codeluge.com/post/setting-up-docker-on-macos-m1-...
[3] https://www.lifeintech.com/2021/11/03/docker-performance-on-...
-
Kubernetes Security Checklist 2021
For services with increased security requirements, it is recommended to use a low-level run-time with a high degree of isolation (gVisior, Kata-runtime)
-
Kata Containers on GKE?
On the official Kata repo, I found a tutorial only for manually deployed Kubernetes on GCE.
-
Monitoring Elixir Apps on Fly.io with Prometheus and PromEx
This is new and may not be used much, but it is possible to use part of Kata with part of Firecracker. https://github.com/kata-containers/documentation/wiki/Initia...
-
Docker Without Docker
If it's using firecracker, it's probably using KVM virtualization while ensuring that the memory the VM consumes is not pinned... that is, that the VM can be swapped out of memory. For reference, firecracker was created by AWS to run and secure AWS Lambda. The hypervisor is written in rust and uses seccomp to eliminate unnecessary system calls. They open sourced it a few years back.
What you gain is a stronger security boundary. Just FYI, since 2019, you can also do this in Kubernetes using Kata containers which will happily shim firecracker. The setup is not simple though.
https://github.com/kata-containers/documentation/wiki/Initia...
Overall, fly.io building infrastructure on this pattern is fantastic and making it accessible is fantastic. Looking forward to seeing how this continues to evolve and am happy to see more infra build on top of firecracker. Very exciting!
What are some alternatives?
DCEVM - Dynamic Code Evolution VM for Java 7/8
grype - A vulnerability scanner for container images and filesystems
Lombok - Very spicy additions to the Java programming language.
kubevirt - Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
HotswapAgent - Java unlimited redefinition of classes at runtime.
simplenetes - The sns tool is used to manage the full life cycle of your Simplenetes clusters. It integrates with the Simplenetes Podcompiler project podc to compile pods.
JHipster - JHipster, much like Spring initializr, is a generator to create a boilerplate backend application, but also with an integrated front end implementation in React, Vue or Angular. In their own words, it "Is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures."
oci-seccomp-bpf-hook - OCI hook to trace syscalls and generate a seccomp profile
Immutables - Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
krane - Kubernetes RBAC static analysis & visualisation tool
JavaParser - Java 1-18 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
cvehound - Check linux sources dump for known CVEs.