Whenever you're ready, walk me through how you'd approach this.
Design a distributed system with load balancers and a caching strategy, and explain deadlock versus livelock tradeoffs.
Describe the request path, service boundaries, cache placement and invalidation strategy, data storage, consistency model, and failure handling. Explain how you would detect, prevent, and recover from deadlock and livelock in concurrent operations, including the tradeoffs between locking, lock ordering, timeouts, retries, and backoff.