We put a Redis server inside our runtime
Summary
Encore embeds an in-memory Redis server inside its runtime to unify local development, tests, and production behavior. They ported miniredis from Go to Rust to run as a library within the runtime, ensuring Redis semantics, expiry, and data types mirror production. The embedded server is used in local/dev/test environments, while production uses a managed Redis; parity is validated against the reference miniredis suite, revealing and addressing edge cases like expiry timing and TLS differences.