The invention provides a business call log
relationship analysis method and
system based on memory cache, and relates to the technical field of distributed data relationship
processing. The method comprises the steps of accessing log
stream data in a business service call process to a
stream processing platform; storing the data in a memory cache, taking the unified serial number as
streaming data to continue to flow, and distributing a time window grouping mark for the
streaming data; judging whether a time window corresponding to the
stream data is opened or not according to the time window grouping mark, if so, adding the
stream data into the corresponding time window, and otherwise, creating a new time window; closing the time window after the time window reaches the opening duration, and triggering the analysis of all
stream data in the time window; and storing an analysis result. The method has the advantages that online
data flow analysis is carried out on clouded and containerized business service calling process logs by utilizing an extremely small time window by utilizing a memory caching technology, a business calling relation result is acquired and stored in
quasi real time, and an efficient means is provided for quickly discovering business
system faults.