embedded_redis_client

Crates.ioembedded_redis_client
lib.rsembedded_redis_client
version0.1.0
sourcesrc
created_at2021-06-01 19:38:38.878491
updated_at2021-06-01 19:38:38.878491
descriptionAutomatically runs a local redis-server instance
homepage
repositoryhttps://gitlab.com/embedded-redis-client/embedded_redis_client
max_upload_size
id404883
size53,853
(code-sam)

documentation

README

Embedded Redis Client

Purpose

EmbeddedRedisClient automatically runs a redis-server instance during the life of the client application. Using EmbeddedRedisClient, multiple client instances can communicate with the redis-server instance in parallel.

If another redis server instance is already running on the configured port, then EmbeddedRedisClient connects to this already running server instead.

Unit tests

The unit tests of this crate expect the presence a redis-server binary and redis.conf file in the following locations relative to the crate root: ../database/redis/redis/redis-server ../database/redis/configuration/redis.conf

The unit tests try to connect to the redis server on redis' default port localhost/6379

Compatibility

Tested on Ubuntu 18.04 and macOS 11.2.

Limitations

Simultaneous starting of multiple EmbeddedRedisClient instances may fail.

Commit count: 24

cargo fmt