How to implement real-time requests similar to stock information?

at present, there is a need to display the data transmitted by the hardware in real time and write the method of request data, but the timer timing request interface is used, which is too performance-consuming.
how to achieve a function similar to displaying stock information in real time? Just talk about the implementation method.

May.15,2022

push using websocket real-time messages


socket.io

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-1b3a4c4-2ba55.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-1b3a4c4-2ba55.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?