Increase reliability figure 1 gfs architecture

Info icon This preview shows pages 5–10. Sign up to view the full content.

View Full Document Right Arrow Icon
- Increase reliability. Figure 1: GFS Architecture Architecture cont. 5
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Architecture cont.   Example for read instructions: 1. Client use file name and chunk index to  obtain metadata from master.  2. The master through query then sends  back chunk handle and chunk position  to the client. 3.  Client follow this message and send the  requirements to nearest location of  replica. 4. Finally, after chunk server receiving the  request and then send back the related  chunk data to client. Figure 1: GFS Architecture 6
Image of page 6
GFS Operations Supporting… Write procedure Snapshot 7
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    The details of each step:   Step 1:  The client asks the master which  chunk  server holds the current  lease for the  chunk and the locations of  the other  replicas.  Step 2:  The master replies with the identity  of  the primary and the locations of the  other (secondary) replicas.  Step 3:  The client pushes the data to all the  replicas in related chunk sever.  Chunk  server received the data,  but do not  write into the local hard disk  this  time. Figure 2: Write Control and Data Flow Write procedure 8
Image of page 8
Step 4:  Once all the replicas have acknowledged  receiving the data, the client will sends a  write request to the primary replica. Primary  replica will marked these consecutive serial  numbers and follow the order to write. Step 5:  The primary forwards the write request to all  secondary replicas. The data will write on  the  hard disk this time. Step 6:  The secondary replicas all reply to the  primary  indicating  that they have completed the  operation.
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern