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

Menu