mirror of
https://github.com/logos-co/Overwatch.git
synced 2025-02-02 01:35:44 +00:00
d6cc851ee6
* use &self for connect function * more &mut self to &self * error handle * add DynError * remove except, return error * add error handle for ServiceState trait
Overwatch
Overwatch is a framework to easily construct applications that requires of several independent parts that needs communication between them. Everything is self-contained, and it matches somewhat the advantages of microservices.
Design Goals
-
Modularity:
- Components should be self-contained (as possible)
- Communication relations between components should be specifically defined
- Components should be mockable. This is rather important for measurements and testing.
-
Single responsibility:
- It is easier to isolate problems
- Minimal sharing when unavoidable
-
Debuggeability
- Easy to track workflow
- Easy to test
- Easy to measure
- Asynchronous Communication