A method and system for processing events in a distributed environment

A distributed environment and event processing technology, applied in the field of event processing methods and processing systems in a distributed environment, can solve problems such as increasing coding complexity and reducing concurrency performance of event consumption, achieving low event consumption performance and improving concurrency performance , the effect of high coding complexity

Active Publication Date: 2019-03-12
南京苏宁易付宝网络科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This greatly increases the complexity of coding, but also reduces the concurrency performance of event consumption to a certain extent

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
  • A method and system for processing events in a distributed environment
  • A method and system for processing events in a distributed environment
  • A method and system for processing events in a distributed environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The technical solution of the present invention will be described in detail below in conjunction with the embodiments.

[0039] Such as figure 1 As shown, the embodiment of the present invention provides an event processing method in a distributed environment, including:

[0040] S10 configures event information, and generates an event information database.

[0041] S20 starts the business service, loads the reliable event framework, and loads event information from the event information database. Start the event scheduling service, and load the event theme and event listening interface from the event information database.

[0042] S30 Publishing a new event to the business service database by using the business service.

[0043] S40 monitors new events in the business service database, and invokes the event monitoring interface according to loading event topics and event monitoring interfaces from the event information database.

[0044] The event processing method...

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 an event processing method and a processing system under a distributed environment, which not only ensures the reliable sending and monitoring of events, but also reduces the complexity of coding and improves the concurrency performance. The event processing method comprises the following steps: configuring event information to generate an event information database; Starting a business service, loading a reliable event framework and loading event information from the event information database; Starting an event scheduling service to load an event topic and an event listening interface from the event information database; Utilizing the business service to publish a new event to the business service database; The invention listens for new events in the service database, and invokes the event listening interface according to loading the event subject and the event listening interface from the event information database.

Description

technical field [0001] The invention belongs to the field of distributed services, and in particular relates to an event processing method and a processing system in a distributed environment. Background technique [0002] Currently, in a distributed environment, event systems are usually implemented through message middleware. The reliability of event sending is usually guaranteed by a two-phase sending mechanism or a distributed transaction mechanism. The reliability of event consumption monitoring is usually guaranteed by the reliable mechanism of message middleware. [0003] Reliability of event sending No matter whether the two-phase mechanism or the distributed transaction mechanism is adopted, it is necessary to call remote services multiple times and implement additional interfaces. This greatly increases the complexity of coding, but also reduces the concurrency performance of event consumption to a certain extent. Contents of the invention [0004] Embodiments...

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
IPC IPC(8): G06F16/25
Inventor 王斯开孙捷何国兵关捷
Owner 南京苏宁易付宝网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products