Can clients detect when others go offline?

I am thinking through using EventStore for presence detection among clients, as it conveniently establishes heartbeats already.

Is it possible to detect those changes, perhaps through a system stream?

We write an event when a service comes online, but for obvious reasons can’t write one about being offline :slight_smile:

Thanks in advance!

  • Bryan

Hmm not as of now but I can think of multiple ways of doing this.

create a stream/service lets for the sake of discussion name the stream heartbeat-[servicename] each service and/or client would write an event let’s say every 5 seconds to its stream. A subscription could then be setup to monitor the varying services.