Information processing apparatus, method of setting division condition, and program
The information processing device automatically groups transactions based on identification and response time to set accurate thresholds, effectively addressing the challenge of detecting short transaction delays in systems with varying response times.
Patent Information
- Application Number
- JP2023046663
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
AI Technical Summary
Existing systems struggle to accurately detect transaction delays in transactions with varying response times, as thresholds calculated using standard deviation analysis often fail to detect short transaction delays due to the influence of normal transactions, leading to false positives and negatives.
An information processing device and method that automatically sorts transactions into groups based on transaction identification information and response time, using a condition setting mechanism to set accurate thresholds for each group, recursively refining the grouping to achieve precise delay detection.
Enables automatic distribution of transactions with similar response times into the same group, improving the accuracy of delay detection by minimizing variations in response times and correctly identifying short transaction delays.
Smart Images

Figure 2024135794000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a method for setting a division condition, and a program. [Background technology]
[0002] In order to understand the state of a system on which an application runs, the time required for a transaction to be executed in that system (called a response time) is monitored to detect transaction delays.
[0003] Generally, when monitoring transaction delays, a delay is detected when the response time exceeds a threshold set for that transaction. The threshold used to determine whether a transaction is delayed is often calculated by analyzing past response times and using standard deviation analysis, etc.
[0004] However, the past transactions being analyzed may contain a mixture of short and long response times, depending on the processing content and transaction characteristics. In such cases, the threshold calculated from past response times using standard deviation analysis, etc., may become large due to the influence of normal transactions that have long response times but are not delayed, and delays in short transactions may be hidden and not detected. In order to properly detect delays in transactions with short response times, it is desirable to group transactions so that there is as little variation in response times as possible, and to detect transaction delays by setting a threshold for each group.
[0005] 1 shows a typical example of the configuration of a system for detecting transaction delays. The transaction processing system 1' includes a terminal 100 that makes a transaction request, and a transaction processing device 200' that processes transactions requested by the terminal 100 and detects transaction delays. The transaction processing device 200' includes a transaction input unit 210, a transaction log 211, a transaction group allocation control unit 220, a transaction group setting unit 230, a transaction processing unit 250, a transaction group delay detection unit 260, a transaction group counting program unit 270, and a transaction group count value 280.
[0006] The transaction input unit 210 accepts a request for transaction processing from the terminal 100. The transaction log 211 holds an input history of transaction processing accepted by the transaction input unit 210. The transaction group distribution control unit 220 distributes the transaction processing accepted by the transaction input unit 210 to each transaction group according to the distribution setting 231. The transaction group distribution control unit 220 outputs the transaction processing distributed to each transaction group to the transaction processing unit 250. The transaction group setting unit 230 accepts a setting for distributing the transaction processing to each transaction group. For example, an operator inputs identification information of a transaction classified into transaction group A to the transaction processing device 200. The transaction group setting unit 230 stores the input information as the distribution setting 231. The transaction group distribution control unit 220 refers to the distribution setting 231 and distributes a transaction having the corresponding identification information to the transaction group A. The transaction processing unit 250 executes the transaction processing requested by the terminal 100. The transaction group delay detection unit 260 measures the response time taken for transaction processing in the transaction processing unit 250, compares the measured response time with a baseline threshold 282 (described below), and determines that a delay is occurring in the transaction if the measured response time is equal to or greater than this threshold. The transaction group counting program unit 270 counts the response times measured by the transaction group delay detection unit 260 for each transaction group, and calculates a transaction group count value 280. The transaction group count value 280 includes a response count value 281 and a baseline threshold value 282. The response count value 281 is, for example, the average value of the response time. The baseline threshold value 282 is calculated by adding the standard deviation to the average response time, for example.
[0007] For example, in the case of the transaction processing system 1' illustrated in FIG. 1, in order to accurately detect transaction delays, it is necessary to set transaction identification information in the distribution setting 231 so that transactions with long response times and transactions with short response times are grouped separately.
[0008] However, applications that perform transaction processing generally consist of a variety of processes, and it is difficult to divide transactions while considering the response time. As a result, there may be a large variation in response time even for transactions issued by the same application. In order to set the distribution settings 231 so that transaction delays can be detected accurately, complex tasks such as detailed understanding of transaction processing content and adjustment of grouping design must be performed, which requires a lot of time and effort.
[0009] Patent Document 1 discloses a monitoring device that classifies transactions by application and calculates response time statistics for each group. However, Patent Document 1 does not disclose a technology that solves the above problems. [Prior art documents] [Patent documents]
[0010] [Patent Document 1] Patent Publication No. 2021-51704 Summary of the Invention [Problem to be solved by the invention]
[0011] In order to accurately detect transaction delays, it is necessary to sort transactions with similar response times into the same transaction group, and a technique for efficiently sorting transactions is needed.
[0012] SUMMARY OF THE PRESENT DISCLOSURE An object of the present invention is to provide an information processing device, a method for setting division conditions, and a program that solve the above-mentioned problems. [Means for solving the problem]
[0013] According to one aspect of the present invention, an information processing device includes a split condition setting means for setting split conditions for allocating transactions to transaction groups based on transaction identification information and the response time when processing the transactions.
[0014] According to one aspect of the present invention, a method for setting a division condition sets a division condition for allocating a transaction to a transaction group based on identification information of the transaction and a response time when the transaction is processed.
[0015] According to one aspect of the present invention, a program causes a computer to execute a process of setting a split condition for allocating the transactions to transaction groups based on the identification information of the transactions and the response time when the transactions are processed. Effect of the Invention
[0016] According to the present invention, transaction groups can be automatically allocated. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 illustrates an example of a typical transaction processing system. [Diagram 2] FIG. 1 is a diagram illustrating an example of a transaction processing system according to a first embodiment. [Figure 3A] FIG. 11 is a first diagram illustrating a transaction group allocation process according to the first embodiment. [Figure 3B] FIG. 11 is a second diagram illustrating the transaction group allocation process according to the first embodiment. [Figure 4] FIG. 11 is a diagram illustrating an example of a transaction processing system according to a second embodiment. [Figure 5A] FIG. 11 is a first diagram illustrating a transaction group allocation process according to the second embodiment. [Figure 5B] FIG. 11 is a second diagram illustrating the transaction group allocation process according to the second embodiment. [Figure 6] FIG. 1 is a block diagram showing a configuration of an information processing device having a minimum configuration. [Figure 7] 11 is a flowchart showing the operation of an information processing device having a minimum configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] The transaction group allocation process (group allocation is also called group division) for detecting transaction delays according to each embodiment of the present invention will be described below with reference to the drawings. In the drawings used in the following description, the configuration of parts that are not related to the present invention may be omitted or not illustrated.
[0019] First Embodiment (composition) 2 is a diagram showing an example of a transaction processing system according to an embodiment of the present invention. The transaction processing system 1 includes a terminal 100 and a transaction processing device 200. The transaction processing device 200 includes a transaction input unit 210, a transaction log 211, a transaction group allocation control unit 220, a transaction group setting unit 240, a transaction processing unit 250, a transaction group delay detection unit 260, a transaction group counting program unit 270, and a transaction group count value 280.
[0020] The difference between the transaction processing system 1 in FIG. 2 and the general transaction processing system 1' shown in FIG. 1 is that the transaction processing system 1 according to this embodiment has a transaction group setting unit 240 instead of the transaction group setting unit 230. The configuration other than the transaction group setting unit 240 is as described using FIG. 1. The transaction group setting unit 240 has a transaction group division program unit 241 and a transaction group division condition 242. An overview of the functions and operations of the transaction processing system 1 will be explained below, focusing on the transaction group setting unit 240.
[0021] (Overview of operation) A transaction processing request is made from the terminal 100 to the transaction processing device 200. The transaction input unit 210 accepts this request, records the history of the requested transaction processing in a transaction log 211, and also sends the accepted transaction processing to the transaction group allocation control unit 220.
[0022] The transaction group distribution control unit 220 distributes the received transaction processing to one of the transaction groups according to the transaction group division conditions 242 defined by the transaction group setting unit 240, and sends the transaction processing to the transaction processing unit 250. The transaction processing unit 250 executes the requested transaction processing. The result of the transaction processing is sent to the terminal 100.
[0023] The transaction group delay detector 260 measures the processing time (that is, the response time) in the transaction processor 250 and detects delays based on the response total value 281 and the baseline threshold 282 .
[0024] The transaction group totaling program unit 270 totals the response time for each transaction group, and calculates a transaction group total value 280. The transaction group total value 280 includes a response total value 281 and a baseline threshold value 282. For example, the response total value 281 is the average, maximum, or minimum value of the response time. The baseline threshold value 282 is, for example, a value obtained by adding 2× the standard deviation of the response time to the average response time in the response total value 281.
[0025] The result calculated as the transaction group total value 280 is fed back to the transaction group division program unit 241 of the transaction group setting unit 240. The transaction group division program unit 241 verifies the response total value 281 and the baseline threshold value 282, and creates transaction group division conditions (allocation conditions) if the accuracy of the baseline threshold value 282 is poor. The transaction group division program unit 241 reflects the created division conditions in the transaction group division conditions 242, and updates the transaction group division conditions 242.
[0026] The transaction log 211 , the transaction group aggregate value 280 , the response aggregate value 281 , the baseline threshold value 282 , and the transaction group division condition 242 are stored in a storage unit of the transaction processing device 200 .
[0027] (Details of operation) Next, with reference to FIGS. 3A and 3B, a process of allocating transaction groups and updating transaction group division conditions will be described using an example in which the transaction processing device 200 is a Web server that processes transactions based on HTTP (Hypertext Transfer Protocol) requests.
[0028] FIG. 3A shows the contents of transactions accepted by the transaction input unit 210 ("Transaction explanation identification code" and "Transaction identification information" in the table in FIG. 3A), the processing contents of the transaction group division program unit 241 ("Transaction pattern extraction" in the table in FIG. 3A), and the contents of the transaction group division conditions 242 ("Slowest pattern extraction processing" in FIG. 3A).
[0029] FIG. 3B shows the identification information of the transaction accepted by the transaction input unit 210 ("Transaction description identification code" in the table in FIG. 3B), the allocation conditions by the transaction group allocation control unit 220 ("Transaction group splitting conditions" in the table in FIG. 3B), the processing results of the transaction group counting program unit 270 ("Transaction group count value minimum / average / maximum thresholds" in the table in FIG. 3B), and information used by the transaction group delay detection unit 260 to detect transaction delays ("Response time (normal)" to "Delay detection (result of comparison with thresholds)" in the table in FIG. 3B).
[0030] Note that the tables in Figures 3A and 3B are actually one table, but are shown divided into two figures for convenience. For example, the first line in Figure 3A (line "A" in "Transaction group split processing (first time)") continues to the first line in Figure 3B (line "A" in "Transaction group split processing (first time)").
[0031] (First processing) The transaction processing device 200 accepts six different transactions, from "http: / / localhost / requestA" to "http: / / localhost / requestF", as transactions identified by URLs (Uniform Resource Locators). Hereinafter, each transaction will be referred to as transaction A to F. The normal value and delayed value of the response time of each transaction will be referred to as response time (normal) and response time (delayed), respectively.
[0032] The state when transactions A to F are processed for the first time is shown in the rows (six rows) of "Transaction group split processing (first time)" in Figures 3A and 3B. In the first processing, it is assumed that transactions A to F are all processed within the response time (normal). In the first processing, the transaction group split program unit 241 does not have an extraction pattern (row "Transaction group split processing (first time)" in Figure 3A, column "Transaction pattern extraction"), so transaction group split is not performed and the transaction group split condition by the transaction group allocation control unit 220 is also "none" (column "Transaction group split condition" in Figure 3B). As a result, all transactions A to F are allocated as the same transaction group.
[0033] The response times measured by the transaction group delay detection unit 260 are tallied by the transaction group totalization program unit 270, and, for example, the minimum, average, and maximum response times and a threshold are calculated (the column "Transaction group total value min~" in FIG. 3B). The threshold is calculated, for example, by adding the average value of the measured response times plus twice the standard deviation of the measured response times.
[0034] These aggregated values are passed to the transaction group delay detection unit 260, which detects whether or not a transaction is delayed. In this example, the calculated threshold is 500 ms. Transaction F has a normal response time (1200 ms) with no delay, and is determined to have a delay because it exceeds the threshold, but this is a false positive. A false positive means that when the response time is compared with the threshold, it is determined that a transaction delay has occurred because the response time is longer than the threshold, but in reality no delay has occurred.
[0035] Moreover, the above various aggregated values are passed to the transaction group division program unit 241, which checks the accuracy of the threshold. Since the response times (when delayed) of transactions A to E are short processing times (30 ms, 40 ms, 30 ms, 240 ms, and 260 ms, respectively), even if a delay occurs in these transactions, the delay cannot be detected by the threshold set to 500 ms. Furthermore, for transaction F, although it is a normal transaction, it is detected as delayed (false detection). In such a case, since there is a problem with the accuracy of the threshold, the transaction group division program unit 241 executes a process of extracting a division condition of the transaction group. For example, if the response time (when delayed) is shorter than the threshold, the transaction group division program unit 241 determines that there is a problem with the accuracy of the threshold. Alternatively, if the response time (when normal) is longer than the threshold, the transaction group division program unit 241 determines that there is a problem with the accuracy of the threshold. If the transaction group division program unit 241 determines that there is a problem with the accuracy of the threshold, it creates a new division condition.
[0036] (2nd time) Next, the operation of the transaction group splitting process (second time) will be described. First, the transaction group splitting program unit 241 extracts a new splitting condition. Specifically, the transaction group splitting program unit 241 extracts a pattern of transaction identification information from the top transaction with the longest response time among transactions A to F. A top transaction is, for example, a transaction whose response time (delay time) exceeds a threshold. In this example, transaction F is detected as the transaction with the top response time. To extract transaction F, the transaction group splitting program unit 241 extracts a splitting condition that means to allocate transaction F to another transaction if "requestF" is included from the characteristics of the transaction identification information ("requestF" in the "slowest pattern extraction process" column of the row of "transaction group splitting process (second time)" in FIG. 3A).
[0037] Next, the transaction group distribution control unit 220 divides transaction F into a different group from transactions A to E according to the newly extracted division condition (the “Transaction explanation identification code” and “Transaction group division condition” columns in the row of “Transaction group division process (second time)” in FIG. 3B).
[0038] Next, the transaction group counting program unit 270 counts up each of the split transaction groups (transactions A to E and transaction F) and calculates the minimum, threshold, maximum and threshold response times. In this example, the threshold for the transaction group of transactions A to E is set to 180 ms, and the threshold for the group of transaction F is set to 1500 ms (column "Transaction group count value~" in the row of "Transaction group split process (second time)" in FIG. 3B).
[0039] These aggregated values are passed to the transaction group splitting program unit 241, which checks the accuracy of the thresholds. In this example, the delay of transaction F and the delays of transactions D and E are detected correctly, but the delays of transactions A to C cannot be detected with a threshold of 180 ms because their response times (at delay) are 30 ms, 30 ms, and 40 ms, respectively. The transaction group delay detection unit 260 determines that there is a problem with the accuracy of the thresholds for transactions A to C, and extracts new splitting conditions for transaction groups A to E.
[0040] (3rd time) The operation of the transaction group splitting process (third time) will be described. First, the transaction group splitting program unit 241 extracts a new splitting condition. The transaction group splitting program unit 241 extracts a pattern of transaction identification information from the top transaction with the longest response time among transactions A to E. In this example, transactions D and E that can detect delays (that is, the threshold is longer than the response time (normal) and the threshold is shorter than the response time (delayed)) are detected as transactions with the top response times. To extract transactions D and E, the transaction group splitting program unit 241 creates a new splitting condition that, based on the features of the transaction identification information, if it matches "request(D|E)", it will be treated as a separate transaction. Here, for convenience, the splitting conditions are written in regular expressions.
[0041] Next, the transaction group distribution control unit 220 divides the transactions into groups A to C, D, E, and F according to the extracted division conditions (the columns “Transaction explanation identification code” and “Transaction group division condition” in the row of “Transaction group division process (3rd time)” in FIG. 3B).
[0042] Next, the transaction group counting program unit 270 counts up each of the divided transaction groups and calculates the maximum, average, minimum and threshold response times. In this example, the threshold for the group of transactions A to C is set to 26 ms, the threshold for the group of transactions D and E is set to 150 ms, and the threshold for the group of transaction F is set to 1500 ms.
[0043] The aggregated value is passed to the transaction group division program unit 241, which checks the accuracy of the threshold. In this example, the response times (delays) when transactions A to C are delayed are 30 ms, 30 ms, and 40 ms, respectively, and a threshold of 26 ms is used to detect the transaction delay, and a threshold with correct accuracy is set.
[0044] If there are other transactions, the transaction group division program unit 241 extracts division conditions for transaction groups that have similar problems with the accuracy of the thresholds, and finally automatically divides the transaction groups to an appropriate accuracy.
[0045] (effect) As described above, according to this embodiment, transaction processing with similar response times can be automatically sorted into the same transaction group. More specifically, (1) the transaction group division program unit 241 recursively divides transaction groups without considering transaction processing times, so that groups can be automatically divided to achieve appropriate delay threshold accuracy for transactions. (2) In addition, because groups can be automatically divided to achieve appropriate threshold accuracy for transactions, it is possible to detect short delayed transactions that were previously difficult to detect because they were buried in long normal transactions.
[0046] <Second embodiment> Next, another embodiment (second embodiment) of the present invention will be described with reference to Figures 4 to 5B. In the second embodiment, the transaction group division program unit 241 extends the transaction explanation identification code and combines data during transaction processing (for example, a SQL (Structured Query Language) character string) with the transaction explanation identification code, thereby realizing more detailed transaction identification.
[0047] (composition) 4 shows a transaction processing system 1A according to the second embodiment. The transaction processing system 1A includes a terminal 100 and a transaction processing device 200A. The transaction processing device 200A differs from the transaction processing device 200 according to the first embodiment in that an SQL aggregate value 283 is added to a transaction group aggregate value 280. The other configurations are the same as those of the first embodiment.
[0048] The transaction group totaling program unit 270 calculates a transaction group total value 280 by totaling a response total value 281, a baseline threshold value 282, and also SQL statements and SQL response times processed in a transaction group, to calculate an SQL total value 283.
[0049] The result calculated as the transaction group total value 280 is fed back to the transaction group division program unit 241 of the transaction group setting unit 240, which verifies the response total value 281 and the baseline threshold value 282. If the accuracy of the baseline threshold value 282 is poor, a new transaction group division condition is extracted. The newly extracted division condition is reflected in the transaction group division condition 242.
[0050] (operation) Next, with reference to FIGS. 5A and 5B, a transaction group allocation and transaction group division condition update process in the second embodiment will be described taking as an example a case where a Web server that processes transactions based on HTTP requests is the transaction processing device 200.
[0051] FIG. 5A shows the contents of the transaction accepted by the transaction input unit 210 ("Transaction explanation identification code", "Transaction identification information", and "Intra-transaction identification string information" in the table of FIG. 5A) and the processing contents of the transaction group division program unit 241 ("Transaction pattern extraction" in the table of FIG. 5A).
[0052] FIG. 5B shows the identification information of the transaction accepted by the transaction input unit 210 ("Transaction description identification code" in the table in FIG. 5B), the contents of the transaction group splitting condition 242 ("Slowest pattern extraction process" in FIG. 5B), the allocation conditions used by the transaction group allocation control unit 220 ("Transaction group splitting condition" in the table in FIG. 5B), the processing result of the transaction group counting program unit 270 ("Transaction group count value minimum / average / maximum thresholds" in the table in FIG. 5B), and information used by the transaction group delay detection unit 260 to detect transaction delays ("Response time (normal)" to "Delay detection (result of comparison with thresholds)" in the table in FIG. 5B).
[0053] Note that the tables in Figures 5A and 5B are actually one table, but are shown divided into two figures for convenience. For example, the first line in Figure 5A (the line "A1" in "Transaction group split processing (first time)") continues to the first line in Figure 5B (the line "A1" in "Transaction group split processing (first time)").
[0054] (1st time) The transaction input unit 210 of the transaction processing device 200 accepts two different transactions, "http: / / localhost / requestA" and "http: / / localhost / requestB", as transactions identified by URLs. In transactions A and B, SQL statements are executed within the transaction processing according to the intra-transaction data, and the SQL statements and response times are tallied as an SQL total value 283 in the transaction group totaling program unit 270. The transaction identification information includes the URL of the transaction identifier plus the SQL statement as intra-transaction identification string information. Hereinafter, transactions will be described as A1 to A3 and B1 to B3 according to each transaction and the pattern of the SQL statement executed in each transaction.
[0055] The state when transactions A to F are processed for the first time is shown in the row "Transaction group split processing (first time)" in Figures 5A and 5B. In the first processing, it is assumed that transactions A to F were all processed within the response time (normal). In the first processing, the transaction group split program unit 241 does not perform splitting because there is no extraction pattern, and the transaction group split condition in the transaction group allocation control unit 220 is also "none". As a result, transactions A1 to A3 and B1 to B3 are all counted as the same transaction group by the transaction group counting program unit 270, and the counted values (minimum, average, maximum) of the response time and the threshold value are calculated.
[0056] The aggregated value is passed to the transaction group splitting program unit 241, which checks the accuracy of the threshold. In this example, the aggregated threshold is 100 ms. Transactions A2 and B2 have normal response times, but exceed the threshold, resulting in a false positive. Furthermore, the response times (when delayed) of transactions A1, A3, B1, and B3 are less than 100 ms, so the delay cannot be detected by the threshold of 100 ms. Because there is a problem with the accuracy of the threshold, the transaction group splitting program unit 241 extracts new splitting conditions for the transaction groups.
[0057] (2nd time) The operation of the transaction group split process (second time) will be explained. A pattern of transaction identification information is extracted from the top transactions with the longest response times among transactions A1 to A3 and B1 to B3. In this case, transactions A2 and B2 are detected as transactions with the top response times, and from the characteristics of the transaction identification information, if "update? Set? where id=?" is included, a new split condition is extracted to treat them as separate transactions. According to the extracted split condition, the transaction group allocation control unit 220 splits the transactions into two groups: transactions A1, A3, B1, B3 and transactions A2, B2.
[0058] Next, the transaction group counting program unit 270 counts up each divided transaction group and calculates thresholds, etc. In this example, the threshold for the group of transactions A1, A3, B1, and B3 is set to 25 ms, and the threshold for the group of transactions A2 and B2 is set to 150 ms. The counted values are passed to the transaction group division program unit 241, which checks the accuracy of the thresholds. In this example, false positives during normal times for transactions A2 and B2 are eliminated, and delay detection for transactions A1, A3, B1, and B3 is also performed correctly, so that the transaction groups are divided with the correct accuracy.
[0059] (effect) According to the second embodiment, in addition to the effects of the first embodiment, by utilizing information within the transaction processing to subdivide transactions, it is possible to divide them into transaction groups with greater precision and minimize the variation in response times.
[0060] In the above description, the transaction group allocation process for detecting transaction delays according to the first and second embodiments is used to monitor transaction delays in a transaction processing system that executes a Web application, but the present invention is not limited to this. For example, the process can be used to monitor delays in services provided by Web services, to monitor delays in transaction processing in applications for mobile devices, and to monitor delays in data collection and processing systems in the field of the Internet of Things (IoT).
[0061] In the above explanation, the transaction group splitting program unit 241 verifies the aggregated response times (minimum, average, maximum) and the thresholds. However, this verification itself may be performed by the transaction group delay detection unit 260. If there is a problem with the accuracy of the thresholds, the transaction group delay detection unit 260 may instruct the transaction group splitting program unit 241 to extract splitting conditions for the transaction groups.
[0062] (Minimum configuration) FIG. 6 is a block diagram showing the configuration of an information processing device having a minimum configuration. The information processing device 800 includes a division condition setting means 810 . The division condition setting means 810 sets division conditions for distributing the transactions into transaction groups based on the transaction identification information and the response time when the transactions are processed. The transaction processing device 200 is an example of an information processing device 800. The transaction group division program unit 241 is an example of a division condition setting means 810. The transaction group division condition 242 is an example of a division condition.
[0063] For example, in a system that calculates and sets a threshold from past transaction response times to detect transaction processing delays in a transaction system, the division condition setting means 810 creates a division condition that extracts common transaction characteristic information from transactions with long response times and assigns transactions with long response times and other transactions to different transaction groups when past transaction response times vary widely. The system then sets a transaction delay threshold for each transaction group. This allows the user to appropriately group transactions without being aware of the response times that vary from transaction to transaction, improving the accuracy of the threshold through grouping and enabling appropriate detection of delays in short transaction processing.
[0064] Furthermore, when the response times of transactions vary widely, the division condition setting means 810 divides the transactions into groups with long response times, and further divides each divided group again if the response times vary widely. In this way, by dividing the groups recursively, the groups are divided until the detection accuracy of the transaction delay detection reaches an appropriate accuracy. This allows all transactions to be monitored with a highly accurate threshold without the user being aware of the transaction groups, and significantly reduces the cumbersome work required for the user to set and review the grouping settings.
[0065] FIG. 7 is a flowchart showing the operation of an information processing device having a minimum configuration. The division condition setting means 810 sets a division condition for distributing the transactions into transaction groups based on the transaction identification information and the response time when the transaction is processed (step S801).
[0066] It should be noted that a part of the transaction processing devices 200, 200', 200A and terminal 100 in the above-mentioned embodiment may be realized by a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into a computer system and executed to realize the function. Note that the "computer system" referred to here is a computer system built into the transaction processing devices 200, 200', 200A and terminal 100, and includes an OS (Operating System) and hardware such as peripheral devices.
[0067] In addition, "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into computer systems. Furthermore, "computer-readable recording medium" may also include devices that dynamically hold a program for a short period of time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line, and devices that hold a program for a certain period of time, such as volatile memory inside a computer system that serves as a server or client in such cases. Furthermore, the above program may be one that realizes part of the above-mentioned functions, or may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system.
[0068] Furthermore, the transaction processing devices 200, 200', 200A and the terminal 100 in the above-described embodiments may be partly or entirely implemented as integrated circuits such as LSI (Large Scale Integration). Each functional unit of the transaction processing devices 200 and 200A may be individually implemented as a processor, or partly or entirely integrated into a processor. The integrated circuit implementation method is not limited to LSI, and may be implemented using a dedicated circuit or a general-purpose processor. Furthermore, when an integrated circuit implementation technology that can replace LSI appears due to advances in semiconductor technology, an integrated circuit based on that technology may be used.
[0069] Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes and the like can be made within the scope of the gist of the present invention. In addition, one aspect of the present invention can be modified in various ways within the scope of the claims, and embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. In addition, configurations in which elements described in the above embodiments and modified examples are replaced with elements that have the same effect are also included. [Explanation of symbols]
[0070] 1, 1A, 1´···Transaction Processing System 100... Terminal 200, 200A, 200´···Transaction Processing Device 210 Transaction input section 211...Transaction log 220 Transaction group distribution control unit 230 Transaction group setting section 231...Sort setting 240 Transaction group setting section 250 Transaction processing unit 260 Transaction group delay detection unit 270 Transaction group aggregation program section 280 Transaction group totals 240 Transaction group setting section 241 Transaction group division program part 242 Transaction group split condition
Claims
1. a division condition setting means for setting a division condition for distributing the transactions to transaction groups based on transaction identification information and a response time when the transactions are processed; An information processing device comprising:
2. the division condition setting means sets the division condition based on information combining identification information of the transaction and data used in processing the transaction, and the response time. The information processing device according to claim 1 .
3. The data used to process the transaction is SQL. The information processing device according to claim 2 .
4. the division condition setting means creates the division condition such that the transactions having a long response time and the transactions having a short response time are allocated to different transaction groups.
3. The information processing device according to claim 1 or 2.
5. the division condition setting means extracts the transactions whose response time exceeds a threshold when the processing of the transactions is delayed, and creates the division condition such that the transactions are assigned to one of the transaction groups. The information processing device according to claim 4.
6. the division condition setting means creates the division condition when the response time when the processing of the transaction is not delayed exceeds a threshold value.
3. The information processing device according to claim 1 or 2.
7. the division condition setting means creates the division condition when the response time when the processing of the transaction is delayed is less than a threshold value.
3. The information processing device according to claim 1 or 2.
8. a distribution control unit that distributes the transactions to the transaction groups based on the division conditions set by the division condition setting means; The information processing device according to claim 1 or 2, further comprising:
9. setting a division condition for distributing the transactions to transaction groups based on transaction identification information and a response time when the transactions are processed; How to set split conditions.
10. On the computer, A process of setting a division condition for distributing the transactions to transaction groups based on transaction identification information and a response time when the transactions are processed; A program that executes the following.
Citation Information
Patent Citations
Performance management system and performance management method in a multi-tiered computing environment
JP2008502044A
Monitoring device and program
JP2021051704A
