Unlock instant, AI-driven research and patent intelligence for your innovation.

Aggregating requests among microservices

a microservice and request technology, applied in the field of information processing, can solve the problems of large overhead of communications among the involved services, increased response time, and reduced throughput to one third

Inactive Publication Date: 2018-12-20
IBM CORP
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This patent describes a method for processing requests among microservices in a computer network. By using an API to aggregate the requests, the method automatically receives and optimizes the requests based on parameters of the original API. This improves the efficiency of processing requests in the network layer and reduces delays in transferring requests between micro services. The technical effect of this invention is to enhance the overall performance and reliability of computer networks that use microservices for processing tasks.

Problems solved by technology

However, a problem with microservice architectures is that they can have large overhead for communications among the involved services.
For example, when a monolithic application is translated into a microservice application, the throughput was reduced to one third and the response time was increased five times. The major cause of the performance degradation is the overhead to get and process requests.

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
  • Aggregating requests among microservices
  • Aggregating requests among microservices
  • Aggregating requests among microservices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021]The present invention is directed to aggregating requests among microservices.

[0022]In an embodiment, the present invention improves the performance of microservice applications by aggregating requests among the microservices. To that end, in an embodiment, a new REST API is generated that receives the aggregated requests automatically from an original REST API. In an embodiment, the number of aggregated requests can be optimized as follows: (i) If a wait time for requests to be aggregated is too long, the total response time can increase; and (ii) If a wait time for requests to be aggregated is too short, the total response time cannot decrease.

[0023]FIG. 1 shows an exemplary processing system 100 to which the invention principles may be applied, in accordance with an embodiment of the present invention. The processing system 100 includes at least one processor (CPU) 104 operatively coupled to other components via a system bus 102. A cache 106, a Read Only Memory (ROM) 108, a...

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

A computer-implemented method is provided for processing requests among microservices in a computer network. The method includes generating, by a processor, a method to return a body of a response from an Application Programming Interface (API) that aggregates the requests among the microservices to form aggregated requests. The method further includes generating, by the processor, another API that automatically receives the aggregated requests from the API by receiving an array of parameters of the original API and calling the method using each of the parameters of the array as a call parameter for the method. The method also includes optimizing, by the processor, a number of aggregated requests in a network layer of the computer network based on a wait time and a response time to receive and transfer requests between micro services.

Description

BACKGROUNDTechnical Field[0001]The present invention relates generally to information processing and, in particular, to a hardware-assisted approach for local triangle counting in massive graphs.Description of the Related Art[0002]Recently, microservice architectures are becoming popular for agile software development. The microservice architecture allows each service to be developed independently by constructing an application as a set of services which are loosely connected through REpresentational State Transfer (REST) Application Programming Interfaces (APIs).[0003]However, a problem with microservice architectures is that they can have large overhead for communications among the involved services. For example, when a monolithic application is translated into a microservice application, the throughput was reduced to one third and the response time was increased five times. The major cause of the performance degradation is the overhead to get and process requests.[0004]Thus, ther...

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(United States)
IPC IPC(8): G06F9/54
CPCG06F9/547G06F9/541
Inventor NAKAIKE, TAKUYAOHARA, MORIYOSHI
Owner IBM CORP