I
I
Ivan Ivanov2019-07-30 22:30:35
Laravel
Ivan Ivanov, 2019-07-30 22:30:35

What is better to use for real time application on laravel?

What is better to use for real time application on laravel? I would like not to use paid services, is it possible? (I'm talking about pusher, etc.). What are you using?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2019-07-30
@xmoonlight

Own server on pthreads (self-hosted) Book.
If you want it easier - you can use Swoole .
Play around, debug - https://www.websocket.in/

E
Evgeny Romashkan, 2019-07-30
@EvgeniiR

1. Swoole/Amp/Wokerman/ReactPHP if in PHP. In general, not very popular tools, but in fairness, I note that very large applications in China work on Swoole, the same baidy, tencent, all sorts of toys, etc.
2. Centrifugo/Roadrunner as a simple gateway. It came out not so long ago, it is more famous, no one seems to complain (I did not use it).
3. Self-written gateway for your application on Node.js/Go etc. A reliable option for which you can always find developers (unlike the first two).
ps Options in PHP are only suitable for working with the same websocket. So that there is no desire to "speed up" your application in this way - hereyou have a little more debriefing from the author of php-service-bus with a footnote why screwing asynchronous to existing mainstream php frameworks is a so-so idea

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question