Patent information
IP India · live recordAbstract
ABSTRACT METHOD AND SYSTEM FOR SPLITTING AND CO-LOCATING MULTIPLE APPLICATIONS IN A MICROSERVICE The present disclosure relates to a method and system for splitting and co-locating multiple applications in a microservice. The method comprises: comprises receiving, by a processing unit [102], a user request for execution of multiple applications; sending, by the processing unit [102] to a workload analyser [104], an indication of receipt of the user request for execution of multiple applications; fetching, by the workload analyser [104], multiple sets of a plurality of metrics related to multiple applications; checking, by the workload analyser [104], a set of predefined rules; generating, by the workload analyser [104], a decision regarding splitting or co-locating the one or more applications in the microservice based on the checking of the set of pre-defined rules; displaying, by a user interface unit [106], the decision generated by the workload analyser [104]. Figure 2
Applicants
1Inventors
2Claims
7Specification
Show full textCollapse
We claim: 1. A method for splitting and co-locating multiple applications in a microservice, the method comprising: - receiving, by a processing unit [102], one or more user requests for execution of multiple applications; - sending, by the processing unit [102] to a workload analyser [104], an indication of receipt of the one or more user requests for execution of multiple applications; - fetching, by the workload analyser [104], multiple sets of a plurality of metrics related to multiple applications, wherein each set of the plurality of metrics corresponds to one application of the multiple applications; - checking, by the workload analyser [104], a set of predefined rules; - generating, by the workload analyser [104], a decision regarding splitting or co-locating the one or more applications in the microservice based on the checking of the set of pre-defined rules, wherein the decision generated indicates splitting in an event one or more predefined rules of the set of pre-defined rules is satisfied, and wherein the decision generated indicates co-locating in an event none of the predefined rules of the set of pre-defined rules is satisfied; - displaying, by a user interface unit [106], the decision generated by the workload analyser [104]. 2. The method as claimed in claim 1, wherein the predefined rules comprise at least a dependencies-based rule, a throughput-based rule, a latency-based rule, and a cache-based rule. 3. The method as claimed in claim 1, wherein one or more buckets are created prior to generating, by the workload analyser [104], a decision regarding splitting or co-locating the one or more applications in the microservice. 4. The method as claimed in claim 3, wherein the one or more buckets are created based on the values of plurality of metrics fetched by the workload analyser [104]. 5. A system for splitting and co-locating multiple applications in a microservice, the system comprising: - a processing unit [102] configured to: o receive one or more user requests for execution of multiple applications; - a workload analyser [104] configured to: o receive an indication of receipt of the one or more user requests for execution of multiple applications by the processing unit [102]; o fetch multiple sets of a plurality of metrics related to multiple applications, wherein each set of the plurality of metrics corresponds to one application of the multiple applications; o check a set of predefined rules; o generate a decision regarding splitting or co-locating the one or more applications in the microservice based on the checking of the set of pre-defined rules, wherein the decision generated indicates splitting in an event one or more predefined rules of the set of pre-defined rules is satisfied, and wherein the decision generated indicates co-locating in an event none of the predefined rules of the set of pre-defined rules is satisfied; and - a user interface unit [106] configured to: o display the decision generated by the workload analyser [104]. 6. The system as claimed in claim 5, wherein the predefined rules comprise at least a dependencies-based rule, a throughput-based rule, a latency-based rule, and a cache-based rule. 7. The system as claimed in claim 5, wherein the workload analyser [104] is configured to create one or more buckets prior to generating the decision regarding splitting or co-locating the one or more applications in the microservice. 8. The system as claimed in claim 7, wherein the workload analyser [104] is configured to create one or more buckets based on the values of plurality of metrics.