CN110210828A - A kind of micro services administering method - Google Patents
A kind of micro services administering method Download PDFInfo
- Publication number
- CN110210828A CN110210828A CN201910463879.6A CN201910463879A CN110210828A CN 110210828 A CN110210828 A CN 110210828A CN 201910463879 A CN201910463879 A CN 201910463879A CN 110210828 A CN110210828 A CN 110210828A
- Authority
- CN
- China
- Prior art keywords
- node
- rule
- micro services
- service
- administering method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000008569 process Effects 0.000 claims abstract description 40
- 230000004044 response Effects 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 11
- 230000002159 abnormal effect Effects 0.000 claims abstract description 8
- 238000012544 monitoring process Methods 0.000 claims description 11
- 230000000694 effects Effects 0.000 claims description 4
- 230000015556 catabolic process Effects 0.000 abstract description 4
- 238000006731 degradation reaction Methods 0.000 abstract description 4
- 230000006872 improvement Effects 0.000 abstract description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Debugging And Monitoring (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Primary Health Care (AREA)
Abstract
The invention discloses a kind of micro services administering methods, and the method includes the steps 1: whether definitim flow title, description and setting are default process;Step 2: the flow setting flow nodes defined to step 1, node include that process start node, process node, predicate node, processing node and process end node, process node include current limliting, caching, fusing, thread pool and response time;Step 3: the rule of node each in step 2 is configured, rule includes determining whether node rule and processing node rule, predicate node rule includes QPS, abnormal number, unnatural proportions, Thread Count, response time, and processing node rule includes service-denial, returns to default value, throw exception and shielding degradation;Step 4: configured process is acted on into micro services;The workload of micro services improvement is greatly reduced, so that governance efficiency be made to be improved, the service-level agreement of enterprises service can be ensured for enterprise, the efficiency of setting is administered in the service of raising.
Description
Technical field
The present invention relates to micro services architecture technology fields, are a kind of micro services administering methods specifically.
Background technique
Micro services refer in the case where function is constant, a large-scale single application program and service are split as multiple
Manageable service.It is each to service selection technique stack according to their own needs, it is independent of each other, facilitates exploitation, maintenance, benefit is that have
Agile development and deployment are realized in the fractionation application of effect.Complicated dependence is had after enterprise's micro services, between service
Relationship, for example, a front end request can generally depend on multiple back-end services.In actual production environment, service is frequently not
Very reliable, service may malfunction or generate delay, if an application cannot be fault-tolerant to the failure progress that it is relied on
And isolation, then the application is inherently in the risk worn down.When such request is more and more, the computer resource of occupancy
When more and more, system bottleneck appearance will lead to, cause other requests same unavailable, eventually lead to operation system and collapse
It bursts.
The appearance of problems in order to prevent, micro services joined service in its framework and administer corresponding strategies, such as service
Current limliting, degradation, fusing, fault-tolerant etc., these strategies are required to individually open, while same type service may phase to Management strategy
Together, it also requires being individually arranged again, different strategy or not is arranged in a mini-system at least tens services, each service
Same strategy combination, this is sizable workload, to solve the above-mentioned problems, ensures the SLA of enterprises service, the i.e. grade of service
The efficiency of setting is administered in agreement, the service of raising, and this patent proposes a kind of process configuration system and method that micro services are administered.
Summary of the invention
The purpose of the present invention is to provide a kind of micro services administering methods, administer for solving micro services in the prior art
When, governance unit needs single unlatching, while same type service may be identical to Management strategy, it also requires be individually arranged again,
Cause the workload administered huge, the low problem of governance efficiency.
The present invention is solved the above problems by following technical proposals:
A kind of micro services administering method, described method includes following steps:
Step 1: whether definitim flow title, description and setting are default process;
Step 2: the flow setting flow nodes that step 1 is defined;
Step 3: the rule of node each in step 2 is configured;
Step 4: configured process is acted on into micro services.
The micro services administering method proposed through the invention becomes entire governance process in the process that micro services are administered
Succinctly smoothness is obtained, the workload of micro services improvement is greatly reduced, so that it is improved governance efficiency, the energy for enterprise
Enough ensure the service-level agreement of enterprises service, the efficiency of setting is administered in the service of raising.
Further, the node includes process start node, process node, predicate node, processing node and process knot
Shu Jiedian.
Further, the process node includes current limliting, caching, fusing, thread pool and response time.
Further, the rule of the node include determining whether node, processing node rule, predicate node rule include QPS,
Abnormal number, unnatural proportions, Thread Count, response time, processing node rule include service-denial, return to default value, throw exception
Degrade with shielding.
Further, the step 4 will start message for the service for having effect process in micro services runtime system and lead to
Know module and data monitoring modular.
Further, the message notification module is defined by internal system, when process flow operation is to when having message to inform user
Message informing user can be sent automatically;The data monitoring module monitors operation data and the data of rule module setting and progress
Comparison, makes process reach set position according to the rule of node.
Further, the data of the data monitoring module monitors include request amount, abnormal number, unnatural proportions, Thread Count
And the response time.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that
(1) present invention is easily understood easy to operate in micro services improvement, reduces enterprise's operation maintenance personnel and administers in micro services
The learning cost of aspect improves service governance efficiency, preferably ensures the SLA of enterprises service.
Detailed description of the invention
Fig. 1 is micro services administering method flow diagram of the invention;
Fig. 2 is the flow diagram of serial node definition in the embodiment of the present invention;
Fig. 3 is the flow diagram that parallel node defines in the embodiment of the present invention.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
Embodiment 1:
In conjunction with shown in attached drawing 1, a kind of micro services administering method, described method includes following steps:
Step 1: whether definitim flow title, description and setting are default process;
Step 2: the flow setting flow nodes defined to step 1, node include process start node, process node, sentence
Determining node, processing node and process end node, process node includes current limliting, caching, fusing, thread pool and response time;
Step 3: the rule of node each in step 2 being configured, rule includes QPS, abnormal number, unnatural proportions, thread
Number, response time, service-denial return to default value, throw exception and shielding degradation;
Step 4: configured process is acted on into micro services.
Step 1 is completed by flow definition module, and when Service Instance selects governance flowchart, system default reads default stream
Journey also can choose other processes defined;Step 2 is completed by node definition module, and when node definition can configure
Cheng Jiedian executes (as shown in Fig. 2) or parallel execution (as shown in Fig. 3) by serial;The rule setting of step 3 passes through rule
Then module is completed, and predicate node rule is corresponding with process node, and specific rules act on, and: QPS acts on current limliting, abnormal number,
Unnatural proportions act on fusing, and Thread Count acts on thread pool, and the response time acts on response time, and processing node rule includes
But it is not limited to service-denial, returns to default value, throw exception and shielding degradation;Rule module depends on node definition module definition
Nodal information just will appear the QPS for acting on current limliting in rule module as being added to current limliting node in node definition module
Parameter setting;Step 4 is directed in micro services runtime system has the service of effect process to will start message notification module and data
Monitoring modular.
Message notification module: the process messages notification module is defined by internal system, when process flow operation is to suitable
The opportunity system answered can send message informing user automatically;
Data monitoring module: the data monitoring module at runtime, passes through monitoring operation data and rule for process
The data comparison of module setting makes process reach set position, the monitoring operation according to the rule that predicate node configures
Data include but is not limited to request amount, abnormal number, unnatural proportions, Thread Count, response time.
Although reference be made herein to invention has been described for explanatory embodiment of the invention, and above-described embodiment is only this hair
Bright preferable embodiment, embodiment of the present invention are not limited by the above embodiments, it should be appreciated that those skilled in the art
Member can be designed that a lot of other modification and implementations, these modifications and implementations will fall in principle disclosed in the present application
Within scope and spirit.
Claims (7)
1. a kind of micro services administering method, which is characterized in that described method includes following steps:
Step 1: whether definitim flow title, description and setting are default process;
Step 2: the flow setting flow nodes that step 1 is defined;
Step 3: the rule of node each in step 2 is configured;
Step 4: configured process is acted on into micro services.
2. micro services administering method according to claim 1, it is characterised in that: the node include process start node,
Process node, predicate node, processing node and process end node.
3. micro services administering method according to claim 2, it is characterised in that: the process node include current limliting, caching,
Fusing, thread pool and response time.
4. micro services administering method according to claim 1, it is characterised in that: the rule of the node includes determining whether node
Rule and processing node rule, predicate node rule include QPS, abnormal number, unnatural proportions, Thread Count, response time, processing section
Point rule includes that service-denial, return default value, throw exception and shielding degrade.
5. micro services administering method according to claim 1, it is characterised in that: the step 4 micro services run when be
System, which is directed to, has the service of effect process to will start message notification module and data monitoring modular.
6. micro services administering method according to claim 5, it is characterised in that: the message notification module is by internal system
Definition, when process flow operation to have message informing user when can send message informing user automatically;The data monitoring module monitors
Data that operation data is arranged with rule module simultaneously compare, and so that process is reached set position according to the rule of node.
7. micro services administering method according to claim 6, it is characterised in that: the data of the data monitoring module monitors
Including request amount, abnormal number, unnatural proportions, Thread Count and response time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910463879.6A CN110210828A (en) | 2019-05-30 | 2019-05-30 | A kind of micro services administering method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910463879.6A CN110210828A (en) | 2019-05-30 | 2019-05-30 | A kind of micro services administering method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110210828A true CN110210828A (en) | 2019-09-06 |
Family
ID=67789655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910463879.6A Pending CN110210828A (en) | 2019-05-30 | 2019-05-30 | A kind of micro services administering method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110210828A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813568A (en) * | 2020-05-25 | 2020-10-23 | 北京皮尔布莱尼软件有限公司 | Service management system and method |
CN112506709A (en) * | 2020-12-16 | 2021-03-16 | 北京航天智造科技发展有限公司 | Micro-service treatment method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809299A (en) * | 2014-12-27 | 2016-07-27 | 华为技术有限公司 | Processing method of notification service of service flow management and service flow management engine |
CN107391142A (en) * | 2017-07-26 | 2017-11-24 | 北京中电普华信息技术有限公司 | The method and device that a kind of application is split |
CN107832161A (en) * | 2017-11-06 | 2018-03-23 | 东软集团股份有限公司 | Service calling method and device, storage medium, electronic equipment |
-
2019
- 2019-05-30 CN CN201910463879.6A patent/CN110210828A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809299A (en) * | 2014-12-27 | 2016-07-27 | 华为技术有限公司 | Processing method of notification service of service flow management and service flow management engine |
CN107391142A (en) * | 2017-07-26 | 2017-11-24 | 北京中电普华信息技术有限公司 | The method and device that a kind of application is split |
CN107832161A (en) * | 2017-11-06 | 2018-03-23 | 东软集团股份有限公司 | Service calling method and device, storage medium, electronic equipment |
Non-Patent Citations (2)
Title |
---|
罗钦凯 等: ""基于微服务的工作流技术在云管平台的应用"", 《计算机技术与发展》 * |
谭一鸣: ""基于微服务架构的平台化服务框架的设计与实现"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111813568A (en) * | 2020-05-25 | 2020-10-23 | 北京皮尔布莱尼软件有限公司 | Service management system and method |
CN111813568B (en) * | 2020-05-25 | 2024-05-31 | 北京皮尔布莱尼软件有限公司 | Service management system and method |
CN112506709A (en) * | 2020-12-16 | 2021-03-16 | 北京航天智造科技发展有限公司 | Micro-service treatment method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12050608B2 (en) | Data pipeline for scalable analytics and management | |
Huebscher et al. | A survey of autonomic computing—degrees, models, and applications | |
US7340654B2 (en) | Autonomic monitoring in a grid environment | |
CN104639374B (en) | A kind of application deployment management system | |
CN103166933B (en) | A kind of data security switching system and method | |
US20180039897A1 (en) | Forcasting interest in an object over a future period of time using a three-stage time-series analysis process | |
WO2023142054A1 (en) | Container microservice-oriented performance monitoring and alarm method and alarm system | |
CN108600029A (en) | A kind of configuration file update method, device, terminal device and storage medium | |
US8538793B2 (en) | System and method for managing real-time batch workflows | |
US7693996B2 (en) | Service level management system | |
CN108845798A (en) | A kind of visualization big data task cradle and processing method | |
CN110210828A (en) | A kind of micro services administering method | |
CN103399787B (en) | A kind of MapReduce operation streaming dispatching method and dispatching patcher calculating platform based on Hadoop cloud | |
CN110351366A (en) | A kind of service scheduling method of Internet application, system and computer readable storage medium | |
CN109684050A (en) | A kind of the affairs actuator and its application method of parallelization | |
WO2019157399A1 (en) | Data pipeline for scalable analytics and management | |
CN103024791B (en) | Multi-service processing model and multi-service processing method in communication test system | |
US12035156B2 (en) | Communication method and apparatus for plurality of administrative domains | |
CN109995875A (en) | Virtualization data distributes elastomeric network system | |
US10122602B1 (en) | Distributed system infrastructure testing | |
EP2960791A1 (en) | Method of executing an application on a distributed computer system, a resource manager and a distributed computer system | |
CN113448947B (en) | Method and device for distributed deployment operation and maintenance of mongo database | |
CN102916830A (en) | Implement system for resource service optimization allocation fault-tolerant management | |
US10439941B2 (en) | Determining switch load values for switches | |
CN101110022A (en) | Method for implementing workflow model by software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190906 |