Click Below to Get the Code

Browse, clone, and build from real-world templates powered by Harper.
Solution
GitHub Logo

Distributed Apollo Cache

Deploy Apollo on Harper to create a distributed GraphQL caching service for easier and faster data fetching.
GraphQL
Solution
GraphQL

Distributed Apollo Cache

By
Apollo
April 30, 2025
By
Apollo
April 30, 2025
By
Apollo
April 30, 2025
April 30, 2025
Deploy Apollo on Harper to create a distributed GraphQL caching service for easier and faster data fetching.
Apollo

Deliver a Better Experience for Developers and Users

Are you tired of sluggish apps and convoluted data fetching? Apollo and Harper offer a powerful solution. This dynamic duo combines the industry-leading GraphQL server, Apollo, with a robust distributed systems platform. Together, they create a seamless GraphQL data-fetching and caching service designed for blazing-fast performance and unmatched developer accessibility. Read on to see how Apollo and Harper unlock a superior experience for both the developer and the end user.

‍

Shedding Light on Apollo’s Multi-Server Problem

Despite GraphQL's promise of efficient data fetching, traditional implementations like Apollo can introduce performance bottlenecks. Cascading cross-network requests and the overhead of serializing and deserializing data at each step contribute to significant latency and cost. Even in a simple scenario of retrieving data from a single API behind Apollo, there might be as many as 10 serialization steps! At scale, this client-Apollo-API-data system loop translates directly to increased latency, high operational costs, and, ultimately, a sluggish user experience.

‍

Introducing Distributed GraphQL Queries with Cache 

Harper’s elegant combination of distributed application and data functionalities allow GraphQL queries to be resolved without sending requests to additional servers unless absolutely necessary. This eliminates several network hops and can decrease the number of serialization and deserialization steps to two (compared to ten for a typical Apollo deployment). Additionally, multiple nodes can be distributed for multi-region near-user data access, removing the need for frequent high-latency requests to central systems. With both passive caching and active storage options, tuning your GraphQL data service layer to balance latency and cost is easy. By deploying Apollo on Harper, query requests and data lookup functions are seamlessly unified, which reduces compute requirements system-wide while lowering latency and costs.

‍

6 Benefits of Deploying Apollo on Harper

‍

Submillisecond Lookups

Deploying distributed GraphQL servers in the same process as an in-memory cache delivers unbeatable response times. Even in high throughput scenarios, most experience submillisecond p95 response times when cached values are available, unlocking lightning-fast experiences.  

Passive & Active Caching

For maximum cache hit rate, proactively populate your cache with a change data capture layer to ensure the best user experience for every user, every time. Alternatively, utilize a standard passive caching approach, ensuring fast performance after an initial request populates the cache. 

One Call, Cache Everywhere

Unlike CDN solutions that build their cache in isolation, Harper’s native cross-node data synchronization can replicate values to all globally connected nodes in milliseconds, giving your origin a break from repeated lookups for the same data.  

Flexibility Beyond Apollo

To deliver more advanced services, leverage Harper’s native application engine and streaming functions to quickly achieve outcomes beyond what Apollo can provide. 

Horizontal Scale

Ensure seamless client experiences with a GraphQL caching server that scales horizontally to meet demand. Harper's ability to scale horizontally while distributing data across regions eliminates bottlenecks while guaranteeing low latency for users everywhere.

Deploy in Weeks

With components already built, deploying in a single sprint is easy. Simply define the GraphQL schema and resolvers within Harper and deploy your containerized service near all user population centers.

‍

The Best Way to Deploy Apollo

Many technology teams migrate to GraphQL for data fetching efficiency and development simplicity, but the user experience often remains stagnant. Apollo on Harper changes this by dramatically reducing total server load and network latency, which accelerates user experience. Don't just take our word for it—see the difference firsthand. Contact Harper for a complimentary proof of concept.

‍

‍

Deliver a Better Experience for Developers and Users

Are you tired of sluggish apps and convoluted data fetching? Apollo and Harper offer a powerful solution. This dynamic duo combines the industry-leading GraphQL server, Apollo, with a robust distributed systems platform. Together, they create a seamless GraphQL data-fetching and caching service designed for blazing-fast performance and unmatched developer accessibility. Read on to see how Apollo and Harper unlock a superior experience for both the developer and the end user.

