Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Implement events log #3

Open
4 tasks
smt116 opened this issue Sep 23, 2018 · 0 comments
Open
4 tasks

Implement events log #3

smt116 opened this issue Sep 23, 2018 · 0 comments

Comments

@smt116
Copy link
Owner

smt116 commented Sep 23, 2018

Add the mechanism for collecting and reading the following events:

  • "John Doe registered" (user created)
  • "John Doe updated the account" (user updated)
  • "John Doe deleted his account" (user deleted)
  • "John Doe added a new post" (post created)

These are high-level descriptions that could be displayed by the client application. From the internal system, it needs to be possible to see more details about a given event (for example, which fields of the user were updated or what e-mail address has been used to add a new account).

All events need to be persistent. Also, they have to be stored in the separate data store from the main database.


Summary:

  • Use a separate data store for events (it can be any engine - there is no need to worry about the performance)
  • Events need to be persistent
  • Collect events listed at the beginning
  • Expose API for reading events
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant