Repository navigation
Releases
v0.1.0-beta.1
Ariadne JMH Benchmark Results
| Benchmark | Mode / Param | Score | Error (99.9%) | Memory Alloc |
|---|---|---|---|---|
agentInstrumentedCompletableFutureAsync |
- |
19.600 us/op | ± 0.765 | 328.9 B/op |
agentInstrumentedCompletableFutureMultiHop |
- |
19.027 us/op | ± 0.384 | 856.7 B/op |
agentInstrumentedThreadPoolSubmit |
- |
19.184 us/op | ± 0.755 | 248.8 B/op |
cachedSiteRegistryLookup |
- |
1.245 ns/op | ± 0.016 | 0.0 B/op |
callSiteResolutionClassMode |
- |
5.286 ns/op | ± 0.133 | 0.0 B/op |
callSiteResolutionFullMode |
- |
1320.257 ns/op | ± 41.007 | 1000.0 B/op |
callSiteResolutionSampledMode |
- |
21.107 ns/op | ± 0.520 | 10.1 B/op |
contextAttachAndScope |
- |
10.283 ns/op | ± 0.130 | 0.0 B/op |
contextReadCurrent |
- |
1.427 ns/op | ± 0.022 | 0.0 B/op |
contextSpawn |
- |
7.047 ns/op | ± 0.064 | 40.0 B/op |
directLinkAllocation |
- |
1.547 ns/op | ± 0.048 | 40.0 B/op |
synchronousCallableWrapAndCall |
- |
13.273 ns/op | ± 0.625 | 24.0 B/op |
synchronousRunnableWrapAndRun |
- |
15.171 ns/op | ± 3.542 | 24.0 B/op |
fluxStreamAsyncHop |
BASELINE |
20.624 us/op | ± 0.697 | 3768.1 B/op |
fluxStreamAsyncHop |
ARIADNE |
20.867 us/op | ± 0.815 | 3864.1 B/op |
fluxStreamAsyncHop |
OPERATOR_DEBUG |
24.285 us/op | ± 0.859 | 7064.4 B/op |
monoAsyncHop |
BASELINE |
18.847 us/op | ± 0.544 | 392.0 B/op |
monoAsyncHop |
ARIADNE |
19.131 us/op | ± 0.541 | 488.0 B/op |
monoAsyncHop |
OPERATOR_DEBUG |
21.323 us/op | ± 0.675 | 2848.1 B/op |
monoMultiHopChain |
BASELINE |
38.928 us/op | ± 1.337 | 976.3 B/op |
monoMultiHopChain |
ARIADNE |
38.890 us/op | ± 1.421 | 1264.3 B/op |
monoMultiHopChain |
OPERATOR_DEBUG |
45.113 us/op | ± 2.345 | 6728.3 B/op |
completableFutureMultiHopBaseline |
- |
18.415 us/op | ± 0.497 | 368.0 B/op |
completableFutureMultiHopWrapped |
- |
18.689 us/op | ± 0.343 | 536.3 B/op |
completableFutureSingleHopBaseline |
- |
18.995 us/op | ± 0.656 | 160.1 B/op |
completableFutureSingleHopWrapped |
- |
18.836 us/op | ± 0.483 | 216.0 B/op |
platformPoolAriadneWrapped |
- |
19.516 us/op | ± 0.888 | 168.1 B/op |
platformPoolBaseline |
- |
19.049 us/op | ± 0.849 | 112.1 B/op |
virtualThreadAriadneWrapped |
- |
18.068 us/op | ± 0.582 | 624.1 B/op |
virtualThreadBaseline |
- |
17.551 us/op | ± 0.698 | 368.1 B/op |
Results measured via OpenJDK 21 HotSpot with integrated GC profiler (
-prof gc).
What's Changed
- build(deps): Bump org.springframework:spring-expression from 6.2.12 to 6.2.19 in /examples/spring-boot-demo in the maven group across 1 directory by @dependabot[bot] in #2
Full Changelog: v0.1.0-alpha.2...v0.1.0-beta.1
v0.1.0-alpha.3
Ariadne JMH Benchmark Results
| Benchmark | Mode / Param | Score | Error (99.9%) | Memory Alloc |
|---|---|---|---|---|
agentInstrumentedCompletableFutureAsync |
- |
28.631 us/op | ± 0.981 | 333.1 B/op |
agentInstrumentedCompletableFutureMultiHop |
- |
30.823 us/op | ± 0.196 | 862.3 B/op |
agentInstrumentedThreadPoolSubmit |
- |
28.856 us/op | ± 0.758 | 253.7 B/op |
cachedSiteRegistryLookup |
- |
2.350 ns/op | ± 0.011 | 0.0 B/op |
callSiteResolutionClassMode |
- |
8.676 ns/op | ± 0.828 | 0.0 B/op |
callSiteResolutionFullMode |
- |
2566.075 ns/op | ± 16.797 | 1000.0 B/op |
callSiteResolutionSampledMode |
- |
37.416 ns/op | ± 0.584 | 10.1 B/op |
contextAttachAndScope |
- |
26.406 ns/op | ± 0.052 | 0.0 B/op |
contextReadCurrent |
- |
2.764 ns/op | ± 0.015 | 0.0 B/op |
contextSpawn |
- |
5.836 ns/op | ± 0.010 | 40.0 B/op |
directLinkAllocation |
- |
2.929 ns/op | ± 0.071 | 40.0 B/op |
synchronousCallableWrapAndCall |
- |
25.332 ns/op | ± 0.111 | 24.0 B/op |
synchronousRunnableWrapAndRun |
- |
25.074 ns/op | ± 0.102 | 24.0 B/op |
fluxStreamAsyncHop |
BASELINE |
30.038 us/op | ± 0.828 | 3768.2 B/op |
fluxStreamAsyncHop |
ARIADNE |
30.881 us/op | ± 0.952 | 3864.2 B/op |
fluxStreamAsyncHop |
OPERATOR_DEBUG |
38.976 us/op | ± 1.492 | 7064.3 B/op |
monoAsyncHop |
BASELINE |
28.730 us/op | ± 0.976 | 376.2 B/op |
monoAsyncHop |
ARIADNE |
29.011 us/op | ± 1.179 | 488.2 B/op |
monoAsyncHop |
OPERATOR_DEBUG |
33.805 us/op | ± 1.010 | 2848.2 B/op |
monoMultiHopChain |
BASELINE |
60.787 us/op | ± 2.052 | 982.8 B/op |
monoMultiHopChain |
ARIADNE |
61.077 us/op | ± 2.105 | 1271.8 B/op |
monoMultiHopChain |
OPERATOR_DEBUG |
72.750 us/op | ± 1.600 | 6728.5 B/op |
completableFutureMultiHopBaseline |
- |
29.276 us/op | ± 0.371 | 367.7 B/op |
completableFutureMultiHopWrapped |
- |
30.293 us/op | ± 0.250 | 536.1 B/op |
completableFutureSingleHopBaseline |
- |
28.673 us/op | ± 1.295 | 160.2 B/op |
completableFutureSingleHopWrapped |
- |
29.321 us/op | ± 1.075 | 216.2 B/op |
platformPoolAriadneWrapped |
- |
28.891 us/op | ± 1.019 | 168.2 B/op |
platformPoolBaseline |
- |
28.413 us/op | ± 0.924 | 112.2 B/op |
virtualThreadAriadneWrapped |
- |
28.012 us/op | ± 1.214 | 624.2 B/op |
virtualThreadBaseline |
- |
27.604 us/op | ± 1.637 | 368.2 B/op |
Results measured via OpenJDK 21 HotSpot with integrated GC profiler (
-prof gc).
What's Changed
- build(deps): Bump org.springframework:spring-expression from 6.2.12 to 6.2.19 in /examples/spring-boot-demo in the maven group across 1 directory by @dependabot[bot] in #2
Full Changelog: v0.1.0-alpha.2...v0.1.0-alpha.3
v0.1.0-alpha.2
Ariadne v0.1.0-alpha.2 (Pre-production Alpha)
What's Delivered in this Release
- SLF4J MDC Logging Adapter (
ariadne-adapter-mdc): Transparent propagation of Mapped Diagnostic Context (e.g.orderId,tenantId) across async thread boundaries. - Canary Probes: Integrated runtime self-test diagnostics verifying adapter health on startup without throwing exceptions.
- Memory Retention Safety: Introduced causal depth capping (
ariadne.max.depth, default: 32) during hop dispatch to eliminate unbounded retention leaks in long-lived or recursive tasks. - Dynamic JMX Management: Expose
AriadneMXBean(io.ariadne:type=AriadneManager) for live monitoring, hop metrics, and configuration updates. - JMH Microbenchmark Suite (
ariadne-benchmarks): Automated benchmark harness with GC profiling (-prof gc). The rawbenchmark-results.jsonis attached to this release for auditability.
Roadmap (Planned for Milestone v0.2.0)
- W3C TraceContext (
traceparentheader propagation) - OpenTelemetry reflection bridge (
Span.current()) - Java 21 Scoped Values carrier (
java.lang.ScopedValue) - Kotlin Coroutines adapter (
ThreadContextElement)
v0.1.0-alpha.1
Ariadne v0.1.0-alpha.1 (Pre-Release)
Zero-overhead, production-safe asynchronous causality stack trace reconstruction for the JVM.
We are pleased to announce the first alpha pre-release of Ariadne (v0.1.0-alpha.1).
Ariadne solves the chronic blind spot of modern asynchronous Java: lost causal context when exceptions occur across thread boundaries, reactive streams, and executor pools. Instead of eagerly allocating stack traces on every hop (which devastates throughput), Ariadne records lightweight 24-byte pointers during execution and stitches the causal chain lazily only when an exception is thrown.
Key Capabilities in this Release
- Core Causality Engine: Lightweight causal graph (
Link,AriadneContext) with atomic pointer updates and single-digit nanosecond operations. - Java Agent (
-javaagent:ariadne-agent.jar): Transparent bytecode instrumentation forExecutor,ExecutorService, andCompletableFutureusing ByteBuddy, injected into the JVM Bootstrap ClassLoader. - Reactive Adapters: First-class support for Project Reactor and RxJava 3 with automatic canary probe health-checks and fail-safe degradation.
- Dynamic Configuration & JMX Observability:
- Live parameter adjustment (
maxDepth,canaryProbesEnabled,failFast) via System Properties, Environment Variables, or JMX (io.ariadne:type=AriadneManager). - Contention-free lock-free counters using
LongAddertracking hops, reconstructions, capped depths, and adapter health status.
- Live parameter adjustment (
- Zero External Production Dependencies: Core module depends only on the standard Java 21 runtime.
Performance Highlights (JMH 1.37 on Linux / Java 21)
| Operation | Observed Latency | Impact |
|---|---|---|
| Context Read | 1.6 ns | Near CPU L1 cache speed |
| Direct Link Creation | 3.9 ns | Lightweight 24-byte immutable record |
Context Hop (spawn) |
4.5 ns | Read parent + allocate node + thread update |
| Overhead per Async Hop | ~148 ns | Imperceptible vs. OS scheduler jitter |
| Reactive Stream (100 elements) | +0.68 µs | Less than 6% overhead across 100 elements |
Quick Start: Attaching the Agent
Download ariadne-agent-0.1.0-alpha.1.jar from the release assets below and run your application:
java -javaagent:ariadne-agent-0.1.0-alpha.1.jar -jar your-app.jar