salvo-proxy

Configure a Salvo reverse proxy for routing and balancing Rust microservice requests.

1|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/tdcare/genies --skill salvo-proxy-tdcare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salvo-proxy
Source: https://github.com/tdcare/genies/tree/main/.qoder/skills/salvo-proxy
Command: npx skills add https://github.com/tdcare/genies --skill salvo-proxy-tdcare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a configurable reverse proxy for Salvo-based Rust microservices to route and balance requests, enabling API gateways and service routing with centralized control.

Core Features & Use Cases

  • Basic Proxy: forward requests to a single backend.
  • Load Balancing & API Gateway: route across multiple backends and support path-based routing to distinct services.
  • Proxy Features: modify headers, authenticate before proxying, and apply simple routing policies as part of a gateway.

Quick Start

Launch a Salvo proxy routing all incoming requests to your backend and verify routing with a simple curl test.

Frequently Asked Questions about salvo-proxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a reverse proxy for Rust microservices using Salvo?

A reverse proxy for Rust microservices using Salvo forwards incoming requests to a single backend, enabling centralized request routing and control. You launch the Salvo proxy to direct traffic and verify the forwarding behavior with a curl test.

Can I use Salvo to build an API gateway with path-based routing?

Yes, Salvo supports API gateway configurations with path-based routing to distinct services. The proxy routes incoming requests across multiple backends, applying centralized routing policies to direct traffic to the appropriate microservice.

How does load balancing work when routing requests to multiple backends in Salvo?

Load balancing in Salvo distributes incoming requests across multiple configured backends. This ensures traffic is routed efficiently among available services, preventing any single backend from becoming a bottleneck during high-volume periods.

What proxy features does Salvo support for API gateway configurations?

Salvo supports modifying headers, authenticating requests before proxying, and applying simple routing policies. These features allow you to manage traffic flow and enforce security rules as part of your API gateway architecture.

Does the Salvo reverse proxy support rate limiting?

Yes, the Salvo reverse proxy supports optional rate limiting. This allows you to control the volume of requests forwarded to your backends, protecting downstream microservices from excessive traffic loads.

Can I rewrite request paths when forwarding traffic to a backend service?

Yes, Salvo supports path rewrites for forwarded traffic. This allows you to modify the request path before it reaches the backend service, ensuring correct routing when integrating multiple microservices behind a single proxy.