The embodiment of the invention provides a plug-in-based data micro-
service implementation method,
system and device and a medium, and the method comprises the steps that a routing management module loads an HTTP parser and a wrapper which are arranged in different objects, and creates a routing
management object comprising plug-in routing registration and
management functions; the plug-in management module downloads the plug-in into a C + + dynamic
library from a corresponding
directory, searches and calls a plug-in export function in the C + + dynamic
library, and obtains an instantiated plug-in object; the plug-in management module registers a plug-in
route in the
route management module; responding to the monitored request, and sending the request to a routing management module; determining a target plug-in
route corresponding to the request according to a mapping relationship between the request and the plug-in route; and accessing the target plug-in through the target plug-in route, running the data service in the target plug-in to obtain the target data, packaging the target data into a response corresponding to the request, and sending the response to the corresponding
client. The invention aims to reduce the
coupling degree between service components and improve the
maintainability and expandability of a program.