Questions tagged [heartbeat]

Heartbeat (as of version 3.x) is a cluster messaging layer, often combined with pacemaker as the cluster resource manager.

A detailed explanation, including historical notes, can be found at: http://www.linux-ha.org/wiki/Heartbeat

262 questions
2
votes
1 answer

How does Erlang heart work?

This question is related to my previous one: Running erlang shell as a daemon/service I have a script that looks like this: #!/bin/bash # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on…
red-nuht
  • 142
  • 2
  • 7
2
votes
1 answer

Mercure & Event Source Polyfill :Error : No activity within 45000 milliseconds. 2 chars received. Reconnecting

I have a symfony / api PLatform server. I added Mercure to send SSE to API clients. On my client side I subscribe using event Source Polyfill. I manage to receive the messages, but I have the following error : Error: No activity within 45000…
Alexglvr
  • 427
  • 5
  • 18
2
votes
2 answers

Does pubnub heartbeat interval has an impact on memory?

I have implemented pubnub to create a socket connection for receiving real-time messages. There is one thing which I noticed in my developer tools is that - the pubnub heartbeat state shows pending for a particular interval, mostly between 4.3-5…
Amit Pathak
  • 1,145
  • 11
  • 26
2
votes
1 answer

How one thread monitor other thread?

I am trying to understand how "heartbeat threads" work (at conceptual level, to begin with). How is it possible that "Thread-A" checks status of "Thread-B" (in Java), and accordingly update status to some server (which expects Thread-B to be alive).…
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
2
votes
1 answer

how can I denoise ECG signal using python code?

I have a lot of ECG data like MIT-BIH, estimating myself own my specialized device... But I dont know how can I filter the raw CSV data. I found a lot of paper, survey, megazine blah blah.. It introduce Low Pass Filter, High Pass Filter.. But how it…
hyumil
  • 35
  • 1
  • 4
2
votes
1 answer

How to keep my receiver of Heartbeat alive using python-websockets

Although I can receive Heartbeat from server, but my code can not keep receiving information after running 30 seconds. I have searched websockets FAQ ,some ping pong communication, but I still don't know why this bug occurred. async with…
LambertC
  • 21
  • 2
2
votes
0 answers

Configuring autodiscover in heartbeat with Kubernetes

I have a Kubernetes cluster and I am trying to deploy and configure heartbeat to monitor services. When heartbeat starts, I see this in the logs: 2019-08-28T15:31:19.116Z ERROR kubernetes/util.go:90 kubernetes: Querying for pod failed…
SME
  • 489
  • 1
  • 10
  • 21
2
votes
1 answer

How to get heart rate in watchOS 3+ without using a workout session

I would like to collect the heart rate of the user programmatically by a watchkit extension, but not during a workout session. As far as I know watchOS 3+ doesn't collect heart rate if the user is moving: however as soon as he's resting for a…
2
votes
2 answers

What's the proper heartbeat/keep-alive technology/layer for Java REST? Http? Tcp? Encoding: chunked?

The setup: We have an https://Main.externaldomain/xmlservlet site, which is authenticating/validating/geo-locating and proxy-ing (slightly modified) requests to http://London04.internaldomain/xmlservlet for example. There's no direct access to…
Vlad
  • 1,157
  • 8
  • 15
2
votes
4 answers

Google App Engine Channels API and sending heartbeat signals from client

Working on a GAE project and one requirement we have is that we want to in a timely manner be able to determine if a user has left the application. Currently we have this working, but is unreliable so I am researching alternatives. The way we do…
Dude0001
  • 3,019
  • 2
  • 23
  • 38
2
votes
1 answer

How to stop heartbeat service rather using kill command?

I am not getting the way to stop heartbeat service of ELK and using kill command to force stop the heartbeat service. Could observe Killing heartbeat service directly creating confusion in the background. to start : ./heartbeat -c heartbeat.yml…
Nagappa L M
  • 1,452
  • 4
  • 20
  • 33
2
votes
1 answer

Does the RabbitMQ client have to request a heartbeat timeout, or does the server default to 60?

According to the RabbitMQ docs: The heartbeat timeout value defines after what period of time the peer TCP connection should be considered unreachable (down) by RabbitMQ and client libraries. This value is negotiated between the client and …
natke
  • 743
  • 1
  • 9
  • 21
2
votes
0 answers

pacemaker master/slave configuration for postgres-xl datanodes

I have created a cluster with 1 gtm (on t1), 1 coordinator (on t1) and 2 datanode (master/slave) (on t1 and t2 respectively) using postgres-xl. I am trying to configure pacemaker heartbeat application using the below github…
2
votes
1 answer

Android Wear: How to get raw PPG data?

I am able to access Heart Rate of User using Optical Heart rate Sensor using SensorEventListener: sensorManager.registerListener(this, sensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE), …
Ritu Raj
  • 543
  • 2
  • 6
  • 23
2
votes
3 answers

Heartbeats vs. Polling for Failure Detection in Distributed Systems

Distributed system failures can be detected either via periodic heartbeats or via periodic polling. It seems polling is more prevalent than heartbeats (e.g., load balancers prefer polling over heartbeats). Under what circumstances should one method…
gmemon
  • 2,573
  • 5
  • 32
  • 37