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-arm64)heartbeatr_0.6.0.tgz(r-4.4-x86_64)heartbeatr_0.6.0.tgz(r-4.3-arm64)heartbeatr_0.6.0.tgz(r-4.3-x86_64)
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:

2 exports 2 stars 0.49 score 4 dependencies

Last updated 3 years agofrom:f44cee1ef8 (on master)

Exports:heartbeatheartbeat_send_signal

Dependencies:digestR6reduxstorr