Abstract:With the booming development of the electricity market, market factors such as electricity trading varieties are growing rapidly. The frequency of transactions has become increasingly real-time, and transaction clearing and settlement tasks have become more complex. The increasing demands for concurrent access and carrying capacity in trading systems have made it increasingly difficult for existing systems to support business. This article proposes a transaction support system for large-scale electricity trading market entities, which solves the problems of high concurrency access and massive access data calculation while ensuring system security through business isolation measures. The system uses microservices to treat various functional modules as independent service modules, thus making service segmentation and composition more flexible. By using read–write separation, caching mechanisms, and several data reliability assurance measures, data can be stored and accessed quickly and securely. The use of a three-layer load balancing module consisting of an OpenResty access entry layer, a gateway routing gateway layer, and a WebClient service inter-resource invocation layer can effectively improve the system's ability to handle concurrent access.
What problem does this paper attempt to address?
The paper mainly proposes a solution to the problems faced by the technical support system of the power trading platform in high concurrent access scenarios. Specifically, with the rapid development of the power market, market factors such as trading varieties are growing rapidly, trading frequency is becoming increasingly real-time, and trading clearing and settlement tasks are becoming more complex. These changes place higher demands on the concurrent access capability and carrying capacity of the trading platform system, making it difficult for existing systems to support business needs.
The paper proposes a technical support system based on microservice load balancing to address the above issues. This system adopts a microservice architecture that treats different functional modules as independent service modules, making service segmentation and combination more flexible. Through read-write separation, caching mechanisms, and data reliability assurance measures, it achieves secure and fast data storage and access. Additionally, the three-layer load balancing module (including the OpenResty access entry layer, gateway routing layer, and WebClient inter-service resource invocation layer) effectively improves the system's ability to handle high concurrent access.
Overall, the paper aims to solve the following key issues:
1. **Slow business generation selection speed**: Due to the system architecture's failure to fully decouple business, modifications to a single functional module affect the entire system's functional application, leading to partial upgrades that in turn affect the entire system's passive upgrades. This severely impacts the rapid changes in the business characteristics of the power trading market.
2. **Slow response speed for high concurrent user access and transaction data declaration**: Most systems do not adopt an internet access architecture based on microservice architecture and overly rely on the computing power of the database, resulting in bottlenecks in data access and writing.
3. **Complex server resource management and lack of elastic expansion computing capability**: Under traditional architecture, deploying multiple web container instances on a web server leads to complex resource management. After single-instance deployment, the performance of the server web container is poor, unable to meet the market trading and transaction settlement calculations required for daily clearing and monthly settlement.
To solve these problems, the paper designs an overall solution based on a microservice framework. By researching key technologies such as microservice technology, load balancing, data storage access optimization, and containers, it designs a technical support system for the power trading platform that can meet the needs of high concurrency, high frequency, and big data processing.