Launched: Redis Integration for LaunchDarkly .NET SDK

LaunchDarkly
By Eli Bishop   •   October 2, 2018
LaunchDarkly

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.

You May Like
FEBRUARY 25, 2021   •   Team & NewsReflections on Black History Month at LaunchDarkly
FEBRUARY 23, 2021   •   INDUSTRY INSIGHTSTakeaways from the 2021 State of Chaos Engineering Report
FEBRUARY 23, 2021   •   PRODUCT UPDATESLaunched: Erlang SDK
FEBRUARY 18, 2021   •   INDUSTRY INSIGHTSBlue-Green Deployments: A Definition and Introductory Guide
FEBRUARY 16, 2021   •   INDUSTRY INSIGHTSRecap: Gene Kim’s Thoughts on DevOps in 2021
FEBRUARY 14, 2021   •   Valentine’s Day Poems, Deployed Just for You