Open
Description
We use Phoenix.Tracker for keeping the state of currently active calls. Each call has a certain state in the metadata of the tracker. When a process updates the state in the terminate
callback, the update of the metadata is only published locally. The remote node doesn't see this updated metadata but only sees the process leave since it terminated within the broadcast_window
.
I made an example project that demoes the above scenario. You can find it here: https://github.com/tverlaan/presence_multinode
We discussed possible improvements and alternative solutions during ElixirConfEU, but we didn't come to a conclusion just yet.
Metadata
Assignees
Labels
No labels