News KrakenD is Now SOC 2 Type II Certified: Our Commitment to Your Security, Officially Verified

Background Pattern

Neo4j Case Study: Scaling Internal API Infrastructure

Scaling Internal API Infrastructure and Simplifying Auth Workflows at Neo4j

Neo4j logo
Neo4j, the Graph Database & Analytics leader, enables organizations to quickly uncover hidden patterns and relationships across billions of data connections. Customers use their connected data’s structure to solve critical business problems—fraud detection, customer 360, knowledge graphs, supply chain, personalization, IoT, network management, and more—even as their data grows. Neo4j’s complete graph stack features native graph storage, vector search, data science, advanced analytics, visualization, enterprise-grade security, scalable architecture, and ACID compliance. Its open-source community unites 250,000+ developers, data scientists, and architects from Fortune 500 companies, government agencies, and NGOs.

Visit: Neo4j

United States
Software

KrakenD doesn’t try to do too much. That’s a feature, not a bug. Other gateways make complexity the default—you end up needing UIs just to manage their bloat. KrakenD is the opposite: well-documented, simple, powerful. It just works.

Challenge: Taming API Chaos Across Teams

As Neo4j’s internal APIs rapidly multiplied across development teams, the complexity of managing secure, scalable access grew unsustainable. The existing API gateway setup lacked the flexibility needed to address authentication workflows consistently across services. Neo4j required a north-south API architecture that was lightweight, extensible, and enterprise-grade.

Why Neo4J chose KrakenD

KrakenD stood out for doing less but doing it better. Unlike bloated platforms that push admin GUIs and visual workflows, KrakenD offers a declarative configuration, no-nonsense interface, and a plugin model built for real engineering teams. Neo4j chose KrakenD for its:

  • Simplicity and speed of configuration
  • Lightweight performance footprint
  • Flexibility to build custom plugins
  • Excellent documentation and responsive support

Implementation: Lightweight Meets Scalable

Neo4j implemented KrakenD behind a GCP Application Load Balancer, handling both frontend and backend traffic over a unified domain. KrakenD uses HTTP path prefixes to route requests to backend services. Before routing, a KrakenD plugin integrates with Neo4j’s auth service to dynamically issue access tokens tailored to each request context.

The stack includes:

  • Observability via OpenTelemetry + Prometheus, exported to Google Cloud Trace and Monitoring
  • Security via custom token issuance per request
  • Scalability via stateless KrakenD nodes that decouple routing from orchestration

Outcome: 9 Months of Friction-less Scale

Nine months into deployment, KrakenD is a stable backbone of Neo4j’s internal API infrastructure. The architecture has scaled cleanly with zero bottlenecks. As a result of this success, Neo4j is now evaluating KrakenD to replace its public-facing API gateway, with full confidence in KrakenD’s ability to outperform its current provider.

Elliot Jalgard Elliot is Lead Software Engineer at Neo4j

More Case Studies

Stay up to date with KrakenD releases and important updates