D
D
denis_213213212020-09-05 06:08:38
MySQL
denis_21321321, 2020-09-05 06:08:38

Is it possible to use mysql as a broadcast in laravel?

Redis works as a broadcaster in conjunction with the socket.io library, is it possible to somehow put mysql instead of it. Or this is not provided for in laravel in any way, because there is no such thing in the documentation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2020-09-05
@rPman

Can you hammer nails in a microwave?
mysql is not intended for message passing - it is a data storage and analysis tool.
Of course, you can do anything, you are a programmer or what, but why? implementation efficiency will be below the plinth.
ps different databases have a regular mechanism for sending notifications to clients, but mysql does not have it, it is implemented by plugins , however, all of a sudden, there will be the same sockets :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question