Using Redis with .Net C# In order to use Redis with C# you need a C# Redis client. In following sections, we demonstrate the use of StackExchange.Redis, General purpose Redis client. Additional C# clients for Redis can be found under the C# section of the Redis Clients page. Installing StackExchange.Redis StackExchange.Redis’ installation instructions are given in the “Installation” section of its documentation page. It can be installed via the nuget package manager console with the following command:
Developing geo-distributed, multi-master applications can be difficult. Application developers may have to understand a large number of race conditions between updates to various sites, network, and cluster failures that could reorder the events and change the outcome of the updates performed across geo-distributed writes. Active-Active databases (formerly known as CRDB) are geo-distributed databases that span multiple Redis Enterprise Software (RS) clusters. Active-Active databases depend on multi-master replication (MMR) and Conflict-free Replicated Data Types (CRDTs) to power a simple development experience for geo-distributed applications.
Redis on Flash (RoF) on Redis Enterprise Software (RS) lets you use more cost-effective Flash memory as a RAM extension for your database. But what does the performance look like as compared to an all-RAM RS database? The simple scenarios on this page show you how you can get performance results with the free RS trial version. If you would like assistance with your evaluation or need to test a larger cluster, we’d be happy to help.
An Active-Active database (also known as CRDB or Conflict-free, Replicated DataBase) replicates your dataset across Redis Enterprise Software (RS) clusters located in geographically distributed regions. Active-Active databases allow read-write access in all locations, making them ideal for distributed applications that require the fastest response times, and also for disaster recovery. The Active-Active database on an individual cluster is called an instance. Each cluster that hosts an instance is called a participating cluster.
rlcheck is a utility that runs various health checks on an Redis Enterprise Software (RS) node and alerts on any issues found. This utility can be useful to confirm a successful installation or to verify that the node is functioning properly. You can access rlcheck from the host command-line interface (CLI). The output of rlcheck shows information specific to the host that you run it on. To open the rladmin CLI:
rladmin is a command-line utility for performing administrative tasks such as failover, migration, and endpoint binding on a Redis Enterprise Software cluster. rladmin can also edit cluster and database configurations. Some of these tasks can also be performed through the Management UI and some are unique to the rladmin CLI tool. rladmin Commands Command Description rladmin Enter the rladmin shell bind Bind an endpoint cluster Cluster management commands exit Exit rladmin shell failover Fail over a master shard to replica shard (previously slave shard) help Show available commands or specific command usage info Show current parameters for a cluster, database, node, or proxy migrate Migrate elements between nodes node Node management commands placement Configure shards placement policy recover Recover databases restart Restart database shards status Show status information suffix Suffix management tune Tune system parameters upgrade Upgrade the Redis or module version for a database verify Cluster verification reports bind rladmin bind manages the proxy policy for the cluster or a specific database.