Closed antho1404 closed 6 years ago
This open to some new possibilities like even run mesg-core in a decentralized way because it's all based on services and we will have decentralized services it means that it could even be possible to have those parts of mesg-core decentralized. Maybe a bit too much but maybe not because an iot device would just use the service to connect to its peers for example and other services will not be necessary. Anyway this leads to some nice possibilities I think
Proposal
We have a system that is oriented with services but we don't really use services and event driven inside MESG. The idea is to embrace this and develop all or some features that we use using services that will have their own docker container and their own features. By doing so we will have a real experience on how to create services with MESG and we will see directly the frictions and optimizations that needs to be done.
Examples
Docker service
We could have a service for docker, with different tasks like
MESG service
A service for all the services features
Like that the way we create MESG will be by creating MESG application and MESG services and after we just need to create more or less complex service, it doesn't mean that we need to do really micro services it can be bigger services but the good point of that is that we would have a clear interface for all our services and the core will just when boot deploy all those services and use them, this would be really easy to soft update the core, you will just need to fetch and re-deploy the new version of the service and also people will be able to create their services based on ours if they want to.