RSSAmplifier

Blog

Arkstack Blog

Articles on Cloud Architecture, modern Java, and zero-waste software engineering.

blog.arkstack.devRSS feed ↗9 posts

Latest posts

What I Knew, and What I Built

Two Exeris Kernel seams I retrofitted — body codec and identity provider — and why both gaps were invisible until I read the consumer's code, not the contract.

ByteBuffer Solves Half the Problem: The LoanedBuffer Pattern

Direct ByteBuffer gives you zero-copy. It does not give you deterministic cleanup. In a runtime where memory ownership is part of the architecture, that gap is structural - not a tuning detail.

What you measure depends on where you draw the boundary

Most saga framework benchmarks measure dispatch time, not work completed. Here's what changes when you measure all of it — and why two unrelated Axon-based stacks share the same correctness defect under configured failure injection.

Where StructuredTaskScope Ends: Building the Flow Layer in Exeris

STS gives you structured concurrency within a scope. Flow gives you structured execution across time. The moment a step needs to park and resume after an external event — you've left STS territory.

Your TLS Stack Is Lying to You About Zero-Copy

In a zero-allocation runtime, SSLEngine becomes a structural mismatch. It keeps TLS on the heap-facing side of the JVM, makes cleanup less deterministic, and breaks the off-heap ownership model.

StructuredTaskScope beyond toy examples: dependency-aware kernel bootstrap in modern Java

Why StructuredTaskScope fit my subsystem startup orchestration better than futures or thread pools — and why I still kept part of bootstrap strictly sequential.

Reevaluating 1990s OOP in Java: DOP, Scoped Values, and Loom in 2026

A pragmatic look at how Data-Oriented Programming and modern JDK primitives can reduce the abstraction tax of traditional GoF patterns in closed-domain systems.

Why I Banned ThreadLocal from the Exeris Kernel (And What Replaced It)

In a zero-copy runtime designed for 1-VT-per-Stream density, ThreadLocal is a performance serial killer. Here is the forensic analysis and how JEP 506 Scoped Values changed everything.

Welcome to Arkstack — JVM Performance, Off-heap Memory & Low-Latency Architecture

Arkstack.dev is an engineering blog focused on JVM Performance Tuning, Low-Latency Java Architecture, Off-heap Memory Management, and Legacy System Modernization. Built by an engineer who fights the GC for a living.