Preparing Laravel Websockets for Production Traffic

Unstable WebSocket connection dropping at certain concurrent request

There are quite a lot of blogs and screencasts about “How to set up Laravel Websockets”. Those work great. But, when I try to use the Laravel Websockets on production. There are quite a few things to notice.

Configurations

By checking official documentation’s deployment guide. We need to

  1. Increasing the maximum

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store