Ravindra BagaleCourses & study guides Track your progress

Guides

Famous App Architectures Explained

Ever wondered what happens when you tap a reel, press Play or click Buy Now? These guides explain how the world's famous apps are built, in very simple English. Every fact about a real company is based on publicly shared information. Each guide also shows a clearly labelled illustrative design for building a similar app on AWS, with VPC, subnets, route tables, load balancer, EKS, S3, databases and monitoring.

How to read each guide

  1. Start with the example: what happens when you use the app.
  2. Look at the public architecture diagram and press Play to follow a request.
  3. Read which cloud provider, databases and tools the company publicly uses.
  4. Study the "If we built it on AWS" section. This is a learning design, not the company's real setup.
  5. Take the 4-question quiz at the end.

Quick comparison

AppCloud / hosting (public info)Architecture style
InstagramMeta data centres (AWS until 2014)Django monolith + Cassandra, PostgreSQL
NetflixAWS (4 regions) + own Open Connect CDNJava microservices, GraphQL
Amazon.comAWSService-oriented (100+ services per page)
Prime VideoAWSServices + AWS Elemental media pipeline
AirbnbAWSRails monolith to services on Kubernetes
FacebookMeta data centresHack/HHVM + thousands of microservices, TAO over MySQL
WhatsAppMeta data centresErlang chat servers, end-to-end encryption
YouTubeGoogle data centresGoogle infrastructure, VCU transcoding, Bigtable
SpotifyGoogle CloudMicroservices on Kubernetes, Bigtable, Pub/Sub
SnapchatAWS + Google CloudMicroservices with an Envoy service mesh
FlipkartOwn data centres + Google Cloud (data)Microservices, Nexus gateway, Aerospike
PhonePeTwo active-active data centresPayments platforms on HBase, Kafka, Druid
PaytmAWSThousands of microservices, Paxos databases
JioHotstarAWS (EKS) + multiple CDNsMicroservices behind an Envoy gateway
ZomatoAWSMicroservices with Kafka, DynamoDB billing
SwiggyAWSMicroservices with Kafka, DynamoDB, Flink
ZerodhaTwo data centres + AWSSelf-hosted open source, Go, PostgreSQL
UberOwn DCs + Oracle Cloud + Google Cloud~4,000 domain-oriented microservices
LinkedInNot publicly sharedRest.li microservices, Kafka, FishDB
PinterestAWSPinCompute on EKS, MySQL and TiDB

All app architecture guides