What technology does Pinterest use?

There was a great answer on Quora

80 million objects stored in S3 with 410 terabytes of user data, 10x what they had in August. EC2 instances have grown by 3x.

Pay for what you use saves money. Most traffic happens in the afternoons and evenings, so they reduce the number of instances at night by 40%. At peak traffic  $52 an hour is spent on EC2 and at night, during off peak, the spend is as little as $15 an hour.

150 EC2 instances in the web tier.

90 instances for in-memory caching, which removes database load.

35 instances used for internal purposes.

70 master databases with a parallel set of backup databases in different regions around the world for redundancy.

Written in Python and Django.

Sharding is used, a database is split when it reaches 50% of capacity, allows easy growth and gives sufficient IO capacity.

ELB is used to load balance across instances. The ELB API makes it easy to move instances in and out of production.

Hadoop-based Elastic Map Reduce is used for data analysis and costs only a few hundred dollars a month.


This entry was posted in Social-Media, Start Up, technology and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s