Within the scope of Inter-Process Communication (IPC), what are the characteristics of a system?
Composed of
- Functions / Modules - Classes - Processes
Processes can be running in different/same space and at different/same time.
Explain the offers and considerations within an Operating System Infrastructure.
Operating Systems offer
Protection is achieved since processes are independent entities where one process execution does not affect other processes, and the memory is private.
However, processes in the same system need to exchange information or data to divide tasks, increase processing power or guarantee synchronization and consistency among them.
What are the different types of IPC facilities? What are they concerned with?
Name different types of IPC facilities of the different types.
Explain the concept of explicit/implicit communication and give examples.
Explicit communication
Implicit communication
Explain the method of implementation of an IPC.
The transmission of information may require the participation of the Kernel.
Kernel implement IPC
Direct implementation
Define the concept of scope in IPC.
The scope is the location of the entities that communicate.
Local
Remote/Distributed
What is process relation in IPC?
It is the relationship of the processes that can communicate.
What are some examples of functionalities and IPC uses?
Byte-steam: pipes, sockets
Notifications: message queues
Messages: sockets
Broadcast: sockets
What are the types of duplex communication?
How is identification handled in the OS?
Channels can be identified by
What are the types of accessibility to the channel in IPC?
How are channels identified inside apps?
What is the concept of persistence in IPC?
Controls the lifetime of an IPC object
What are the types of blocking, and where can they be used?
Access blocking
Explain time coupling/uncoupling and where each is used.
Time coupling - the sender and receiver must exist at the same time. Uncoupling is the opposite. Related to persistence and blocking.
Time coupling - pipe, FIFO, sockets
Time uncoupling - file system, memory mapped files, message queues
Explain the types of privacy in IPC.
Explain the concept of space coupling/endpoint identifications.
The participants know the identity of others. The receiver knows who the sender is and vice-versa.
Only sockets offer this. In other mechanisms, there is no way to identify who is accessing messages.
How is reliability addressed in IPC?
Messages are delivered, and messages are correct.
How is ordering addressed in sockets and shared memory?
In sockets, messages are received in the same order as sent.
In shared memory, there is no ordering.
What is offered by the API?