Package: heartbeatr 0.6.0

Rich FitzJohn

heartbeatr: Heartbeat Support using 'Redis'

Simple heartbeat support for R using 'Redis'. A heartbeat is a background thread that acts as a dead-man's switch. It will create a key on Redis that will automatically expire after a number of seconds and then periodically refresh that key, even when the R process is busy. If the process dies for some reason, then the key will disappear. A heartbeat can be used to detect loss of worker processes on shared systems.

Authors:Rich FitzJohn [aut, cre], Imperial College of Science, Technology and Medicine [cph]

heartbeatr_0.6.0.tar.gz

heartbeatr_0.6.0.tgz(r-4.4-x86_64)heartbeatr_0.6.0.tgz(r-4.4-arm64)heartbeatr_0.6.0.tgz(r-4.3-x86_64)heartbeatr_0.6.0.tgz(r-4.3-arm64)
heartbeatr_0.6.0.tar.gz(r-4.5-noble)heartbeatr_0.6.0.tar.gz(r-4.4-noble)
heartbeatr.pdf |heartbeatr.html
heartbeatr/json (API)

# Install 'heartbeatr' in R:
install.packages('heartbeatr', repos = c('https://mrc-ide.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mrc-ide/heartbeatr/issues

Uses libs:
  • hiredis– Minimalistic C client library for Redis
  • c++– GNU Standard C++ Library v3

On CRAN:

hirediscpp

2.30 score 2 stars 4 scripts 2 exports 4 dependencies

Last updated 4 years agofrom:f44cee1ef8 (on master). Checks:OK: 1 NOTE: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64NOTENov 25 2024
R-4.4-mac-x86_64NOTENov 25 2024
R-4.4-mac-aarch64NOTENov 25 2024
R-4.3-mac-x86_64NOTENov 25 2024
R-4.3-mac-aarch64NOTENov 25 2024

Exports:heartbeatheartbeat_send_signal

Dependencies:digestR6reduxstorr