Context
Since we are at the end
Context Since we are at the end Announcements This is the last - - PowerPoint PPT Presentation
Context Since we are at the end Announcements This is the last class of the semester -- no more class meetings. Announcements This is the last class of the semester -- no more class meetings. Please respond to the Doodle poll to set
Since we are at the end
Datacenters
Datacenters Sensors/Internet of Things
Datacenters Sensors/Internet of Things The Internet
Datacenters Sensors/Internet of Things The Internet
Clients Web Server Database
Clients Web Server Database Request
Clients Web Server Database Request
Clients Web Server Database Request Query
Clients Web Server Database Request Query Result
Clients Web Server Database Query Result Response
Clients Web Server Database Query Result Response
How to handle an increase in the number of clients?
Can replicate web servers and put them behind a load balancer
Can replicate web servers and put them behind a load balancer Any problems with this strategy?
Assuming most queries are reads can cache data. Why not just replicate databases?
Assuming most queries are reads can cache data. Any problems with this strategy? Why not just replicate databases?
Can shard data (need to be aware of transactions).
A-D E-H I J-O P-
Why not just replicate databases?
Can shard data (need to be aware of transactions). Any problems with this strategy?
A-D E-H I J-O P-
Why not just replicate databases?
What about fault tolerance?
A-D E-H I J-O P-
Why not just replicate databases?
a.com/i Output
a.com/i /j Output a.com/i -> a.com/j a.com/j
a.com/i /j /k Output a.com/i -> a.com/j a.com/i -> a.com/k a.com/j a.com/k
a.com/i /j /k d.com/a Output a.com/i -> a.com/j a.com/i -> a.com/k a.com/i -> d.com/a a.com/j a.com/k d.com/a
a.com/i /j /k d.com/a ... Output a.com/i -> a.com/j a.com/i -> a.com/k a.com/i -> d.com/a a.com/j a.com/k d.com/a
a.com/i /j /k d.com/a ... Output a.com/i -> a.com/j a.com/i -> a.com/k a.com/i -> d.com/a a.com/j a.com/k d.com/a
a.com/i /j /k d.com/a ... Output a.com/i -> a.com/j a.com/i -> a.com/k a.com/i -> d.com/a a.com/j a.com/k d.com/a
Output 1 Output 2 Output 3 Output 4
Output 1 Output 2 Output 3 Output 4
Output 1 Output 2 Output 3 Output 4
Output 1 Output 2 Output 3 Output 4
Output 1 Output 2 Output 3 Output 4
Output 1 Output 2 Output 3 Output 4
a->b c->b a->b d->c y->a x->j ... ... ... a->b c->b d->c y->a x->j
Output 1 Output 2 Output 3 Output 4
a->b c->b a->b d->c y->a x->j ... ... ... a->b c->b d->c y->a x->j c->b y->a d->c x->j a->b
Output 1 Output 2 Output 3 Output 4
a->b c->b a->b d->c y->a x->j ... ... ... a->b c->b d->c y->a x->j c->b y->a d->c x->j a->b
Count # of unique links Count # of unique links Count # of unique links Count # of unique links
Output 1 Output 2 Output 3 Output 4
a->b c->b a->b d->c y->a x->j ... ... ... a->b c->b d->c y->a x->j c->b y->a d->c x->j a->b
Count # of unique links Count # of unique links Count # of unique links Count # of unique links Map
Output 1 Output 2 Output 3 Output 4
a->b c->b a->b d->c y->a x->j ... ... ... a->b c->b d->c y->a x->j c->b y->a d->c x->j a->b
Count # of unique links Count # of unique links Count # of unique links Count # of unique links Map Shuffle
Output 1 Output 2 Output 3 Output 4
a->b c->b a->b d->c y->a x->j ... ... ... a->b c->b d->c y->a x->j c->b y->a d->c x->j a->b
Count # of unique links Count # of unique links Count # of unique links Count # of unique links Map Shuffle Reduce
A set of networks, each of which is owned by a different entity.
Must cooperate to get packets to a particular destination
Have path to M: B->M Have path to S: B->S
Have path to M: B->M Have path to S: B->S Have path to B: M->B Have path to S: M->B->S ...
Do not consider paths from S
Do not consider paths from S Prefer paths from D
Do not consider paths from S Prefer paths from D
Prefer paths from M
Do not consider paths from F. ...
Do not consider paths from S Prefer paths from D
Prefer paths from M
Do not consider paths from F. ...
Combine policies and announcements to compute path.
Please stay to fill out evaluation forms.