Upgrading from 0.x
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.
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,
Since early releases, environment variables were standard:
DEBUG=1 ADAPTER_DRIVER=mysql soketi start
Environment variables can be also defined in an
.envfile and run in the same location:
" > .env
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
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.