[cgl_discussion] Request for review of App. Heartbeat Service

Perez-Gonzalez, Inaky inaky.perez-gonzalez at intel.com
Tue Oct 1 10:15:23 PDT 2002


> In application heartbeat, the situation is even worse. All are in
> user-level. So a heartbeat cycle needs at least twice scheduling (the
> monitor sends 'ping' -> the app receives 'ping' and sends 
> 'pong' -> monitor
> receives 'pong'). So... the interval time will be no less than 20ms
> optimistically. But... in high-load environment, it is much 
> longer than
> that.

You could always the thread that plays ping-pong to be real-time; this way,
you have almost-guaranteed maximum response time with a low chance of
missing it.

Inaky Perez-Gonzalez -- Not speaking for Intel - opinions are my own [or my
fault]




More information about the cgl_discussion mailing list