A data transceiver system capable of realizing high concurrency and free expansion
A data sending and receiving and data technology, applied in transmission systems, electrical components, etc., can solve problems such as insufficient performance, achieve performance optimization, solve development difficulties, and reduce time and labor costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0016] A data sending and receiving system that can achieve high concurrency and can be expanded freely. It uses Nginx to achieve load balancing. After receiving the data, it is allocated to TCPServer (Transmission Control Protocol) according to the algorithm. TCPServer uses the Netty open source framework to receive data, and according to the received data The unique identification code corresponding to the client is extracted, and the unique identification code and the IP sending the data are stored in the cache database Redis in the form of key-value pairs; at the same time, the data is pushed to the kafka message queue.
[0017] The parsing server (server) listens to the data sent by TCPServer in the message queue, and once there is data in it, it takes it out for parsing; and gives unused responses according to different data, and stores the responses in the message queue; TCPServer listens to the message queue Analyze the data of the server, take it out after listening, e...
Embodiment 2
[0019] A high-concurrency and free-to-expand data sending and receiving system described in Embodiment 1, wherein the netty framework used for development can be replaced by flume, the message subscription service kafka can be replaced by RabbitMQ (manual), and the load balancing service can be replaced by into a distributed framework dubbo.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
