Explore the critical architectural decisions and technologies needed to build a social media platform capable of handling millions of concurrent users and petabytes of data.