elixir-omg
elixir-omg copied to clipboard
Prevent formation of duplicate events
A lot of duplicate events show up in Datadog - events about same activity with only differing timestamps. Checking for duplication before pushing it to the OMG bus could be desirable.
Continuing the discussion from https://github.com/omisego/elixir-omg/issues/1426 -
Summing up the discussions with @unnawut -
- A lot of duplicate events show up in datadog i.e. events about the same activity with only differing timestamp
- Could potentially be an issue with the ethereum event listeners or the OMG bus from where the events are consumed.
- Considering the number of event listeners combined ( around 10+10+4 ), it could be the entity which is producing these hundreds of duplicate events.
- If that is the case, de-duplicating before publishing to DataDog might not be the best approach, since it is among the last consumers of the system.