Skip to content

v3.0.0 - New Key Schema and other improvements

Latest
Compare
Choose a tag to compare
@ealui-statsig ealui-statsig released this 25 Nov 22:28
· 1 commit to main since this release

Summary of Changes

  • Include SFP version in requests to CDN/origin
  • Prepare redis cache to support various encoding types
  • Add LCUT slice to redis based metrics
  • Fix a bug where reading from redis does not check LCUT
  • Add a metric for estimated active GRPC streams

Summary of Breaking Changes

Introduced new key schema

New key schema matches against the one that will be generated from SDKs, but also now includes an encoding type.

Migration Strategy: If you are not reading data from anywhere but the forward proxy, this breaking change does not apply to you.

If you use an external cache, first enable --double-write-cache-for-legacy-key, then update the data adapter code in your SDK to use: https://github.com/statsig-io/statsig-forward-proxy/blob/main/src/datastore/caching/redis_cache.rs#L249-L259 , and then disable --double-write-cache-for-legacy-key.

This legacy key will use the v0.x.x and v1.x.x logic. Not the 2.x.x.

https://hub.docker.com/layers/statsig/statsig-forward-proxy/stable-amd64-3.0.0/images/sha256-43ea1496daf7df67af08ee7b7dd86c760139be429776a8fe2d2cb91155fba8a4?context=repo