| With the rapid development of Internet,the scale of Chinese financial market is expanding day by day,and more and more investors participate in financial securities investment.However,in recent years,financial risk events occur frequently and risk cases increase rapidly.The financial securities trading market faces unprecedented risk challenges.At present,the traditional risk control system of securities companies has been unable to deal with the huge trading volume,which makes risk monitoring difficult.Therefore,it has become an urgent demand for securities companies to build a real-time risk control system with high throughput,low delay and high performance,and to monitor securities transactions in real time.In order to realize the real-time risk monitoring of securities trading,this paper uses the Flink flow computing framework to design and implement a set of millisecond level real-time risk control system.Compared with traditional risk control systems,it is found that Flink has advantages in batch processing and real-time processing,while the real-time risk control system based on Flink has advantages such as high throughput,low delay and high performance,and can realize real-time risk control at the millisecond level.The system uses the distributed service framework to realize the modular function.This paper first analyzes and summarizes the key work in risk control,and takes abnormal trading behavior of securities as the research object,and analyzes the demand of risk control system.Secondly,a real-time data warehouse is designed,and the real-time data acquisition and processing are realized through hierarchical design.Then,a rule engine based on the Flink streaming computing engine is constructed to return the risk control results.Finally,a risk control operating platform is designed to enable business personnel to alarm abnormal trading behavior.After practical operation and testing,the real-time risk control system designed and implemented in this paper meets the requirements of high throughput,low delay and high performance in terms of function and performance.The real-time risk control system with high throughput,low delay and high performance based on Flink streaming computing framework can not only meet the needs of enterprises for real-time data processing,effectively conduct millisecond real-time monitoring of securities trading behavior,but also meet the requirements of securities operating institutions for regulatory compliance and risk control management of customer trading behavior. |