Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage event data stream from DB #42

Open
7 of 17 tasks
oubiwann opened this issue Oct 24, 2020 · 0 comments
Open
7 of 17 tasks

Manage event data stream from DB #42

oubiwann opened this issue Oct 24, 2020 · 0 comments
Labels
Milestone

Comments

@oubiwann
Copy link
Member

oubiwann commented Oct 24, 2020

We need to create a new server in the mush supervision tree that manages event data.

Blocks #39

Depends upon: #40, #41

Tasks:

  • Examine simple pubsub options for Erlang apps
  • Implement a server based upon @rvirding's chat_demo (linked above)
    • just support running within a single node / release
    • provide an API for:
      • processes to subscribe to events
      • processes to receive events
      • processes to unsubscribe from events
    • integrate within existing supervision tree for hxgm30.mush or hxgm30.store
  • Listen for DB changes
  • Parse the results
  • Perform actions based upon these (update game state? send messages to users? iow, utilize pubsub)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant