soketi
  • 📡soketi
  • 🏆Benchmarks
  • 🎉Support
  • 🤝Contributing
  • 📼Video Courses
  • 😢Known Limitations
  • Getting started
    • ⬆️Upgrading from 0.x
    • 🚀Installation
      • CLI Installation
      • Docker
      • Helm Charts
      • Laravel Sail (Docker)
    • 💿Configuring the server
    • 🔐SSL Configuration
    • 🎨Client Configuration
      • Pusher SDK
      • Laravel Echo
    • 💻Backend Configuration
      • Pusher SDK
      • Laravel Broadcasting
      • Nginx Configuration
    • 🧠Redis Configuration
  • App Management
    • 🎟️Introduction
    • 🧬Array Driver
    • 🛢️SQL Drivers
      • 🐬MySQL
      • 🐘PostgreSQL
      • ⛲Database Pooling
    • 👾DynamoDB
  • Rate Limiting & Limits
    • ⛔Broadcast Rate Limiting
    • 👥Events & Channels Limits
  • Advanced Usage
    • ↔️Horizontal Scaling
      • 🤖Running Modes
      • 🧠Redis Configuration
      • 🧙♂ 🧙♂ 🧙♂ NATS Configuration
      • 🗃️Private Network Configuration
      • 😑Ok, what to choose?
    • 🛑Graceful Shutdowns & Real-time monitoring
    • 📈Prometheus Metrics
    • 🔗HTTP Webhooks
      • 📐AWS Lambda trigger
    • 🕛Queues
      • ⛓️AWS SQS FIFO
      • 🧠Redis
    • 📝Caching
    • ⚛️User Authentication
    • 🤾Enhancing Performance
      • 🔀New traffic redirection
  • Network Watcher
    • 🚀Installation
    • 💿Environment Variables
由 GitBook 提供支持
在本页
在GitHub上编辑
  1. Advanced Usage
  2. Horizontal Scaling

Ok, what to choose?

In case you don't know how your architecture should be, consult the following table and pick your use case:

Use case
Recommended Adapter / Other adapters
Recommended Rate-Limiting Driver

Single node, one thread

Local

Local

Single node, multiple threads (PM2)

Cluster

Cluster

Multi-node, one thread, same Private Network

Cluster/Redis

Cluster/Redis

Multi-node, multiple threads (PM2), same Private Network

Cluster/Redis

Cluster/Redis

Multi-node, one thread, multi-network

Redis

Redis

Multi-node, multiple threads (PM2), multi-network

Redis

Redis

It's highly recommended to go for single-thread choices in multi-node architectures and scale horizontally on the instance level instead of both instances and threads.

上一页Private Network Configuration下一页Graceful Shutdowns & Real-time monitoring

最后更新于2年前

↔️
😑