hunt-redis 1.4.1

A redis client library for D.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Hunt Redis

A powerfull redis client for D Programming Language. Port from java Jedis project.

So what can I do with Redis?

All of the following redis features are supported:

  • Sorting
  • Connection handling
  • Commands operating on any kind of values
  • Commands operating on string values
  • Commands operating on hashes
  • Commands operating on lists
  • Commands operating on sets
  • Commands operating on sorted sets
  • Transactions
  • Pipelining
  • Publish/Subscribe
  • Persistence control commands
  • Remote server control commands
  • Connection pooling
  • Sharding (MD5, MurmurHash)
  • Key-tags for sharding
  • Sharding with pipelining
  • Scripting with pipelining
  • Redis Cluster

To use it just:

Redis redis = new Redis("localhost");
redis.set("foo", "bar");
string value = redis.get("foo");

Redis Cluster

Redis cluster specification (still under development) is implemented

Set!(HostAndPort) redisClusterNodes = new HashSet!(HostAndPort)();
//Redis Cluster will attempt to discover cluster nodes automatically
redisClusterNodes.add(new HostAndPort("127.0.0.1", 7379));
RedisCluster rc = new RedisCluster(redisClusterNodes);
rc.set("foo", "bar");
string value = rc.get("foo");
Dependencies:
hunt-net
Versions:
1.4.1 2021-Nov-19
1.4.0 2021-Oct-28
1.3.3 2021-Nov-19
1.3.2 2021-May-27
1.3.1 2021-May-17
Show all 14 versions
Download Stats:
  • 1 downloads today

  • 4 downloads this week

  • 11 downloads this month

  • 2334 downloads total

Score:
1.3
Short URL:
hunt-redis.dub.pm