mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-07-12 09:51:00 +00:00
74 lines
7.7 KiB
Markdown
74 lines
7.7 KiB
Markdown
---
|
|
description: "Curated, AI-ranked Java And Java Performance Optimization resources for the 2026 Cloud Native architect: top-tier tools, guides and references (Developer Ecosystem)."
|
|
---
|
|
# Java and Memory Management
|
|
|
|
!!! tip "Nubenetes V2 Elite Portal"
|
|
You are browsing the AI-Curated V2 Elite Edition. Looking for the exhaustive list of references? Check out the [**V1 Historical Archive**](/v1/java-and-java-performance-optimization/).
|
|
|
|
!!! info "Architectural Context"
|
|
Detailed reference for Java and Memory Management in the context of Developer Ecosystem.
|
|
|
|
## Cloud Native Infrastructure
|
|
|
|
### Kubernetes
|
|
|
|
#### Containerized JVM Tuning
|
|
|
|
- **(2021)** [blog.gceasy.io: Best practices: Java memory arguments for Containers 🌟](https://blog.gceasy.io/best-practices-java-memory-arguments-for-containers) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Direct blueprint for configuring JVM heap metrics under Docker environments. Details the risks of omitting explicit container-aware memory allocation rules, preventing silent OOMKilled evictions by the host kernel.
|
|
- **(2020)** [blog.openshift.com: Scaling Java Containers 🌟](https://www.redhat.com/en/blog/scaling-java-containers) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Comprehensive guide explaining how Linux cgroups interact with the JVM's ergonomics. Highlights historical heap-limit misalignment bugs and offers solutions using container-aware flags like UseContainerSupport and MaxRAMPercentage.
|
|
#### JVM Container Optimization
|
|
|
|
- **(2023)** [tech.olx.com: Improving JVM Warm-up on Kubernetes 🌟](https://tech.olx.com/improving-jvm-warm-up-on-kubernetes-1b27dd8ecd58) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Explains technical approaches to address CPU throttling and JIT-compilation cold starts for Java microservices running on Kubernetes. Demonstrates solutions using resource allocation adjustments, pre-heating traffic, and modern CRaC (Coordinated Restore at Checkpoint).
|
|
- **(2021)** [itnext.io: How to cold start fast a java service on k8s (EKS)](https://itnext.io/how-to-cold-start-fast-a-java-service-on-k8s-eks-3a7b4450845d) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Advanced techniques targeting containerized boot times. Compares performance of GraalVM Native Image compiles, AppCDS (Application Class Data Sharing), and Tiered Compilation tuning to mitigate Kubernetes container cold-start delays.
|
|
## Infrastructure
|
|
|
|
### Container Orchestration
|
|
|
|
#### Observability
|
|
|
|
- **(2024)** [piotrminkowski.com: Java Flight Recorder on Kubernetes](https://piotrminkowski.com/2024/02/13/java-flight-recorder-on-kubernetes) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — A real-world implementation guide demonstrating how to manage JDK Flight Recorder (JFR) captures inside containerized Kubernetes clusters. By leveraging modern diagnostic operators like Cryostat, the guide details automated collection pipelines that prevent performance overhead in production microservices.
|
|
### Networking
|
|
|
|
#### Development Tools
|
|
|
|
- **(2021)** [vladmihalcea.com: How to tunnel localhost to the public Internet](https://vladmihalcea.com/tunnel-localhost-public-internet) <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — A practical guide explaining how to tunnel local developer server environments to the public internet using tools like ngrok and SSH reverse forwarding. It details routing steps necessary to test webhook integrations, third-party platform callbacks, and mobile application APIs.
|
|
## JVM Architecture
|
|
|
|
### Ahead-of-Time Compilation
|
|
|
|
#### Diagnostics
|
|
|
|
- **(2021)** [developers.redhat.com: JDK Flight Recorder support for GraalVM Native Image: The journey so far 🌟](https://developers.redhat.com/articles/2021/07/23/jdk-flight-recorder-support-graalvm-native-image-journey-so-far) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Highlights runtime monitoring capabilities for Ahead-of-Time (AOT) compiled Java applications. Explains how native binaries built with GraalVM leverage JFR events to expose custom runtime execution metrics.
|
|
## Observability (1)
|
|
|
|
### Application Performance Monitoring
|
|
|
|
#### Spring Boot
|
|
|
|
- **(2021)** [blog.openshift.com: Performance Metrics (APM) for Spring Boot Microservices on OpenShift](https://www.redhat.com/en/blog/performance-metrics-apm-spring-boot-microservices-openshift) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Technical deep-dive on collecting JVM metrics, distributed traces, and custom telemetry from Spring Boot workloads on OpenShift/Kubernetes, utilizing tools like Micrometer, Prometheus, and Jaeger.
|
|
## Software Development
|
|
|
|
### Caching Strategy
|
|
|
|
#### Performance Optimization
|
|
|
|
- **(2022)** [vladmihalcea.com: Caching best practices](https://vladmihalcea.com/caching-best-practices) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Deep dive into professional application-level cache patterns (Read-Through, Write-Behind, Cache-Aside). Outlines pitfalls including cache-stampede risks, stale data races, and invalidation strategies for highly scalable database applications.
|
|
## Software Engineering
|
|
|
|
### Java Virtual Machine
|
|
|
|
#### Diagnostics and Troubleshooting
|
|
|
|
- **(2021)** [developers.redhat.com: A faster way to access JDK Flight Recorder data](https://developers.redhat.com/articles/2021/11/23/faster-way-access-jdk-flight-recorder-data) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — Technical review of modern JVM Flight Recorder streaming capabilities. It reviews strategies for consuming real-time telemetry events via Java in-memory APIs, offering low-latency, zero-overhead diagnostic monitoring without relying on bulky local file dumps.
|
|
- **(2020)** [developers.redhat.com: Collect JDK Flight Recorder events at runtime with JMC Agent 🌟](https://developers.redhat.com/blog/2020/10/29/collect-jdk-flight-recorder-events-at-runtime-with-jmc-agent) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — A detailed Red Hat guide walking through real-time runtime JVM tracing using the JMC Agent. It explains how to dynamically inject custom JDK Flight Recorder (JFR) event declarations into third-party libraries and production codebases on-the-fly, bypassing the need for restarts or manual instrumentation.
|
|
#### Performance Optimization (1)
|
|
|
|
- **(2020)** [developers.redhat.com: Checkpointing Java from outside of Java](https://developers.redhat.com/blog/2020/10/15/checkpointing-java-from-outside-of-java) <span class='md-tag md-tag--critical'>[ADVANCED LEVEL]</span> <span class='md-tag md-tag--info'>[COMMUNITY-TOOL]</span> — An exploration of JVM checkpoint/restore methodologies focusing on Coordinated Restore at Checkpoint (CRaC) and external CRIU mechanisms. This approach enables instantaneous microservice startup by taking cold snapshots of memory, dramatically lowering latency penalties in serverless deployments.
|
|
|
|
---
|
|
💡 **Explore Related:** [Javascript](./javascript.md) | [Embedded Servlet Containers](./embedded-servlet-containers.md) | [Linux Dev Env](./linux-dev-env.md)
|
|
|
|
🔗 **See Also:** [Kubernetes Backup Migrations](./kubernetes-backup-migrations.md) | [OCP 4](./ocp4.md)
|
|
|