Master Problem in GFS:
1' memory usage problem
2' bandwidth bottleneck
3' single failure problem
suppose we use two Metadata Server(MS)
we would like to have:
1' load balance: the metadata is evenly distributed among MSes
approach:
use dispatcher: each query request is sent to dispatcher who will decide which MS
is going to serve this request.
Then we have single dispatcher problems.
So our approach is to embed dispatch function into MS.
A user wants to create a file, then it sends creation request to arbitrary MS.
The MS first decide which MS is going to serve this request
with one mysterious algorithm. It decides MS1 should serve this request.
So it redirect the creation request to MS1.
As long as we can distribute creation request evenly, we can end balance
沒有留言:
張貼留言