Reverse Proxy to Application Server Application Server to Data Base Server AWS users CELERY BACKGROUND Data Flow and Factory tornado memcached celery nginx rabbitmq session handlers requests queue broker 8 8 8 1 8 mongo data 5 databases backup 2 by day primary, slave, hidden active process RABBITMQ auto scaling compute network EC2 EC2 EC2 EC S3 ELB EC2 EC2 EC2 EC2 r0s3 S S H P r0s0 track session EC2 R53 VPC DNS dev.* app.* www.* r0s1 r0s2 json marshal bson MAIN Application Server (auto scaling) TORNADO NGINX