The openIMIS backend is split into 2 main components:
The online services follow an event-driven architecture where plugins are decoupled by use of an (internal) bus.
The online services are primarily dedicated to be deployed as one (eventually clustered) instance. Yet the event-driven / internal bus architecture choice allows a smooth transition (should the load require it) to (containerised) microservices: the bus would have to be extracted as autonomous component.
openIMIS Online BE core provides:
synchronous/asynchronous messages (events) to/from other Software components and other openIMIS plugins
Each openIMIS Online BE plugins are standardised to
All openIMIS Online BE features are implemented as plugins of the openIMIS online BE Core (following the same principle as for openIMIS Web FE).
Plugins are documented in openIMIS Modules.
The batch processors don't follow a event-driven architecture but are implemented as workflows that are scheduled, monitored,...
As all other openIMIS components, openIMIS Batch BE is split into a core component and plugins.
The openIMIS Batch BE core provides:
Each openIMIS Batch BE plugins reuse the model (and ORM) of the openIMIS Online BE plugins.