| fs_loop | R Documentation |
Infinite loop ensuring that the episomer embedded database is running (Lucene + akka-http)
fs_loop(data_dir = NA, bind_host = NULL, bind_port = NULL)
data_dir |
Path to the 'data directory' containing application settings, models and collected posts.
If not provided, the system will try to reuse the existing one from last session call of |
bind_host |
Character, the interface the database has to bind instead of |
bind_port |
Numeric, the port the database has to bind instead of |
Launches the episomer embedded database which is accessed via a REST API located on localhost at port 8080. You can test that the database is running by accesssing the local URL and adding "/ping".
the REST API provide episomer a way to send and retrieve data related with posts and time series and to trigger geolocation or aggregation
The database is implemented using Apache Lucene indexes allowing episomer to access its data as a search engine but also as a tabular database.
health_check called each 60 seconds on a background process to send alerts to the administrator if some episomer components fail.
nothing
detect_loop
search_loop
health_check
## Not run:
#Running the detect loop
library(episomer)
message('Please choose the episomer data directory')
setup_config(file.choose())
fs_loop()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.