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
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.
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
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
Core contributors:
Original idea, design, and development:
Sponsored by Makersquad
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for harp_proxy-0.5.0b6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7578eae2b56cf1f3c8d1fce37a348fc3ad3d8e606406a2faa710ee30c3e8ecac |
|
MD5 | 168237876c55af0015764748b8857825 |
|
BLAKE2b-256 | 736ff7489726f8048f36f74289204b87c77f3843aa769071ff2aa69b7350eba4 |