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

243 questions
7
votes
0 answers

Heart Beat Detection with Camera

I am searching for a library to detect heart beats using an android phone's camera. As far as i see, apps with this capability use two ways: Placing your finger tip on the camera lens and watching the changes in frames in camera. Watching your…
mehmet6parmak
  • 4,390
  • 15
  • 46
  • 66
7
votes
1 answer

Heartbeat extension: does it make sense to allow for arbitrary payload?

https://tools.ietf.org/html/rfc6520 does not explain why a heartbeat request/response round-trip is supposed to contain a payload. It just specifies that there is room for payload and that the response has to contain the same payload as the…
Dr. Jan-Philip Gehrcke
  • 26,261
  • 10
  • 71
  • 115
6
votes
1 answer

Taking photo every 66 milliseconds on Android phone for colour analysis (Heart Rate Monitor)

I'm doing a final year project at university which involves making a medical application for Android, as a practice I have to make a heart rate monitor app. I have worked out that the best way to do this is to look for colour changes in your blood…
Antony
  • 65
  • 2
  • 8
6
votes
2 answers

Detecting HeartBeat Using WebCam?

I am trying to create an application which can detect heartbeat using your computer webcam. I am working on the code since 2 weeks and developed this code and here I got so far How does it works? Illustrated below ... Detecting face using…
B L Λ C K
  • 523
  • 1
  • 6
  • 20
6
votes
3 answers

Ajax Heartbeat using setInterval, Preventing multiple calls at the same time

I wish to make an AJAX call using jQuery as a "heartbeat" in the background so that my web application can check for new data. For example every 10 seconds. I have seen on other posts that it is possible to use setInterval() to call a method which…
Luke
  • 19,970
  • 26
  • 98
  • 180
5
votes
3 answers

Is there a way to kill the erlang vm when it is running with -heart?

The title pretty much sums it up. I have a zotonic site running with -heart, it uses lots of cpu time and I can't get an erlang shell. So, is there a way to kill the vm? killall heart and killall beam.smp are not working. I found this question: Stop…
Simon Lindgren
  • 490
  • 1
  • 6
  • 13
5
votes
1 answer

How can 2 threads communicate each other?

Thread A is summing up data passed from 10 clients. while(true){ Socket clientfd= server.accept (); BufferedReader message = new BufferedReader(new InputStreamReader (clientfd.getInputStream() ) ); String val = message.readLine(); …
user482594
  • 14,066
  • 18
  • 62
  • 92
5
votes
2 answers

usage of erlang heart

How should heart be used to keep an application alive? Lets say I have an application X, will it be monitored if I just call something like: erl -boot X -heart -env HEART_BEAT_TIMEOUT 30 -detached ?
Daniel
  • 17,803
  • 7
  • 74
  • 142
5
votes
2 answers

CouchDB heart-beat time-out

My CouchDB (production) server is sometimes shut down, without my wanting it to. While inspecting logs I noticed Erlang/CouchDB (one or the other) sends a heart beat, and that heart beat is monitored. When a time-out occurs, the server is brutally…
Peter Kruithof
  • 9,284
  • 5
  • 27
  • 42
5
votes
2 answers

Java heartbeat design

I need to implement a heartbeat system on my Java project (3-5 Clients with 1 server for them) but I have some questions. 1) Do I need to have 2 sockets by clients ? 1 for the heartbeat and 1 to receive normal message for my software 2) I saw that…
Tata2
  • 823
  • 2
  • 8
  • 14
5
votes
4 answers

How to create a background threaded on interval function call in python?

I am trying to implement a heartbeat call that works in the background. How do I create a threaded on interval call of say every 30 seconds, which calls the following function: self.mqConn.heartbeat_tick() Also how would I stop this thread? Many…
TheBear
  • 737
  • 1
  • 8
  • 17
5
votes
1 answer

Connecting a Heart Rate Monitor to a Windows PC Java application

I'm currently working on a Thesis project which requires my java program to keep track of a users current heart rate. Now, my problem is that i seem to be unable to find any sort of heart rate monitor which is able to connect to a java program…
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
  • 789
  • 2
  • 7
  • 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,437
  • 26
  • 122
  • 217
4
votes
1 answer

REST API heart beat standard

For a SaaS product which provide its services via REST API, is it a standard requirement to have a heartbeat API? I have a debate on this subject at work, in my point of view, the heartbeat API is redundant - in case of outages we have a status…
planben
  • 632
  • 5
  • 20
1
2
3
16 17