Which tech stack is best for building a scalable social networking platform?

What technologies should developers use to build a social media app that can handle a large number of users without slowing down or crashing?