Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.39 KB

Week3-Day3.md

File metadata and controls

31 lines (20 loc) · 1.39 KB
layout title sched-activation
course
Week 3, Day 3 (Friday, Jan 24)
class="active"

Distributing computation across instances

In the first part of Assignment 2, you are going to build a service, comprising two subservices connected by an SQS queue:

Structure of Assignment 2: User, Server, Worker, S3

In the second part, you are going to make the system scalable by partitioning the image resizing step across multiple workers:

Structure of Assignment 2, Part 2: Multiple workers

How many workers is enough? As the number of image resizes grows, you'll need more workers. To make it scalable, you will need to automatically provision more workers (EC2 instances):

Structure of Assignment 2, Part 2: Starting new workers

Reading guide for next class

Complete [{{ site.data.bibliography.dean2013.title }}]({{ site.data.bibliography.dean2013.url }}), from "Cross-request long-term adaptations" to end.

You might also consider rereading the sections on "Hedged requests" and "Tied requests".

Key points to look for:

  • What is a good trade-off of partitions of the data?
  • How do large information retrieval systems (such as search services) differ from other services?