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

Request processing method and micro-service system

A request processing and micro-service technology, applied in the field of financial technology, can solve the problem of high redundancy cost

Pending Publication Date: 2021-02-09
WEBANK (CHINA)
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above method requires each service instance to pre-cache the full amount of data or hot data in the database. When the scale of the service instance cluster is large or the amount of data in the database is large, the redundancy cost is relatively high.

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
  • Request processing method and micro-service system
  • Request processing method and micro-service system
  • Request processing method and micro-service system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0050] At present, when the microservice system responds to the service request sent by the client (the service request will carry the primary key identifier of the resource in the database), in order to achieve high availability, it will pre-cache it on any service instance in the service instance cluster Each primary key in the database identifies the corresponding resource, so each service instance can provide a stateless service. However, in this process, when the ...

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 relates to the field of Fintech, and discloses a request processing method and a micro-service system, the method comprises the steps: by the micro-service system, receiving a first request carrying a first resource identifier sent by a first client; if it is determined that the first resource identifier does not carry the service instance identifier, allocating a first service instance to the first request; obtaining a first resource indicated by the first resource identifier from a database through the first service instance; sending the first resource to the first client and caching the first resource in the first service instance; and updating the first resource identifier according to the first service instance identifier of the first service instance to obtain a secondresource identifier for indicating the first resource. According to the method, the micro-service system determines the service instance for the request of a certain resource, and the service instancecaches the resource after acquiring the resource from the database, so that the service instance can directly respond to the request when the subsequent request about the resource arrives at the micro-service system again.

Description

technical field [0001] The embodiment of the present application relates to the field of financial technology (Fintech), and in particular to a request processing method and a microservice system. Background technique [0002] With the development of computer technology, more and more technologies (such as big data or cloud computing) are applied in the financial field, and the traditional financial industry is gradually transforming into financial technology. In the context of big data technology, microservice-based systems are required to respond to user requests. [0003] At present, when a microservice is enabled, it will register with a registration center in the microservice system, such as Eureka, and through the distribution process of the registration center, for any microservice, it can correspond to one or more service instances. When the client sends a service request to the microservice system, it will attach the name of the microservice to be requested, and th...

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/50H04L29/08
CPCG06F9/5027G06F9/505H04L67/10
Inventor 杨永坤尹强王和平刘有黄山杨峙岳邸帅卢道和
Owner WEBANK (CHINA)
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