Distrubuted file systems Flashcards

1
Q

File

A

The components of a file include:
- Name (usually filename and extension)
- Content (a list of bytes)
- Type (regular, directory, etc)
- Attributes (owner, permissions, current size, creation time, etc. Basically metadata)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Google File System (GFS)

A

“It’s a distrubuted file system that is optimised to deal with:
- Frequent component failures (e.g. bugs, servers, switches, etc)
- Multi-gigabyte files
- Append-mostly data
Also, it’s built with specific user applications in mind”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Strict consistency

A

Says an update on the same piece of data stored in multiple areas at once (e.g. on the cloud) must be seen instantly by other data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Eventual consistency

A

Says an update on the same piece of data stored in multiple areas at once (e.g. on the cloud) doesn’t have to be immediately updated, and it’s allowed to take its time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Contiguous Allocation

A

It’s basically like you’ve got a bookshelf with books. When you take out a book (delete a file), you’ve actually created a gap in the bookshelf where a book once stood. If you want to add a new book to the shelf, you’ll first of all go through all the gaps in the bookshelf and see whether there is a large enough space in the bookshelf in order to fit it in. If there is enough space, you put it in that space. If not, then you’ll have to add it onto the end.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly