Build from scratch daily turnover of ten billion trading system logging system

Course Download: https://pan.baidu.com/s/1SZDjQKK6J24eFvgxElS1vA extraction code: 6nlt

A large-scale trading system, subject of the transaction price of streaming data using the transaction price trigger mode, T + 0 trading system (like stocks, futures, precious metals, etc.). The system needs to record a lot of price data, transaction information and order flow and system performance for demanding (sensitivity of milliseconds), it is necessary to avoid logging service has become the bottleneck of the system performance. By measuring the Performance of several general-purpose log (e.g. log4j, logback), and taking into account that they are relatively cumbersome as universal log decided to develop their own logging system, the system functionality and performance required support. After two months on-line system 20 billion daily turnover RMB, up to 44 billion RMB, 4000 T peak turnover / sec. The system is very large, the log system perfectly support the logging service. Change log system includes the following features: dual buffer queue, a variety of brush disk mechanisms, a variety of RollingFile mechanisms, multi-log level, thermal loading, ultra-lightweight, performance guarantees success for daily transaction volume ten billion trading system.

This hands-on course from scratch with everyone to achieve change log system, from which we can learn a lot of design, coding techniques, advanced knowledge, and ultimately the system is a high-performance logging system available, high commercial value. Finally, the course will do performance testing, so that we see the real performance of the system log.

Course Catalog:

Class 1: Course Introduction logging system
class 2: log log system of constant design and implementation of
class 3: The logging system configuration files designed to prepare and implement and test the code reading
lesson 4: cache design and implementation of the system log configuration file
class 5 : log system level configuration file to read as much as the design and implementation
class 6: the log system configuration file loading dynamically update the design and implementation
class 7: log file configuration systems dynamically update code optimization extracted explain
hours 8: optimization of constant logging systems dynamically obtain user configuration information
class 9: various types of data logging system reads constants based implementation and optimization
hours 10: log log systems double buffer queue explain design
class 11: log log systems double buffering a plurality of data buffer queues implemented
12 hours: log log systems more brush disc systems log mechanism design
class 13: log log management systems designed to explain
14 hours: Construction of dual detection systems log log management singleton
class 15: byte stack information and logging systems tools
add logs of system log: 16 hours Information to cache implementation
class 17: log log management systems implemented threads
hours 18: The system log file to log output achieved
class 19: Time logging tools systems implemented
hours 20:20 split log file systems implemented
hours 21: brush pan log system to achieve the trigger
class 22: log system as much as a thread asynchronous tasks, and refresh the log level
class 23: elegant log systems shut down logging implementation
24 hours: log log system of constructing the main class
class 25: hook log handling systems aborted
hours 26: Effect of the test system log
hours 27: log system performance and throughput of code development and testing system performance and throughput

Guess you like

Origin blog.51cto.com/12713750/2420894