Today Bitbucket is more than 30 times bigger than at the time of acquisition almost 4 years ago and serves repositories to over a million developers.
This talk lays out its current architecture in great detail, from Gunicorn and Django to Celery and HA-Proxy to NFS.