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
5
votes
1 answer

Detect Heart Rate using iPhone Camera

Possible Duplicate: Detecting heart rate using the camera I am working on detecting pulse rate in iOS. I have done some search and now I am able to read heart beats using external bluetooth device which is capable of reading heart beats. But now…
user1988
  • 811
  • 2
  • 8
  • 17
4
votes
3 answers

Disabling Socket.io heartbeats (Node.js)

The socket.io documentation mentions that heartbeats can be disabled like so: io.disable('heartbeats'); Unfortunately, while this seems to stop the hearbeats from being sent, the clients still disconnect when they are not sending hearbeats. The…
Tom
  • 8,536
  • 31
  • 133
  • 232
4
votes
1 answer

How do I print the values of the HKQuantity type I just recorded and saved to Healthkit store?

I am sharing a workout to the HKStore and I have requested the following types tot read: let typesToRead: Set = [ HKQuantityType.quantityType(forIdentifier: .heartRate)!, HKQuantityType.quantityType(forIdentifier: .activeEnergyBurned)!, …
4
votes
0 answers

Fitbit API :: Transfer heart rate data of user from fit bit supported device in to own Android application

Any one worked on Fitbit API integration before then please give me your suggestion. I already go through documentation of Fitbit API for Android but can not get any proper way for starting . For this, I successfully login into Fitbit account with…
Radhey
  • 2,139
  • 2
  • 24
  • 42
4
votes
1 answer

GCM: How to send heartbeat to GCM server

I want to send a heartbeat from my application to the GCM server, so the connection will stay alive. How can I do that, and how can I know the URL of my GCM server?? Thanks in advance!!
Itay
  • 219
  • 5
  • 14
4
votes
5 answers

How to access Galaxy S5 heart rate sensor?

In the Samsung's programming guide (pages 77 - 81) there is a reference on how to set and get the heart rate information using the S Health Service SDK. However, I was looking to directly access the Galaxy S5's heart rate sensor, the same way you…
user3427013
  • 1,039
  • 1
  • 13
  • 28
4
votes
2 answers

What are your opinions of DRBD/Heartbeat for replication and failover for the Firebird RDBMS?

I am researching the possibility of using Firebird for a project. However, one potential problem is replication and failover, or rather, lack of a (subjective) "good" solution. There are several potential solutions listed in the Firebird FAQ but…
z8000
  • 3,715
  • 3
  • 29
  • 37
4
votes
1 answer

java heartbeat implementation for a large number of clients

I've built a server application in java, where clients can connect . I've implemented a heartbeat system where the client is sending every x seconds a small message. On the server side I save in a HashMap the time the client has sent the message ,…
Doua Beri
  • 10,612
  • 18
  • 89
  • 138
4
votes
1 answer

Heartbeat Mechanism in Java

Do you know if there is well designed (state machine based) heartbeat mechanism written in Java as opensource project? Actually state-based is not mandatory for me. I just assume that this kind of design covers various failover case. After google…
Ahmet Karakaya
  • 9,899
  • 23
  • 86
  • 141
4
votes
3 answers

Analyze data return from heart rate monitor

I am trying to read data transferred by heart rate monitors over bluetooth , but I really don't know how to read the bytes returned by the heart rate monitors. It may be possible that each vendor has their own way of wrapping data into bytes. But…
Hunt
  • 8,215
  • 28
  • 116
  • 256
3
votes
1 answer

Running a Python service on ubuntu using upstart

I want to create to deploy a heartbeat service (a python script) as a service using Upstart. My understanding is that I've to add a /etc/init/myheartbeatservice.conf with the following contents. # my heartbeat service description "Heartbeat…
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161
3
votes
3 answers

Heartbeat implementation with Thread.Sleep()

in my application I have an "heartbeat" functionality that is currently implemented in a long running thread in the following way (pseudocode): while (shouldBeRunning) { Thread.Sleep(smallInterval); if (DateTime.UtcNow - lastHeartbeat >…
Andrea
  • 884
  • 1
  • 10
  • 23
3
votes
1 answer

Getting Heart rate through iOS

Possible Duplicate: How to detect heart pulse rate without using any instrument in iOS sdk? I am trying to figure out a way to create an iOS app to measure Heart rate but I am unable to get a start on how to proceed with it. I read that it could…
learner2010
  • 4,157
  • 5
  • 43
  • 68
3
votes
3 answers

Javascript: two connections per client?

I'm working on an application which implements longpolling because I want the user to receive notifications as soon as they arrive. I have this part working, but I also need to extend this with a javascript function which sends a 'heartbeat' to the…
user393964
3
votes
6 answers

How can I guarantee a "stay alive" heartbeat is sent?

We have an RMI client application written in Java which needs to send periodic "stay alive" messages to a server application. We have implemented this as a separate heartbeat thread, which sends the stay alive message to the server, then sleeps for…
Simon Nickerson
  • 42,159
  • 20
  • 102
  • 127
1 2
3
17 18