The future package defines a simple and uniform way of evaluating R expressions asynchronously. Future "backend" packages implement asynchronous processing over various shared-memory and distributed systems.
Redis is a fast networked key/value database that includes a stack-like data structure (Redis "lists"). This feature makes Redis useful as a lightweight task queue manager for elastic distributed computing.
The future.redis package defines a simple elastic distributed computing backend for future using the redux package to communicate with Redis. Elastic means that workers can be added or removed at any time, including during a running computation. Elasticity implies partial fault-tolerance (to handle workers that go away during a running computation). This style of distributed computing is well-suited to modern cloud environments, and especially cloud spot markets.
Here is a quick example procedure for experimenting with future.redis:
remotes::install_github("bwlewis/future.redis")
.?redis
or ?future.redis
help pages in the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.