https://github.com/gomatic/stateful
An example of how to manage global resources in a microservices world.
https://github.com/gomatic/stateful
Last synced: 11 months ago
JSON representation
An example of how to manage global resources in a microservices world.
- Host: GitHub
- URL: https://github.com/gomatic/stateful
- Owner: gomatic
- License: gpl-3.0
- Created: 2017-06-29T03:15:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T23:59:56.000Z (about 9 years ago)
- Last Synced: 2025-05-07T23:02:25.738Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stateful
An example of how to manage global resources in a microservices world.
# Tenets
- Lazy dependencies
- Start instantly without regard for dependent services' status.
- i.e. All routes respond to requests as soon as the service is running.
- Never exit/fail under any circumstance under the service's control.
- Try to handle errors from dependent services graceful before propagating them.