Click Below to Get the Code

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

Introducing HarperDB 4.1: Faster, More Efficient, & More Control

HarperDB 4.1 is released with new features: worker threads for HTTP requests, session affinity for routing, improved NoSQL query handling, flexible storage configuration, streamlined logging, and cluster networking.
Product Update
News
Product Update

Introducing HarperDB 4.1: Faster, More Efficient, & More Control

By
Harper
April 17, 2023
By
Harper
April 17, 2023
By
Harper
April 17, 2023
April 17, 2023
HarperDB 4.1 is released with new features: worker threads for HTTP requests, session affinity for routing, improved NoSQL query handling, flexible storage configuration, streamlined logging, and cluster networking.
Harper

HarperDB 4.1 Has Arrived

We are excited to announce the release of HarperDB 4.1, packed with new features and enhancements that further elevate your HarperDB experience. This latest version brings cutting-edge improvements to concurrency handling, routing functionality, NoSQL query performance, storage configuration, logging, cluster networking, and integration with AWS S3 services. Let's delve into the details and explore the real-world value that HarperDB 4.1 delivers:

Click Here for HarperDB 4.1 Release Notes

‍

Update Overview

Concurrency Handling with Worker Thread

HarperDB 4.1 introduces worker threads for handling HTTP requests, providing significant benefits in traffic delegation, load tracking, session affinity, debuggability, and memory footprint reduction. Start HarperDB within your IDE, set breakpoints in your custom functions, and debug them seamlessly. For example, you can now debug custom functions if you're running HarperDB locally and using a modern IDE like WebStorm or VSCode.

‍

Enhanced Routing with Session Affinity

The associated routing functionality in HarperDB 4.1 includes session affinity support. This feature enables consistent routing of users to the same thread, improving caching locality, performance, and fairness. By enabling session affinity with http.sessionAffinity, you can ensure users are consistently served by the same thread, providing a personalized user experience.

‍

Revamped NoSQL Query Handling with Iterators

HarperDB 4.1 improves NoSQL query handling by utilizing iterators consistently. This approach offers an incredibly memory-efficient mechanism for streaming query results directly to the network as they are computed. The benefits are two-fold: faster Time to First Byte (TTFB), allowing data to be sent before the entire query is computed, and reduced memory usage during querying. This upgrade enables seamless and efficient access to query results, even within custom functions. Developers can leverage iterators to iteratively access data from the database without loading the entire result set into memory. Enjoy faster response times and more efficient resource utilization with this transparent upgrade.

‍

Flexible Storage Configuration

HarperDB 4.1 introduces configuration options that allow you to specify the location of database storage files. This flexibility empowers you to distribute database directories and files across different volumes, optimizing disk utilization and storage performance. This feature will align your storage infrastructure with your specific requirements and achieve better scalability, resilience, and efficiency.

‍

Streamlined Logging

Logging in HarperDB has been revamped and consolidated into a single hdb.log file in response to user feedback. This enhancement simplifies log management, making monitoring and analyzing system activity easier. The updated logging system gives you better insights into your HarperDB deployment, enabling you to diagnose issues and troubleshoot more effectively.

‍

Cluster Networking with cluster_network Operation

The new cluster_network operation in HarperDB 4.1 allows you to ping the cluster and retrieve a list of enmeshed nodes. This feature enhances visibility and monitoring within a clustered environment, empowering you to monitor the health and connectivity of your HarperDB cluster effortlessly.

‍

‍

HarperDB 4.1 Has Arrived

We are excited to announce the release of HarperDB 4.1, packed with new features and enhancements that further elevate your HarperDB experience. This latest version brings cutting-edge improvements to concurrency handling, routing functionality, NoSQL query performance, storage configuration, logging, cluster networking, and integration with AWS S3 services. Let's delve into the details and explore the real-world value that HarperDB 4.1 delivers:

Click Here for HarperDB 4.1 Release Notes

‍

Update Overview

Concurrency Handling with Worker Thread

HarperDB 4.1 introduces worker threads for handling HTTP requests, providing significant benefits in traffic delegation, load tracking, session affinity, debuggability, and memory footprint reduction. Start HarperDB within your IDE, set breakpoints in your custom functions, and debug them seamlessly. For example, you can now debug custom functions if you're running HarperDB locally and using a modern IDE like WebStorm or VSCode.

‍

Enhanced Routing with Session Affinity

The associated routing functionality in HarperDB 4.1 includes session affinity support. This feature enables consistent routing of users to the same thread, improving caching locality, performance, and fairness. By enabling session affinity with http.sessionAffinity, you can ensure users are consistently served by the same thread, providing a personalized user experience.

‍

Revamped NoSQL Query Handling with Iterators

HarperDB 4.1 improves NoSQL query handling by utilizing iterators consistently. This approach offers an incredibly memory-efficient mechanism for streaming query results directly to the network as they are computed. The benefits are two-fold: faster Time to First Byte (TTFB), allowing data to be sent before the entire query is computed, and reduced memory usage during querying. This upgrade enables seamless and efficient access to query results, even within custom functions. Developers can leverage iterators to iteratively access data from the database without loading the entire result set into memory. Enjoy faster response times and more efficient resource utilization with this transparent upgrade.

‍

Flexible Storage Configuration

HarperDB 4.1 introduces configuration options that allow you to specify the location of database storage files. This flexibility empowers you to distribute database directories and files across different volumes, optimizing disk utilization and storage performance. This feature will align your storage infrastructure with your specific requirements and achieve better scalability, resilience, and efficiency.

‍

Streamlined Logging

Logging in HarperDB has been revamped and consolidated into a single hdb.log file in response to user feedback. This enhancement simplifies log management, making monitoring and analyzing system activity easier. The updated logging system gives you better insights into your HarperDB deployment, enabling you to diagnose issues and troubleshoot more effectively.

‍

Cluster Networking with cluster_network Operation

The new cluster_network operation in HarperDB 4.1 allows you to ping the cluster and retrieve a list of enmeshed nodes. This feature enhances visibility and monitoring within a clustered environment, empowering you to monitor the health and connectivity of your HarperDB cluster effortlessly.

‍

‍

HarperDB 4.1 is released with new features: worker threads for HTTP requests, session affinity for routing, improved NoSQL query handling, flexible storage configuration, streamlined logging, and cluster networking.

Download

White arrow pointing right
HarperDB 4.1 is released with new features: worker threads for HTTP requests, session affinity for routing, improved NoSQL query handling, flexible storage configuration, streamlined logging, and cluster networking.

Download

White arrow pointing right
HarperDB 4.1 is released with new features: worker threads for HTTP requests, session affinity for routing, improved NoSQL query handling, flexible storage configuration, streamlined logging, and cluster networking.

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