‍

Shedding Light on Apollo’s Multi-Server Problem

Despite GraphQL's promise of efficient data fetching, traditional implementations like Apollo can introduce performance bottlenecks. Cascading cross-network requests and the overhead of serializing and deserializing data at each step contribute to significant latency and cost. Even in a simple scenario of retrieving data from a single API behind Apollo, there might be as many as 10 serialization steps! At scale, this client-Apollo-API-data system loop translates directly to increased latency, high operational costs, and, ultimately, a sluggish user experience.

‍

Introducing Distributed GraphQL Queries with Cache 

Harper’s elegant combination of distributed application and data functionalities allow GraphQL queries to be resolved without sending requests to additional servers unless absolutely necessary. This eliminates several network hops and can decrease the number of serialization and deserialization steps to two (compared to ten for a typical Apollo deployment). Additionally, multiple nodes can be distributed for multi-region near-user data access, removing the need for frequent high-latency requests to central systems. With both passive caching and active storage options, tuning your GraphQL data service layer to balance latency and cost is easy. By deploying Apollo on Harper, query requests and data lookup functions are seamlessly unified, which reduces compute requirements system-wide while lowering latency and costs.

‍

6 Benefits of Deploying Apollo on Harper

‍

Submillisecond Lookups

Deploying distributed GraphQL servers in the same process as an in-memory cache delivers unbeatable response times. Even in high throughput scenarios, most experience submillisecond p95 response times when cached values are available, unlocking lightning-fast experiences.  

Passive & Active Caching

For maximum cache hit rate, proactively populate your cache with a change data capture layer to ensure the best user experience for every user, every time. Alternatively, utilize a standard passive caching approach, ensuring fast performance after an initial request populates the cache. 

One Call, Cache Everywhere

Unlike CDN solutions that build their cache in isolation, Harper’s native cross-node data synchronization can replicate values to all globally connected nodes in milliseconds, giving your origin a break from repeated lookups for the same data.  

Flexibility Beyond Apollo

To deliver more advanced services, leverage Harper’s native application engine and streaming functions to quickly achieve outcomes beyond what Apollo can provide. 

Horizontal Scale

Ensure seamless client experiences with a GraphQL caching server that scales horizontally to meet demand. Harper's ability to scale horizontally while distributing data across regions eliminates bottlenecks while guaranteeing low latency for users everywhere.

Deploy in Weeks

With components already built, deploying in a single sprint is easy. Simply define the GraphQL schema and resolvers within Harper and deploy your containerized service near all user population centers.

‍

The Best Way to Deploy Apollo

Many technology teams migrate to GraphQL for data fetching efficiency and development simplicity, but the user experience often remains stagnant. Apollo on Harper changes this by dramatically reducing total server load and network latency, which accelerates user experience. Don't just take our word for it—see the difference firsthand. Contact Harper for a complimentary proof of concept.

‍

‍

Deploy Apollo on Harper to create a distributed GraphQL caching service for easier and faster data fetching.

Download

White arrow pointing right
Deploy Apollo on Harper to create a distributed GraphQL caching service for easier and faster data fetching.

Download

White arrow pointing right
Deploy Apollo on Harper to create a distributed GraphQL caching service for easier and faster data fetching.

Download

White arrow pointing right

Explore Recent Resources

Tutorial
GitHub Logo

Real-Time Pub/Sub Without the Stack

Explore a real-time pub/sub architecture where MQTT, WebSockets, Server-Sent Events, and REST work together with persistent data storage in one end-to-end system, enabling real-time interoperability, stateful messaging, and simplified service-to-device and browser communication.
Harper Learn
Tutorial
Explore a real-time pub/sub architecture where MQTT, WebSockets, Server-Sent Events, and REST work together with persistent data storage in one end-to-end system, enabling real-time interoperability, stateful messaging, and simplified service-to-device and browser communication.
A man with short dark hair, glasses, and a goatee smiles slightly, wearing a black shirt in front of a nature background.
Ivan R. Judson, Ph.D.
Distinguished Solution Architect
Tutorial

