GraalVM Native Image with Docker
GraalVM Native Image is a tool that takes your Java (or other JVM-based) application and compiles it ahead of time (AOT) into a standalone, platform-specific executable.
GraalVM Native Image is a tool that takes your Java (or other JVM-based) application and compiles it ahead of time (AOT) into a standalone, platform-specific executable.
JLink is a tool included with the JDK (Java Development Kit) starting from Java 9 that lets you create a custom, minimal Java runtime containing only the modules your application actually needs.
Instead of using the full 200+ MB JDK/JRE, you can use JLink to generate a slim, app-specific JRE image.
In this post, I will introduce the Fully Dockerized Gradle Workflow.
Containers share the host kernel, which means that the code that’s running inside the container must be compatible with the host’s architecture. This is why you can’t run a linux/amd64
container on an arm64 host (without using emulation), or a Windows container on a Linux host.
Junk files are unnecessary files produced by the operating system or software. Junk files keep increasing, but our computer disks are limited. So we need to delete junk files regularly. Otherwise, we may not have enough free space to use.
Sentinel is an open-source project for circuit breaker in Spring Cloud Alibaba. It mainly includes the following functions: flow control, circuit breaker, and system adaptive protection.
Nacos is an open-source project for configuration and service discovery in Spring Cloud Alibaba.
Nacos’s service discovery supports almost all mainstream services: Kubernetes Service, gRPC, Dubbo RPC Service, Spring Cloud RESTful Service, and so on.
Spring Cloud Circuit Breaker provides an abstraction across different circuit breaker implementations. It provides a consistent API to use in your applications allowing you the developer to choose the circuit breaker implementation that best fits your needs for your app.
Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross-cutting concerns to them, such as security, monitoring/metrics, and resiliency.
Spring Cloud OpenFeign is a declarative HTTP client provided by the Spring Cloud ecosystem. It allows you to write web service clients by defining Java interfaces, abstracting away the need for manually writing REST client code using RestTemplate
or WebClient
.