Introducing Gatekeeper - The Helius Edge Gateway
/Updates

Introducing Gatekeeper: The Helius Edge Gateway

6 min read

Today, we announce the release of Gatekeeper, our new edge gateway. Customers accessing Helius through Gatekeeper on top-tier providers can achieve sub-millisecond responses.

Eliminating our edge latency unlocks the true speed of our core APIs and services. Response time improvements range anywhere from tens to hundreds of milliseconds. 

Building Solana Infrastructure for Speed and Scale

When Helius launched, Solana developers had urgent needs: reliable RPC access, human-readable APIs, real-time data streaming, and infrastructure that just worked.

We made the deliberate choice to build on Cloudflare to get to market quickly and start serving these needs immediately.

This initial architecture serves us incredibly well:

  • Cloudflare Workers handles routing, auth, and request processing
  • Durable Objects manages per-project metering and state
  • Cloudflare Load Balancers distribute traffic across our network

TL;DR: We could iterate rapidly and ship features that developers needed now.

The Challenge: Growing Beyond Our Initial Design

Fast forward to today: Helius is the preferred infrastructure provider for thousands of Solana developers and serves billions of requests per day.

As Solana’s ecosystem has grown, so has a class of workloads—high-frequency trading, real-time liquidity engines, latency-sensitive MEV strategies—where every millisecond matters.

For these workloads, the limiting factor isn’t any single piece of infrastructure. It’s physics.

When a request has to travel from a user to a cloud edge network and then back to our backend nodes before it can be processed, that extra hop can be detrimental. No amount of software optimization can eliminate that added latency.

Even at the speed of light, the round trip to and from a general-purpose edge adds measurable milliseconds.

Our customers asked us a simple question: “Can you give us a shorter path?” The answer, resoundingly, is yes.

The answer to that question is a purpose-built edge gateway that gives latency-critical workloads the most direct route possible to our infrastructure. The answer is a solution designed to handle Solana’s speed at Helius’s scale.

What is Gatekeeper?

Gatekeeper is our in-house edge gateway built in Rust using the Hyper HTTP framework

Gatekeeper acts as a single, unified entry-point for all requests: it terminates connections at geographically distributed edge locations, and intelligently routes requests to our backend infrastructure. 

For latency-critical workloads, Gatekeeper provides the shortest network path, reducing hops and shaving off milliseconds. This enables us to optimize every service that matters for high-frequency, low-latency workloads. 

Gatekeeper is a step-function improvement in latency and reliability for Solana developers.

Benefits of Using Gatekeeper

Gatekeeper’s advantage comes from its global, low-latency, zero-downtime deployments, and unified entry-point design.

Reduced Latency

Gatekeeper’s performance improvements are a result of:

  • Being written in Rust using Hyper with async I/O for max throughput and minimal latency
  • Having fine-grained control over connection pooling, TLS, and socket options
  • Requests being processed geographically closer to users

This represents a significant change to our platform, with users experiencing a drastic reduction in latency. 

For example, a user making a getSlot request with Helius may currently see response times of ~122 ms with a new connection and ~35 ms with a reused connection. 

However, with Gatekeeper, a user making a getSlot request with Helius may see response times of ~26 ms with a new connection and ~0.5 ms with a reused connection. 

Here's a full breakdown:

Cold Connections

Metric

Gatekeeper

Helius (Current)

Difference

DNS Lookup

0.014895s

0.020087s

−5.19ms

TCP Connect

0.014988s

0.021271s

−6.28ms

TLS Handshake

0.025778s

0.032696s

−6.92ms

Start Transfer

0.026852s

0.122728s

−95.88ms

Total Time

0.026863s

0.122830s

−95.97ms (4.6×)

Warm Connections:

Metric

Gatekeeper

Helius (Current)

Difference

DNS Lookup

0.000009s

0.000010s

−0.001ms

TCP Connect

0.000000s

0.000000s

TLS Handshake

0.000000s

0.000000s

Start Transfer

0.004529s

0.035151s

−30.62ms

Total Time

0.004533s

0.035328s

−30.80ms (7.8×)

Source: A full breakdown of getSlot timing details comparing our current infrastructure with Gatekeeper

Global Presence

An edge gateway’s performance is a function of its global availability and routing. Because Solana is a massively distributed network handling 1,000s of transactions per second, Gatekeeper needs to be globally accessible and always available.

  • Deployed globally across Europe, America, and Asia, with more locations on the way
  • Uses intelligent routing to automatically direct requests based on node proximity, health, and load
  • Ensures optimal routing with continuous health monitoring

Zero-Downtime Deployments

Upgrades across any service, platform-wide, running on Gatekeeper can now occur without any interruptions. No maintenance windows. No scheduled downtime. No coordination needed. 

Gatekeeper’s architecture gives us the ability to ship performance optimizations and fix bugs while offering uninterrupted, 24/7 service via zero-downtime deployments.

  • Graceful connection draining during upgrades
  • No dropped requests during infrastructure upgrades
  • Continuous operation, even as we improve the system

Unified Design

Gatekeeper’s design includes:

  • A single entry point for all RPC methods, webhooks, and APIs
  • Native support for both JSON-RPC 2.0 and REST endpoints
  • Integrated rate limiting and metering at the edge 

What Gatekeeper Supports Today

Today, Gatekeeper supports:

  • All standard Solana RPC and WebSocket endpoints
  • All Helius-specific RPC endpoints (e.g., gTFA) 
  • All DAS API endpoints
  • All Photon API endpoints (i.e., ZK Compression)
  • The Helius Priority Fee API
  • The Enhanced Transactions API

Gatekeeper does not yet currently support LaserStream.

Try Gatekeeper

Gatekeeper is now available in public beta to all Helius customers. It is currently opt-in while we continue to optimize and migrate more of our internal services. Over the next few months, Gatekeeper will become the default for all Helius RPC and WebSocket traffic. 

To try Gatekeeper, use:

https://beta.helius-rpc.com?/api-key=<YOUR_API_KEY>

Your existing API key will work with the Gatekeeper beta endpoint. All you need to do is change URLs—everything works out of the box. The endpoint is also available in your dashboard

Currently, Gatekeeper is only available on Mainnet. Devnet support is not currently available, but will be in the near future.

For more details, read the Gatekeeper docs and migration guide.

During the beta period, you can expect: 

  • Lower latency for all RPC calls
  • Better performance under higher load
  • More consistent response times
  • Improved WebSocket stability

Conclusion

Developing high-performance, low-latency trading platforms, payment solutions, and consumer applications on Solana requires infrastructure that can keep pace with the network’s growing activity, developer ecosystem, and mainstream adoption. With Gatekeeper, Helius remains the fastest, most reliable way to build truly scalable products on Solana.

Related Articles

Subscribe to Helius

Stay up-to-date with the latest in Solana development and receive updates when we post