Why we picked Vert.x over Node.js for an integration gateway
An honest look at the runtime choice behind VectorFlowApp — backpressure under real load, the JVM ecosystem advantage for integration work, and the one place Vert.x hurt (Netty and Jackson version alignment).
Every new API gateway or integration platform I've seen pitched in the last five years was written in Node.js. Fast to prototype. Big npm catalog. Hiring pool the size of a continent. The default choice.
We looked at it, considered it, and then built VectorFlowApp on Vert.x. This post is the honest version of why — including the one place the choice actively hurt us.
What an integration gateway actually does
Before the "which runtime" question is useful, it's worth being specific about the workload. An integration gateway is not a typical HTTP service. The shape is:
- Terminate a client request
- Call 2–8 upstream systems (REST APIs, databases, queues, SaaS endpoints)
- Transform, merge, branch, retry
- Return a response — possibly after seconds, possibly as a stream
In other words: mostly I/O, barely any CPU, with variable fan-out per request. This workload has three properties that matter for the runtime choice:
- It's I/O-bound by an order of magnitude. A single incoming request might fan out to 6 upstream calls. The server is waiting on sockets, not crunching numbers.
- It must survive bursty traffic. Payment platforms see 100× volume the hour before a settlement cutoff. Event platforms see 100× the day before a race.
- It must not silently drop work. When the gateway is slow, it has to push back on callers — not buffer indefinitely until memory explodes.
With that shape in mind, here's what tilted us toward Vert.x.
Reason one: backpressure is first-class
The worst failure mode for an integration gateway is not "slow." It's "slow and still accepting work." The symptoms look like this:
- Request queue fills
- Each in-flight request has a connection pool handle to 3 upstream systems
- Each upstream connection is sitting on an outbound socket
- GC pressure climbs
- The runtime dies not from throughput but from memory holding in-flight state
Node.js can handle backpressure — but you have to opt in. Readable.pipe() respects backpressure, but the moment you have a for await loop or an async function that reads a stream with .on('data', …), backpressure is gone. In practice, Node.js codebases drift toward "pull everything into memory" because it's the easier mental model. By the time you discover you're buffering 400MB of in-flight payloads, you're already under the fire.
Vert.x is built on a stream primitive where backpressure is the default. ReadStream.pipe(WriteStream) propagates demand. Operations like fetch return Future<HttpResponse> with a bounded-buffer writer underneath. You have to actively work around the backpressure mechanism to lose it.
This is one of those things that doesn't matter at 100 requests per second and matters a lot at 10,000. Our customers hit the second regime regularly. A cross-border payments platform doesn't have a "quiet hour" — it has a settlement cutoff, and an hour before, the queue depth matters.
Reason two: the JVM ecosystem is where integration lives
Integration work — the real stuff, not the example-in-the-README stuff — bumps into this list of libraries:
- A production-grade Kafka client (the official one is JVM-native;
kafkajsis good but it is not the reference implementation) - A JDBC driver for every database the enterprise owns
- The AWS SDK, GCP SDK, Azure SDK — all with first-class Java implementations
- A JSON library that does not blow up on 50MB documents (Jackson)
- A YAML library that handles the quirks of OpenAPI 3.1 (SnakeYAML)
- A compliance toolkit for signing (Bouncy Castle), auditing, and HSM integration
Every one of these exists on Node.js, but the JVM versions are the ones used in production at scale by companies that would show up on your customer list. The ecosystem is not marginally better; it's five-plus years ahead on integration-specific tooling.
Picking Vert.x means inheriting that whole ecosystem for free. We ship a Kafka connector that is, under the hood, the real Kafka client with all its retries, idempotency, and consumer-group semantics. Our JDBC connector is just the JDBC driver, running inside Vert.x's reactive wrapper. We did not reimplement any of that — we don't have to.
This matters more than it sounds. When an enterprise asks "can your platform talk to our IBM MQ installation?" the answer is yes, because here's the official IBM JMS client. On Node.js the answer is we'll see what npm has.
Reason three: event loops and true parallelism, both
Node.js has one event loop. Vert.x has one event loop per core, called verticles. For an integration gateway, this matters because:
- A single
instanceof Vert.x on an 8-core VM gives you 8 parallel event loops with zero cross-talk - Work that blocks (a long DB call, a JSON parse) can be routed to a separate worker pool — the main event loops stay responsive
- You get the Node.js event-loop model and the "throw more cores at it" model in the same runtime
On Node.js you reach for cluster or PM2 to get multi-core utilization, and now you have IPC between processes, no shared state, and separate GC heaps. Workable, but more operational complexity than we wanted for a gateway where a single customer's flow might saturate the event loop for 50ms.
Reason four: types and tooling
This one is simpler. We write our connectors in Kotlin/Java (the connector SDK and SPI). Upstream library types are honest — KafkaProducer<K, V> means something. The Spring Boot + Vert.x combination gives us DI where it helps (bootstrapping, config) and raw Vert.x where it doesn't (hot path).
TypeScript on Node.js is excellent, and if you're starting fresh today it would be a reasonable pick. But the delta between "TypeScript + the Node ecosystem of adequately-typed libs" and "Kotlin + the JVM ecosystem of natively-typed libs" is real, especially when the libraries are the thing you're integrating with.
Where it hurt: the Netty and Jackson alignment headache
I promised an honest post. Here's the part that cost us a week.
Vert.x 5 ships on Netty. Spring Boot ships on Netty too. Jackson is used by both. When we upgraded Spring Boot 3.2.5 → 3.5.6 and Vert.x 4.5.12 → 5.0.4 in the same quarter, we inherited:
- Two different expected Netty versions
- Two different expected Jackson versions
- Spring Boot's dependency management overriding Vert.x's preference
- A runtime that mostly worked and occasionally produced
NoSuchMethodErroron specific JSON paths
The symptom is subtle: serialization paths that go through Spring's ObjectMapper worked, serialization paths that go through Vert.x's internal Jackson usage threw. You can't repro it locally with simple tests — it manifests when the right Spring auto-configuration happens to bind a bean that Vert.x also instantiates.
The fix — once we understood it — was explicit version pins in the parent pom.xml:
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>4.1.115.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>2.17.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>Pin Netty and Jackson at the BOM level, let Spring and Vert.x both consume those versions. The error goes away.
This is the kind of pain that Node.js doesn't have, because Node.js doesn't have "two frameworks fighting over the same transitive dependency." It's one of the places where the JVM ecosystem tax is real. Our runtime choice didn't make this problem; our runtime choice made it possible for this problem to exist at all.
Would we trade it back? No. The Netty/Jackson alignment hurt once and now doesn't. The backpressure and ecosystem wins pay out every day.
When would we pick Node.js?
Being fair: if we were building a different product, Node.js would be the right call.
- A webhook receiver + light transformer, no complex orchestration: Node.js, hands down
- A frontend for the integration platform: obviously JS (we use Next.js for the marketing site, React for the management UI)
- A platform aimed at the npm-first audience (Zapier-style, SMB, low-code): Node.js — the community is where your users are
- A team that is deeply TS/JS and shallow JVM: pick the runtime your engineers can debug at 2 AM
Where Vert.x wins is specifically: enterprise integration workloads, mission-critical plumbing, high fan-out with backpressure, JVM-heavy customer environments. That's us.
What this choice unlocked
Three concrete things we would not have shipped as cleanly on Node.js:
- Hazelcast clustering for free. Our gateway runs in a clustered mode where configuration changes propagate across nodes via Hazelcast's embedded distributed cache. On Node.js we'd be reaching for Redis or Zookeeper. On Vert.x it's the default cluster manager.
- GraalVM JavaScript for user scripts. We let customers write Script nodes in JavaScript — inside the JVM, via GraalVM. Sandboxed, resource-limited, no process boundary. On Node.js this is… Node.js running Node.js, which is weird.
- MongoDB change streams driving hot-reload. Our contract registry publishes to MongoDB; change streams fan out to every gateway node in milliseconds. The MongoDB Java driver handles this natively.
None of these are impossible on Node.js. All of them would have taken a quarter to reinvent.
The actual lesson
The runtime choice is downstream of the workload. We didn't pick Vert.x because it's fashionable — it isn't. We picked it because the problem we're solving is I/O-heavy, enterprise-shaped, and lives in a JVM-dominant environment. On the margin, backpressure and ecosystem compound every month.
If you're building something in the same shape — an integration platform, an API gateway for enterprise customers, something plumbing-adjacent — take Vert.x seriously. It's not the comfortable choice in 2026. It's the right one for this workload.
If you're building something else, pick what your team can operate.