Font Size: a A A

Design And Implementation For Low Coupled Log System For High Load Environments

Posted on:2017-03-23Degree:MasterType:Thesis
Country:ChinaCandidate:Y G HuFull Text:PDF
GTID:2348330518493380Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Along with the continuous development of science and technology,our daily life is filled with computers and Internet.As a bridge between computers and human society,the importance of software is obviously.In recent years,the software industry is growing rapidly,involving a wide range,which fea-tures more and more,directly led to the development of software has become increasingly complex.Application log can help developers find software the problems encountered while developing or running as soon as possible,and can also be used to record the program oprating informations in real time infor-mation,developers can provide users with more effective results.In program development,therefore,logging and analysis is a very common requirement.To meet the requirement,this paper intends to build a log system,which can work in high load environment,and provide developers the function of log read-ing and writing,cost as little resouce as it can;user program's business-logic and log-oprating are clearly devided,so that user program only need calls re-lated interface to achieve log read and write without knowing how reading and writing functions ware implemented;the system can serve lots of programs at the same time,and support user-defined log-type which give s user programs a great deal of freedom;and the system can survive variaty environments,even the kernel mode environment is supported.After researching,this paper found that programs developed with C/C++ language has the best efficency,and was widely used.In order to log in process of delivery,based on the existing method of interprocess communication on the basis of a new set of inter-process com-munication framework,as the basis for this log system log data.Log system consists of two modules,one log management module of the system,running as a daemon process in the system,the other is a log system user interface module,run in the user program process space,provides an interface for user programs,and communicate with the management system to achieve log transport.
Keywords/Search Tags:High Load, Log, Low Coupling, concurrency
PDF Full Text Request
Related items