elixir-omg icon indicating copy to clipboard operation
elixir-omg copied to clipboard

Prevent formation of duplicate events

Open souradeep-das opened this issue 4 years ago • 1 comments

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.

dupevents

souradeep-das avatar May 05 '20 14:05 souradeep-das

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.

souradeep-das avatar May 05 '20 15:05 souradeep-das