Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 2.7 KB

README.md

File metadata and controls

40 lines (27 loc) · 2.7 KB

Upstash QStash Rust SDK

QStash is a robust, HTTP-based messaging and scheduling solution optimized for serverless and edge runtimes. With a stateless, HTTP-driven design, it supports a broad range of environments and platforms, including:

  • Serverless functions (e.g., AWS Lambda) – Example
  • Cloudflare Workers – Example
  • Fastly Compute@Edge
  • Next.js, including Edge runtime
  • Deno
  • Client-side web and mobile applications
  • WebAssembly
  • Any other environment where HTTP-based communication is preferred over TCP

How QStash Works

QStash serves as the intermediary message broker for serverless applications. By sending a simple HTTP request to QStash, you can include a destination, payload, and optional configurations. QStash then stores the message securely and reliably delivers it to the designated API endpoint. In cases where the destination is temporarily unavailable, QStash ensures at-least-once delivery by automatically retrying until the message is successfully received.

Quick Start

1. Obtain Your Authorization Token

To get started, head to the Upstash Console and copy your QSTASH_TOKEN.

2. Explore Examples

For API documentation and a quickstart guide, refer to the official QStash API Documentation. Below, you'll find links to additional examples that demonstrate usage for each endpoint:

Supported Environments

QStash is ideal for use with serverless architectures and edge deployments, supporting scenarios where HTTP-based communication provides flexibility and compatibility with modern applications.