Php uses redis subscription, how to return data in real time on the subscribe front-end page of web execution?

I have read some redis subscription articles that talk about using subscriptions in the command exercise. Are those real-time message notifications implemented by Ajax polling? Since subscribe monopolizes the connection blocking mode, it must no longer be executed on the page, so what exactly is the application scenario? Is it possible that subscription messages can only be viewed on the redis client command line?

Aug.23,2021

websocket find out.


laravel can use redis+socket.io to push messages in real time

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea35dc-1c4e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea35dc-1c4e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?