Section 4: Synchronization, Data Generation and Data transfer Flashcards

1
Q

What is the producer/consumer model

A

Producer: software or hardware responsible for producing data or events for the consumer
Consumer: software or hardware that consumes data or events from producer

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

What is data

A

the information transferred between producers and consumers

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

What is an Event

A

The control information transferred to represent that some event has occured

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

What are the three levels of data synchronization?

A
Data Generation (when/why is data generated)
Data Notification (when/how do we inform the other party that we want to synchronize)
Data transfer (how do we send data between the two systems)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the data synchronization levels is mandatory

A

Data Transfer

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

What is synchronization

A

The interaction required to allow interaction of two devices with different views of time

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

What are the two types of synchronziation

A

Active: One system can force a change in the operation of the other (ie Interupts)
Passive Synchronization: One of the communicating entities requests service, however the receiving entity does not need to respond

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

What are three types of data sources

A

Spontaneous: (data produced independent of consumer)
Consumer Sensitive: Data is produced only after prior data is consumed
Consumer Responsive: Data is produced when requested

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

What is a consumer initiated notification scenario? What are some examples?

A

Consumer requests data from the consumer. Once data is available request is completed. Examples (polling for a key to be pressed, interrupt from a printer)

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

What is a producer initiated notification scenario? What are some examples?

A

In producer initiated notification, the producer informs the consumer when data is available. Examples:
Polling for printer to be ready for next page, Sending an interrupt to be handled

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

What is Data transfer

A

The exchange of info between two entities.

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

What are three concerns with data transfer

A

Persistence: How long is data valid?
Tim syncrho: How signals are enabled to make transfer happen
Control Signals: How control info is exchanged

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

What is persistent Data

A

data is valid until consumer signals data has been read

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

What is transient data

A

data is valid for a finite amount of time. (most data)

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