Design a scalable e-commerce platform that can handle millions of products and users. Focus on the system architecture for managing product catalogs, user sessions, and order processing. Address challenges like inventory management, search functionality, and how to ensure high availability and consistency during peak traffic periods.