Faucet: Fast, Asynchronous, Concurrent R Application Deployment
Welcome to Faucet, your go-to solution for deploying Plumber APIs and Shiny Applications with blazing speed and efficiency. Faucet is a high-performance server built with Rust, offering Round Robin and Round Robin + IP Hash load balancing for seamless scaling and distribution of your R applications. Whether you're a data scientist, developer, or DevOps enthusiast, Faucet streamlines the deployment process, making it easier than ever to manage replicas and balance loads effectively.
Features
-
High Performance: Faucet is designed with speed in mind, leveraging Rust's performance benefits to ensure your R applications run smoothly and efficiently.
-
Load Balancing: Choose between Round Robin and Round Robin + IP Hash load balancing strategies to distribute incoming requests among multiple instances, optimizing resource utilization.
-
Replicas: Easily scale your Plumber APIs and Shiny Applications by running multiple replicas, allowing for improved performance and increased availability.
-
Simplified Deployment: Faucet simplifies the deployment process, making it a breeze to get your R applications up and running quickly.
-
Asynchronous & Concurrent: Faucet leverages asynchronous and concurrent processing, ensuring optimal utilization of resources and responsive handling of requests.
Installation
Option 1: Binary Download (Linux)
Download the latest release of Faucet for Linux from the GitHub Releases page.
# Replace "vX.X.X" with the latest version number
# Make the binary executable
# Move the binary to a directory in your PATH (e.g., user local bin)
Option 2: Install with Cargo (Linux, macOS, Windows)
Install Faucet with Cargo, Rust's package manager.
- Install Rust by following the instructions here.
|
- Install Faucet with Cargo.
Option 3: Build from Source (Linux, macOS, Windows)
- Install Rust by following the instructions here.
|
- Clone the Faucet repository.
- Build Faucet with Cargo.