MySQL 8.0.39
Source Code Documentation
|
The component subsystem is designed to overcome some of the architectural issues of the plugin subsystem, namely:
The component infrastructure aims at allowing the MySQL server subsystems to be encapsulated into a set of logical components. Additional components may be added to a running server to extend its functionality.
Components can be linked either dynamically or statically.
Each component will provide implementations of an extensive set of named APIs, services, that other components can consume. To facilitate this there will be a registry of all services available to all components.
Each component will communicate with other components only through services and will explicitly state the services it provides and consumes.
The infrastructure will enable components to override and complement other components through re-implementing the relevant service APIs.
Once there's a critical mass of such components exposing their functionality and consuming the services they need through named service APIs this will allow additional loadable components to take advantage of all the functionality they need without having to carve in specialized APIs into the monolithic server code for each new need.
The infrastructure described here is mostly orthogonal to the ongoing activity on modularizing the MySQL Server. However, properly defined modules and interfaces in the Server, allows server functionality to easily be exposed as services where it makes sense.
To the Component Services Inventory