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

Solution
GitHub Logo

Enterprise Agentic Development with Harper

Enterprise Agentic Development with Harper enables coding agents to build and deploy production-ready applications without backend wiring. A unified runtime combines database, cache, APIs, messaging, and global deployment into one seamless, enterprise-proven platform.
Solution
Enterprise Agentic Development with Harper enables coding agents to build and deploy production-ready applications without backend wiring. A unified runtime combines database, cache, APIs, messaging, and global deployment into one seamless, enterprise-proven platform.
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
Solution

Enterprise Agentic Development with Harper

Enterprise Agentic Development with Harper enables coding agents to build and deploy production-ready applications without backend wiring. A unified runtime combines database, cache, APIs, messaging, and global deployment into one seamless, enterprise-proven platform.
Aleks Haugom
Feb 2026
Solution

Enterprise Agentic Development with Harper

Enterprise Agentic Development with Harper enables coding agents to build and deploy production-ready applications without backend wiring. A unified runtime combines database, cache, APIs, messaging, and global deployment into one seamless, enterprise-proven platform.
Aleks Haugom
Solution

Enterprise Agentic Development with Harper

Enterprise Agentic Development with Harper enables coding agents to build and deploy production-ready applications without backend wiring. A unified runtime combines database, cache, APIs, messaging, and global deployment into one seamless, enterprise-proven platform.
Aleks Haugom
Tutorial
GitHub Logo

In 3 Days I Built an AI Ops Assistant That Replaced $2,400/month in SaaS

Learn how to build a lightweight AI ops assistant in just three days that consolidates tools, automates incident workflows, and delivers real-time answers in Slack, all while cutting thousands in monthly SaaS costs. This practical breakdown covers the stack, architecture, and cost savings behind a smarter approach to AI-driven automation and SaaS cost optimization.
Tutorial
Learn how to build a lightweight AI ops assistant in just three days that consolidates tools, automates incident workflows, and delivers real-time answers in Slack, all while cutting thousands in monthly SaaS costs. This practical breakdown covers the stack, architecture, and cost savings behind a smarter approach to AI-driven automation and SaaS cost optimization.
Professional headshot of smiling man with short gray hair and beard, wearing light button-down shirt against blue backdrop.
Stephen Goldberg
CEO & Co-Founder
Tutorial

In 3 Days I Built an AI Ops Assistant That Replaced $2,400/month in SaaS

Learn how to build a lightweight AI ops assistant in just three days that consolidates tools, automates incident workflows, and delivers real-time answers in Slack, all while cutting thousands in monthly SaaS costs. This practical breakdown covers the stack, architecture, and cost savings behind a smarter approach to AI-driven automation and SaaS cost optimization.
Stephen Goldberg
Feb 2026
Tutorial

In 3 Days I Built an AI Ops Assistant That Replaced $2,400/month in SaaS

Learn how to build a lightweight AI ops assistant in just three days that consolidates tools, automates incident workflows, and delivers real-time answers in Slack, all while cutting thousands in monthly SaaS costs. This practical breakdown covers the stack, architecture, and cost savings behind a smarter approach to AI-driven automation and SaaS cost optimization.
Stephen Goldberg
Tutorial

In 3 Days I Built an AI Ops Assistant That Replaced $2,400/month in SaaS

Learn how to build a lightweight AI ops assistant in just three days that consolidates tools, automates incident workflows, and delivers real-time answers in Slack, all while cutting thousands in monthly SaaS costs. This practical breakdown covers the stack, architecture, and cost savings behind a smarter approach to AI-driven automation and SaaS cost optimization.
Stephen Goldberg
Tutorial
GitHub Logo

How Claude Deploys My Apps to Harper Fabric

Learn how to use Claude Code to build and deploy apps to Harper Fabric using simple chat commands. This guide covers AI-assisted development, one-command deploys, live production updates, and how to streamline cloud infrastructure with an agentic coding workflow.
A.I.
Tutorial
Learn how to use Claude Code to build and deploy apps to Harper Fabric using simple chat commands. This guide covers AI-assisted development, one-command deploys, live production updates, and how to streamline cloud infrastructure with an agentic coding workflow.
Professional headshot of smiling man with short gray hair and beard, wearing light button-down shirt against blue backdrop.
Stephen Goldberg
CEO & Co-Founder
Tutorial

How Claude Deploys My Apps to Harper Fabric

Learn how to use Claude Code to build and deploy apps to Harper Fabric using simple chat commands. This guide covers AI-assisted development, one-command deploys, live production updates, and how to streamline cloud infrastructure with an agentic coding workflow.
Stephen Goldberg
Feb 2026
Tutorial

How Claude Deploys My Apps to Harper Fabric

Learn how to use Claude Code to build and deploy apps to Harper Fabric using simple chat commands. This guide covers AI-assisted development, one-command deploys, live production updates, and how to streamline cloud infrastructure with an agentic coding workflow.
Stephen Goldberg
Tutorial

How Claude Deploys My Apps to Harper Fabric

Learn how to use Claude Code to build and deploy apps to Harper Fabric using simple chat commands. This guide covers AI-assisted development, one-command deploys, live production updates, and how to streamline cloud infrastructure with an agentic coding workflow.
Stephen Goldberg