CPC G06F 9/544 (2013.01) | 8 Claims |
1. A method for sharing a microservice application data, comprising:
managing, through data registration management, memory data registrating information to be loaded by microservice application clusters;
determining, according to the memory data registrating information, memory data required by the microservice application clusters, wherein the memory data registrating information comprises a memory data subscription relation information, the determining the memory data required by the microservice application clusters comprises:
determining a microservice application cluster subscribed by the memory data according to the memory data subscription relation information; and
determining the memory data required by the microservice application clusters according to the microservice application cluster subscribed by the memory data;
partitioning and distributing the memory data to a plurality of memory computation service nodes in each one of the microservice application clusters, and deploying the plurality of memory computation service nodes at a corresponding microservice application cluster in a proximal end deployment manner; and
loading the memory data in a preset manner in the plurality of memory computation service nodes, and sharing a corresponding memory computation service node in real time under a condition that the memory data change, wherein the registration information comprises a memory data structure and microservice application information, and the memory data structure is defined according to an entity structure of a business entity framework; and before the partitioning and distributing the memory data to the plurality of memory computation service nodes in the microservice application clusters, the method further comprises: determining application database connection information corresponding to the microservice application clusters according to the microservice application information, and connecting the microservice application clusters to corresponding application databases.
|