G
G
grigorie19902019-12-13 10:27:46
Push technologies
grigorie1990, 2019-12-13 10:27:46

Which Laravel socket driver are you using?

The documentation suggests Pusher channels, Redis, Socket io. At the same time, the first one is free only for 100 connections, but the most popular one. I have a Laravel site and a third party Javascript widget. js has built-in support for websocket, and to use socket.io, you need to install an additional package. Here is a comparison https://stackshare.io/stackups/pusher-vs-socket-io Also, I do not want to use a third-party server because notifications are related to finances. I found using Pusher without its server https://www.youtube.com/watch?v=XkH1qR9TkA8 Actually what to choose, do you have an opinion on some kind of socket?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zlatoslav Desyatnikov, 2019-12-14
@pxz

We use the socket.io client.
There is a ready server on nodejs. The package is called laravel-echo-server.
It is possible to work through Redis pub / sub, that is, without HTTP in the middle, which greatly affects speed and performance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question