Deep dive into distributed caching patterns, consistency models, and real-world implementation strategies