📡
Soketi
1.x
1.x
  • 📡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
Powered by GitBook
On this page
  • Major Impact
  • Corking requests
  • Environment variables namings
  • Additions
  • Added cached channels

Was this helpful?

Edit on GitHub
  1. Getting started

Upgrading from 0.x

PreviousKnown LimitationsNextInstallation

Last updated 3 years ago

Was this helpful?

Soketi released as 1.x stable with various new breaking changes.

The update time is minimal, at most 30 mins, depending on the overall complexity of your Soketi implementation.

Major Impact

Corking requests

Starting with 1.x, the .

HTTP requests can be received in small chunks before the response is actually finished, at the network level. These chunks/packets contain details about the headers, for example, and other metadata. This can be computationally hard, both CPU and network, to compress and send multiple times.

By corking, the data chunks are gathered entirely, compressed, and sent back.

Preliminary, internal tests revealed network performance slightly better than before. If you see issues in response times,

Environment variables namings

Since early releases, environment variables were standard:

DEBUG=1 ADAPTER_DRIVER=mysql soketi start

Environment variables can be also defined in an .env file and run in the same location:

echo "
DEBUG=1
ADAPTER_DRIVER=mysql
" > .env
soketi start

Unfortunately, this was a bad idea, as some users might use apps that already have .env files, like Laravel. This way, Soketi will avoid configurational conflicts if it shares the same environment variable name with another framework or app that, by chance, also uses .env files.

This is how the variables would look, and it applies to both injected and file-based declarations:

SOKETI_DEBUG=1 SOKETI_ADAPTER_DRIVER=mysql soketi start

Additions

Added cached channels

To stay up-to-date with Pusher and offer the best open-source experience, we've decided to show it off as a breaking change.

Pusher announced , a way to retrieve the last sent message to a channel upon connection. Is really useful to stay in sync with previously lost state upon reconnection.

⬆️
requests are now corked
cached channels