[Virtual event] 6 new features for more control | Aug 26, 10 AM PT - Register.

Skip to:
BlogRight arrowProduct Updates
Right arrowLaunched: Redis Integration for LaunchDarkly .NET SDK

Oct 2, 2018

Launched: Redis Integration for LaunchDarkly .NET SDK

Eli Bishop
Eli Bishop
LaunchDarkly
Launched: Redis Integration for LaunchDarkly .NET SDK

The LaunchDarkly service is built from the bottom up to be highly available and highly resistant to multiple types of failures to ensure that our customers' applications are always able to serve their customers. One of these levels of redundancy is an optional Redis store.

Today, we've added native Redis feature store support to the .NET SDK, providing a persistent store of feature flag configurations. There are two ways to use the Redis feature store:

  • With a regular connection to LaunchDarkly. In this configuration, when the SDK receives new feature flag data from LaunchDarkly, it stores the flags in Redis. When you ask the SDK to evaluate a feature flag, it retrieves the data from Redis (using an in-memory read-through cache to improve performance if the same flag is being queried repeatedly). If the LaunchDarkly connection is unavailable when your application starts up, the last known feature flag data can still be obtained from Redis.
  • Or, with the LaunchDarkly Relay Proxy in daemon mode. In this configuration, the relay proxy is responsible for putting the latest flag data into Redis; the SDK communicates only with Redis (again using a read-through cache) and does not connect directly to LaunchDarkly.

The Redis feature store is available as a separate NuGet package, "LaunchDarkly.Client.Redis"; the source code is published here.

Redis support for our .NET SDK joins the Redis support already available with all of our other server-side SDKs.

Like what you read?
Sign up for our newsletter
Letter in envelope icon
Sign up for our newsletter

Get all the content, tips, and news you can use.

By supplying my contact information, I authorize LaunchDarkly to contact me with personalized marketing communications about our products and services. See our Privacy Policy for more details, or Opt-Out at any time.