Architecture model: Audit Log
Context
You have applied micro-service architecture model.
problem
How to understand the behavior of users and applications as well as solve the problem?
Points
- Understand the user operation recently performed useful: customer support, compliance, security and so on.
solution
Record user activity in the database.
example
This model is widely used.
The results of on-line text
This model has the following benefits:
- Providing records of user actions
This model has the following disadvantages:
- Code audit and business logic intertwined, which makes more complex business logic
Relevance Model
- Event back is the implementation of a reliable way to audit