RPC Flashcards

1
Q

RPC

A

Remote Procedure Call - a program causes a procedure/subroutine to execute in a different address space or a different system

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

What does RPC use under the hood

A

Sockets

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

Marshalling/Serialization

A

Converting input parameters to a bytestream in RPC

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

Unmarshalling/Deserialization

A

Converting from bytestream to function return value

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

What happens if a pointer is passed to an RPC function

A

The data that is pointed to is convertion into a bytestream

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

Local functions when called have what semantics

A

Exactly once - the function will be executed exactly once, this is not necessarily the case for remote functions

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

RPC library mechanisms to ensure function is run correctly

A

Retransmission of requests (RR)
Duplicate filtering (DF)
Re-execution/re-transmission of request (RE)

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

Idempotent functions

A

Re-execution resistant functions, i.e. given the same input the output is always the same no matter how many times the function is executed

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

Semantics with no RR

A

Maybe (sometimes works, other times doesn’t)

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

Semantics with RR and no DF

A

At least once

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