A cgo-based high-performance securities market access system and method

An access system, high-performance technology, applied in transmission systems, electrical components, etc., can solve problems such as service requests cannot be routed, application server consumption is large, process switching overhead is large, etc., to achieve high communication efficiency, high request forwarding, Efficient effect

Active Publication Date: 2020-02-07
GF SECURITIES CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) The service discovery function is not supported in the running state, and the process needs to be restarted or the configuration reloaded when adding an application service;
[0004] 2) The load balancing of business requests cannot be routed according to the real-time status of the business, but can only be routed according to the strategy in the configuration;
[0005] 3) It does not support lighter-weight coroutine scheduling, and the overhead of process switching is high;
[0006] 4) It does not support long connections to application servers, which consumes a lot of application servers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A cgo-based high-performance securities market access system and method
  • A cgo-based high-performance securities market access system and method
  • A cgo-based high-performance securities market access system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Referring to the accompanying drawings, a specific embodiment of a Cgo-based high-performance securities market access system of the present invention includes a convergent module 1, a connection manager module 2, a forwarding logic module 3, a push logic module 4 and an access component module 5, in:

[0035] Convergence module 1: responsible for the establishment of user connections, and sends the established connections to multiple access processes on average through local sockets (UnixDomain Socket), and collects user status data of the access processes;

[0036] Connection manager module 2: implemented in C language, manages user connections through Cgo mechanism and go language communication, manages the sending and receiving of data packets connected by users through the IO multiplexing model (epoll model), and communicates with the lock-free ring queue The go program performs data exchange and controls the flow of the entire process and a single connection;

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A high-performance stock market access system and method based on Cgo, aiming to propose a high-performance stock market access system based on the combination of c language and go language for stock market service, which can be used under high concurrency and high access conditions cgo implements the operation process and mechanism of the securities market access system and method. Including converger module, connection manager module, forwarding logic module, push logic module and access component module, lightweight coroutine development using go language, establishing long connection with application server, continuously and quickly pushing securities market information, capable of It supports dynamic discovery of the status of the application server, and can perform dynamic load balancing based on the real-time capabilities of the application server, so as to better meet the requirements of high concurrency, high access, and high availability of the securities market business.

Description

technical field [0001] The invention relates to a data processing device or a data processing method which is especially suitable for a specific function, especially a Cgo-based high-performance securities quotation access system and method. Background technique [0002] The access system acts as an isolation layer between users (including internal users and external users) and the application server, and directly receives user requests and forwards them to the application server. see figure 1 At present, a reverse proxy (such as: Nginx) is widely used in the access system to reverse proxy the application server and support load balancing of multiple application servers. This access system of the prior art has the following disadvantages: [0003] 1) The service discovery function is not supported in the running state, and the process needs to be restarted or the configuration reloaded when adding an application service; [0004] 2) The load balancing of business requests...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/14H04L63/08H04L69/162H04L67/1001H04L67/51H04L67/56H04L67/55
Inventor 罗意谈加虎
Owner GF SECURITIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products