In modern enterprises and institutions, data push and access services or scenarios that require socket connections, such as order push, real-time data push, real-time video, chat, etc.
1. Provide socket implementation based on html5 websocket/rtmp protocol to realize multi-threaded server
2. Standard and other data formats can be used, such as: json, xml, amf, etc.
3. Customizable data [support custom encryption] format
4. If it is data acquisition and processing, just expand the business code
6. The implementation of the above protocols is not complete, and those who are capable can implement the algorithm by themselves
7 Interested students can also implement clustering and load balancing
8. Part of the source code library involved:
https://github.com/394286006/minn-websocketserver
https://github.com/394286006/minn-rtmpsocketserver
9. Web socket and rtmp protocol to obtain time data, as shown below
A. websocket (based on the multi-language version of the basic management system display [es6 version] ):
B.rtmpsocket: