Back to Rivet

Multi-Region

examples/multi-region-vercel/README.md

2.2.11.4 KB
Original Source

Note: This is the Vercel-optimized version of the multi-region example. It uses the hono/vercel adapter and is configured for Vercel deployment.

Multi-Region

Demonstrates deploying Rivet Actors across multiple geographic regions for low-latency global access.

Getting Started

sh
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/multi-region
npm install
npm run dev

Features

  • Multi-region deployment: Deploy actors across multiple geographic regions automatically
  • Low-latency access: Users connect to the nearest region for optimal performance
  • Automatic routing: Requests automatically routed to the appropriate regional deployment
  • Global state management: Actor state synchronized across regions as needed

Implementation

This example demonstrates deploying actors across multiple regions:

Resources

Read more about actions, state, and setup.

License

MIT