Real-Time Pub/Sub Without the Stack

Explore a real-time pub/sub architecture where MQTT, WebSockets, Server-Sent Events, and REST work together with persistent data storage in one end-to-end system, enabling real-time interoperability, stateful messaging, and simplified service-to-device and browser communication.
Ivan R. Judson, Ph.D.
Jan 2026
Tutorial

Real-Time Pub/Sub Without the Stack

Explore a real-time pub/sub architecture where MQTT, WebSockets, Server-Sent Events, and REST work together with persistent data storage in one end-to-end system, enabling real-time interoperability, stateful messaging, and simplified service-to-device and browser communication.
Ivan R. Judson, Ph.D.
Tutorial

Real-Time Pub/Sub Without the Stack

Explore a real-time pub/sub architecture where MQTT, WebSockets, Server-Sent Events, and REST work together with persistent data storage in one end-to-end system, enabling real-time interoperability, stateful messaging, and simplified service-to-device and browser communication.
Ivan R. Judson, Ph.D.
News
GitHub Logo

Harper Recognized on Built In’s 2026 Best Places to Work in Colorado Lists

Harper is honored as a Built In 2026 Best Startup to Work For and Best Place to Work in Colorado, recognizing its people-first culture, strong employee experience, and values of accountability, authenticity, empowerment, focus, and transparency that help teams thrive and grow together.
Announcement
News
Harper is honored as a Built In 2026 Best Startup to Work For and Best Place to Work in Colorado, recognizing its people-first culture, strong employee experience, and values of accountability, authenticity, empowerment, focus, and transparency that help teams thrive and grow together.
Colorful geometric illustration of a dog's head resembling folded paper art in shades of teal and pink.
Harper
News

Harper Recognized on Built In’s 2026 Best Places to Work in Colorado Lists

Harper is honored as a Built In 2026 Best Startup to Work For and Best Place to Work in Colorado, recognizing its people-first culture, strong employee experience, and values of accountability, authenticity, empowerment, focus, and transparency that help teams thrive and grow together.
Harper
Jan 2026
News

Harper Recognized on Built In’s 2026 Best Places to Work in Colorado Lists

Harper is honored as a Built In 2026 Best Startup to Work For and Best Place to Work in Colorado, recognizing its people-first culture, strong employee experience, and values of accountability, authenticity, empowerment, focus, and transparency that help teams thrive and grow together.
Harper
News

Harper Recognized on Built In’s 2026 Best Places to Work in Colorado Lists

Harper is honored as a Built In 2026 Best Startup to Work For and Best Place to Work in Colorado, recognizing its people-first culture, strong employee experience, and values of accountability, authenticity, empowerment, focus, and transparency that help teams thrive and grow together.
Harper
Comparison
GitHub Logo

Harper vs. Standard Microservices: Performance Comparison Benchmark

A detailed performance benchmark comparing a traditional microservices architecture with Harper’s unified runtime. Using a real, fully functional e-commerce application, this report examines latency, scalability, and architectural overhead across homepage, category, and product pages, highlighting the real-world performance implications between two different styles of distributed systems.
Comparison
A detailed performance benchmark comparing a traditional microservices architecture with Harper’s unified runtime. Using a real, fully functional e-commerce application, this report examines latency, scalability, and architectural overhead across homepage, category, and product pages, highlighting the real-world performance implications between two different styles of distributed systems.
Person with short dark hair and moustache, wearing a colorful plaid shirt, smiling outdoors in a forested mountain landscape.
Aleks Haugom
Senior Manager of GTM & Marketing
Comparison

Harper vs. Standard Microservices: Performance Comparison Benchmark

A detailed performance benchmark comparing a traditional microservices architecture with Harper’s unified runtime. Using a real, fully functional e-commerce application, this report examines latency, scalability, and architectural overhead across homepage, category, and product pages, highlighting the real-world performance implications between two different styles of distributed systems.
Aleks Haugom
Dec 2025
Comparison

Harper vs. Standard Microservices: Performance Comparison Benchmark

