<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Benchmark on tsvinc</title>
    <link>https://tsvinc.dev/tags/benchmark/</link>
    <description>Recent content in Benchmark on tsvinc</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 20 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://tsvinc.dev/tags/benchmark/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>We Removed Reactor. Nothing Got Slower.</title>
      <link>https://tsvinc.dev/posts/reactor-removal-benchmark/</link>
      <pubDate>Sat, 20 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://tsvinc.dev/posts/reactor-removal-benchmark/</guid>
      <description>&lt;p&gt;We took the entire reactive stack out. R2DBC, Mono, Flux, Reactor Core, loom-carrier, &lt;code&gt;flatMap&lt;/code&gt; with its carefully-tuned concurrency arguments. Replaced it with JDBC, HikariCP, and blocking method calls. Same endpoints. Same Netty HTTP server. Same PostgreSQL. Same k6 load profile: 10 to 200 VUs, 500 req/s constant arrival rate, seven scenarios each.&lt;/p&gt;&#xA;&lt;p&gt;Throughput didn&amp;rsquo;t move. Latency dropped. Memory dropped. GC pauses dropped 63% at 256 MB.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-scoreboard&#34;&gt;The Scoreboard&lt;/h2&gt;&#xA;&lt;p&gt;This is &lt;a href=&#34;https://tsvinc.dev/series/micronaut-256mb/&#34;&gt;part of the series&lt;/a&gt; benchmarking a Micronaut 5.0.0 app under memory constraints. The reactive version is the one from &lt;a href=&#34;https://tsvinc.dev/posts/flatmap-backpressure/&#34;&gt;Part 10&lt;/a&gt; and &lt;a href=&#34;https://tsvinc.dev/posts/loom-carrier-reactive/&#34;&gt;Part 11&lt;/a&gt; — fully tuned, &lt;code&gt;flatMap&lt;/code&gt; concurrency bounded, R2DBC pool sized to match, loom-carrier enabled for virtual threads. The imperative version: JDBC/HikariCP, &lt;code&gt;THREAD_PER_TASK&lt;/code&gt; executor for virtual threads, same pool size.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
