Whenever you're ready, walk me through how you'd approach this.
How do you approach state management in a large-scale, real-time application?
Discuss how you would separate client, session, durable, event-stream, and ML feature state. Explain consistency, ordering, synchronization, failure recovery, and the boundary between online inference and batch processing. Include how you would evaluate latency, correctness, availability, feature freshness, training-serving consistency, and operational failures.