Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for diagnosing abnormal RPC request

An exception and operation request technology, applied in the computer field, can solve the problems that key indicators cannot be associated with real-time results, low accuracy, and poor timeliness, so as to optimize cluster service capabilities, facilitate rule matching, and improve cluster stability.

Pending Publication Date: 2021-02-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (1) Locating the problem of excessive RPC request access by finding the abnormal task submission method requires R&D personnel to have the ability to identify related abnormal tasks; and using this method to locate the problem has low accuracy;
[0007] (2) By manually counting audit logs, other key indicators such as table information of the path operated by the user cannot be associated with results in real time; and using this method to locate problems has poor timeliness

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for diagnosing abnormal RPC request
  • Method and device for diagnosing abnormal RPC request
  • Method and device for diagnosing abnormal RPC request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0035] figure 1 is a schematic diagram of main steps of a method for diagnosing an abnormal RPC request according to an embodiment of the present invention. Such as figure 1 As shown, the diagnosis method of the abnormal RPC request in the embodiment of the present invention mainly includes the following steps:

[0036]Step S101: collect log data of the distributed syst...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for diagnosing an abnormal RPC request, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of collecting log data of a distributed system, and extracting a field influencing abnormal RPC request diagnosis from the log data as a key index field; counting the occurrence frequency of the target index field in the log data within a set window time to obtain an index aggregation result; wherein the target index field comprises at least one index field selected from the key index fields; and matching the index aggregation result with a set exception rule, and if the index aggregation result meets a triggering condition of the exception rule, determining that the RPC request corresponding to the index aggregation result is an exception RPC request. According to the method, the key index fields in the log data are subjected to index aggregation statistics within the set window time, and the indexaggregation result is matched with the exception rule, so that the exception RPC request can be quickly and accurately positioned.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for diagnosing abnormal RPC requests. Background technique [0002] HDFS (Hadoop Distributed File System, Hadoop Distributed File System) is the core sub-project of the Hadoop project. It is a highly fault-tolerant system that can provide high-throughput data access and is very suitable for applications on large-scale data sets. Users of each business line can request to access data stored on HDFS through RPC (Remote Procedure Call Protocol, remote procedure call protocol). [0003] Since HDFS itself has a limit on the number of accesses to RPC requests, and users access data on HDFS with great randomness, in some cases, user access behaviors, such as when users frequently read the historical data of a very large table, will As a result, the HDFS service is in a busy state and cannot provide stable services. [0004] In the existing technology, when the HDFS service...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54G06F16/18G06F16/182
CPCG06F9/547G06F16/1815G06F16/182
Inventor 江鹤
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products