- Seperation of Concern
- business logic, application logic and low-level logic are abstracted into different layers
- Low-level interaction:
InstructionSet
- Application logic:
Endpoint
- Business logic:
Microservice
- Low-level interaction:
- business logic, application logic and low-level logic are abstracted into different layers
- Declarative and Observability
- Built-in service discovery via
etcd config
- Service microservice are managed by its communication channel (
topic
in kakfa)
- Service microservice are managed by its communication channel (
- Each entity are represeneted and managed by its ID
Event
responsibility chain are managed- built-in
logger middleware
push toelasticsearch
- routing mechanism are defined in
etcd
database and synced in realtime
- Built-in service discovery via
- Scalable and Robust
- robust:
- prototype design pattern
- no additional module abstraction
- type flexibility
- data are passed as key-value pair
- prebuild:
- pre-builded user database (similiar to .NET identity framwork)
- prototype design pattern
- scalability:
- fully asynchrous communication design pattern
- client-server communication use
gRPC bidirectional stream
- client authentication and authorization are performed only once
- robust:
- Event-driven
UserRequest
are abstracted intoEvent
Event
are passed and processed between multipleMicroservice
'sEndpoint
- all
Endpoint
operate on it own key-value segment calledAction
- all
UserRequest
are translated intoEvent
using predefined rule (created by domain developer)
-
Notifications
You must be signed in to change notification settings - Fork 0
pigeatgarlic/goedf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published