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

News
GitHub Logo

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Product Update
News
Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
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
News

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Aleks Haugom
Apr 2026
News

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Aleks Haugom
News

Harper 5.0 Is Here: Open Source, RocksDB, and a Runtime Built for the Agentic Era

Harper 5.0 launches with a fully open-source core under Apache 2.0, RocksDB as a native storage engine alongside LMDB, and source-available Harper Pro. This release delivers a unified runtime purpose-built for agentic engineering, from prototype to production.
Aleks Haugom
Podcast
GitHub Logo

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Select*
Podcast
In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
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

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Austin Akers
Apr 2026
Podcast

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Austin Akers
Podcast

Maintaining Momentum: Versioning, Stability & the Road to Nuxt 5 with Daniel Roe

In this podcast episode, Daniel Roe, lead of the Nuxt framework, shares insights on Nuxt 3, 4, and the upcoming Nuxt 5 release. We discuss open-source development, upgrading Nuxt apps, Vue-powered full-stack web apps, version maintenance, and the future of modern web development.
Austin Akers
Blog
GitHub Logo

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Blog
Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
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
Blog

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Aleks Haugom
Apr 2026
Blog

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Aleks Haugom
Blog

Most LLM Calls Are Waste. Here's the Math.

Semantic caching for LLMs can reduce API costs by 20–70% by reusing similar responses. Combined with deterministic routing and improved retrieval, enterprises can significantly lower LLM usage, though effectiveness varies by workload and improves over time.
Aleks Haugom
Blog
GitHub Logo

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Blog
Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
A smiling man with a beard and salt-and-pepper hair stands outdoors with arms crossed, wearing a white button-down shirt.
Stephen Goldberg
CEO & Co-Founder
Blog

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Stephen Goldberg
Apr 2026
Blog

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Stephen Goldberg
Blog

Build a Conversational AI Agent on Harper in 5 Minutes

Build a conversational AI agent in minutes using Harper’s unified platform. This guide shows how to create, deploy, and scale real-time AI agents with built-in database, vector search, and APIs—eliminating infrastructure complexity for faster development.
Stephen Goldberg
Podcast
GitHub Logo

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Select*
Podcast
Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
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

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Austin Akers
Mar 2026
Podcast

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Austin Akers
Podcast

Inside PixiJS, AT Protocol, and Modern Game Development with Trezy Who

Trezy shares his journey from professional drummer and filmmaker to software engineer and open source maintainer. Learn about PixieJS, game development, AT Proto, BlueSky, data sovereignty, and how developers can confidently contribute to open source projects.
Austin Akers