Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chapters/part4/algorithmic_analysis/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2>Distributed File System</h2>

<p>Imagine the task of loading a large file from your computer at Stanford, over the interet. Your file is stored in a distributed file system. In a distributed file system, the closest instance of your file might be on one of several computers at different locations in the world. Imagine you know the probability that the file is in one of a few locations $l$: $\P(L=l)$, and for each location the expected time, $T$, to get the file, $\E[T|L=l]$, given it is in that location:</p>
<p>Imagine the task of loading a large file from your computer at Stanford, over the internet. Your file is stored in a distributed file system. In a distributed file system, the closest instance of your file might be on one of several computers at different locations in the world. Imagine you know the probability that the file is in one of a few locations $l$: $\P(L=l)$, and for each location the expected time, $T$, to get the file, $\E[T|L=l]$, given it is in that location:</p>

<table class="table table-bordered">
<tr><th>Location</th><th>$P(L = l)$</th><th>$\E[T| L = l]$</th></tr>
Expand Down Expand Up @@ -90,4 +90,4 @@ <h2>Proof of Law of Total Expectation</h2>
&= \sum_x x \sum_y  P(X =x , Y = y)  \\
&= \sum_x x P(X =x)  \\
&= E[X]\end{align*}
</div>
</div>