Skip to main content

Harp is an API Runtime Proxy – A toolkit for Fast, Reliable and Observable external APIs

Project description

HARP is a powerful sidecar proxy service designed to elevate the reliability, performance, security, and observability of your application’s external API interactions. Think of it as a reverse API gateway or a nearline service mesh for external APIs.

Quick links: Documentation | Repository | Issues | CI/CD

How it works?

Overview

An overview of how HARP works in your system
  • Easy Integration: Integrating with your application is a breeze, because it speaks the same language you already use: HTTP. Simply run the proxy, update your API endpoints, and you’re ready to go. No complex setup or extensive configuration required. Of course, everything is modular and configurable, so you’ll be able to fine-tune for your taste later.

  • Reduced Network Distance: As a nearline proxy, HARP minimizes the network distance between your application and external services, when possible, using standard techniques like caching or prefetching. This leads to faster response times and improved overall performance of your application, even before any configuration is done.

  • Simplified Development: HARP eliminates the need for writing extensive code for functionalities such as caching, monitoring, alerting, rate limiting, circuit breaking, retries, tracing, logging, and more. These features can be easily delegated to the proxy, reducing the amount of code you need to write and maintain.

  • Seamless HTTP Integration: HARP seamlessly integrates with your application using the HTTP protocol. This means that the integration or removal cost is virtually zero, or even negative when considering the reduction in code you won’t need to write.

Read the full documentation

Service

What happens within the harp service

Within the service, harp runs one or more proxies, each one listening to one port to instrument your external API calls with the features you need (auditing, caching, alerting, circuit breaker switch, health checks, etc.).

An additional (optional) port serves a dashboard to observe your proxies in real-time.

Proxy

What happens within one harp proxy

Each proxy is configured to intercept and forward requests to a specific external API, with independent configuration.

The instance’s storage is used by each proxy to store whatever it needs, depending on the activated features.

Proxy features

Quick start

Install

TODO: fix once released

Run

TODO: fix once released

Read the docs

TODO: fix once released

Tell us what you think

TODO: fix once released

Credits

There are many ways you can contribute to HARP!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harp_proxy-0.5.0b5.tar.gz (363.9 kB view hashes)

Uploaded Source

Built Distribution

harp_proxy-0.5.0b5-py3-none-any.whl (413.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page