13 redis & {RcppRedis} / {redux}

Redis is an advanced key-value store, better known as a data-structure server. It can be considered as a type of database which works with key-value pairs and uses main memory for storing data. Its use of main memory means that it is both fast and scalable, but may be confined by the capacity of the RAM. It also has built-in persistence though snapshotting and journalizing to disk so it can be used as a No SQL database.
Redis is described as an advanced key-value store rather than an outright database because of the way it stores data as key-value pairs which can contain strings, lists, hash sets, and sorted sets. It works with an in-memory dataset in order to achieve outstanding performance and it can run atomic operations such as appending strings, incrementing hash values, finding and retrieving members in a list, computing set intersection, union and difference, and more. Depending on the use case for which Redis is implemented on, data can be made to persist by dumping the dataset on the disk or by appending each command to a log. Redis is open sourced and is BSD licensed. It was developed by Salvatore Sanfilippo and was initially released on April 10, 2009. The program is written in ANSI C and is thoroughly tested for POSIX systems such as Linux, BSD, and OSX. There is no official Windows version, but Microsoft develops and maintains a Windows 32- and 64-bit experimental version.

From: https://www.techopedia.com/definition/30360/redis

docker pull redis:5.0.5
docker run --rm --name redis --net r-db -d redis:5.0.5
r <- redux::hiredis(
  url = "redis"
)
r$PING()
r$SET("foo", "bar")
r$GET("foo")

Tests needed for {RcppRedis}