A detailed performance benchmark comparing a traditional microservices architecture with Harper’s unified runtime. Using a real, fully functional e-commerce application, this report examines latency, scalability, and architectural overhead across homepage, category, and product pages, highlighting the real-world performance implications between two different styles of distributed systems.
Aleks Haugom
Comparison

Harper vs. Standard Microservices: Performance Comparison Benchmark

A detailed performance benchmark comparing a traditional microservices architecture with Harper’s unified runtime. Using a real, fully functional e-commerce application, this report examines latency, scalability, and architectural overhead across homepage, category, and product pages, highlighting the real-world performance implications between two different styles of distributed systems.
Aleks Haugom
Tutorial
GitHub Logo

A Simpler Real-Time Messaging Architecture with MQTT, WebSockets, and SSE

Learn how to build a unified real-time backbone using Harper with MQTT, WebSockets, and Server-Sent Events. This guide shows how to broker messages, fan out real-time data, and persist events in one runtime—simplifying real-time system architecture for IoT, dashboards, and event-driven applications.
Harper Learn
Tutorial
Learn how to build a unified real-time backbone using Harper with MQTT, WebSockets, and Server-Sent Events. This guide shows how to broker messages, fan out real-time data, and persist events in one runtime—simplifying real-time system architecture for IoT, dashboards, and event-driven applications.
A man with short dark hair, glasses, and a goatee smiles slightly, wearing a black shirt in front of a nature background.
Ivan R. Judson, Ph.D.
Distinguished Solution Architect
Tutorial

A Simpler Real-Time Messaging Architecture with MQTT, WebSockets, and SSE

Learn how to build a unified real-time backbone using Harper with MQTT, WebSockets, and Server-Sent Events. This guide shows how to broker messages, fan out real-time data, and persist events in one runtime—simplifying real-time system architecture for IoT, dashboards, and event-driven applications.
Ivan R. Judson, Ph.D.
Dec 2025
Tutorial

A Simpler Real-Time Messaging Architecture with MQTT, WebSockets, and SSE

Learn how to build a unified real-time backbone using Harper with MQTT, WebSockets, and Server-Sent Events. This guide shows how to broker messages, fan out real-time data, and persist events in one runtime—simplifying real-time system architecture for IoT, dashboards, and event-driven applications.
Ivan R. Judson, Ph.D.
Tutorial

A Simpler Real-Time Messaging Architecture with MQTT, WebSockets, and SSE

Learn how to build a unified real-time backbone using Harper with MQTT, WebSockets, and Server-Sent Events. This guide shows how to broker messages, fan out real-time data, and persist events in one runtime—simplifying real-time system architecture for IoT, dashboards, and event-driven applications.
Ivan R. Judson, Ph.D.
Podcast
GitHub Logo

Turn Browsing into Buying with Edge AI

Discover how Harper’s latest features streamline development, boost performance, and simplify integration. This technical showcase breaks down real-world workflows, powerful updates, and practical tips for building faster, smarter applications.
Select*
Podcast
Discover how Harper’s latest features streamline development, boost performance, and simplify integration. This technical showcase breaks down real-world workflows, powerful updates, and practical tips for building faster, smarter applications.
Person with short hair wearing a light blue patterned shirt, smiling widely outdoors with blurred greenery and trees in the background.
Austin Akers
Head of Developer Relations
Podcast

Turn Browsing into Buying with Edge AI

Discover how Harper’s latest features streamline development, boost performance, and simplify integration. This technical showcase breaks down real-world workflows, powerful updates, and practical tips for building faster, smarter applications.
Austin Akers
Dec 2025
Podcast

Turn Browsing into Buying with Edge AI

Discover how Harper’s latest features streamline development, boost performance, and simplify integration. This technical showcase breaks down real-world workflows, powerful updates, and practical tips for building faster, smarter applications.
Austin Akers
Podcast

Turn Browsing into Buying with Edge AI

Discover how Harper’s latest features streamline development, boost performance, and simplify integration. This technical showcase breaks down real-world workflows, powerful updates, and practical tips for building faster, smarter applications.
Austin Akers