📡
Soketi
0.x
0.x
  • 📡soketi
  • 🏆Benchmarks
  • 🎉Support
  • 🤝Contributing
  • 😢Known Limitations
  • Getting started
    • 🚀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
  • Network Watcher
    • 🚀Installation
    • 💿Environment Variables
Powered by GitBook
On this page

Was this helpful?

Edit on 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.

PreviousPrivate Network ConfigurationNextGraceful Shutdowns & Real-time monitoring

Last updated 3 years ago

Was this helpful?

↔️
😑