Skip to content

Commit 9387b12

Browse files
authored
Merge pull request #743 from snaka/doc/cache-warning
docs: add cache invalidation warning for Redis Caching
2 parents cca970a + da10e43 commit 9387b12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,10 @@ Split.redis = split_config[Rails.env]
762762

763763
### Redis Caching (v4.0+)
764764

765-
In some high-volume usage scenarios, Redis load can be incurred by repeated
765+
> [!WARNING]
766+
> The caching mechanism has known issues in multi-process environments (e.g., Puma) and multi-server deployments with load balancers (typical production environments). Cache invalidation does not propagate across processes or servers, which can lead to inconsistent experiment data being served to users. See [#735](https://github.com/splitrb/split/issues/735) for details. Use with caution in production environments.
767+
768+
In some high-volume usage scenarios, Redis load can be incurred by repeated
766769
fetches for fairly static data. Enabling caching will reduce this load.
767770

768771
```ruby

0 commit comments

Comments
 (0)