Performance, Alternatives to TCP, Remote Procedure Calls




CS158a

Chris Pollett

Apr. 10, 2023

Outline

Introduction

More on Selective Acknowledgments

Performance

How to Conduct Performance Experiments

Measuring Transport Layer Performance Example Set-up

Performance Experiment Example Results

Results of Transport Layer Performance Example

Quiz

Which of the following is true?

  1. UDP doesn't allow for process to process communication.
  2. Even if the advertised window goes to 0, a sender using TCP will still send segments periodically.
  3. The Karn/Partridge Algorithm tries to take into account the standard deviation in the round trip time when determining how long time outs should be.

Alternative Design Choices for the Transport Layer

Why not use TCP for messages?

Why not use a reliable message-oriented protocol rather than TCP?

Transport Protocols that Relax In-order Delivery

QUIC

Remote Procedure Call

RPC Timeline

RPC Fundamentals

The RPC Protocol

Overcoming Network Limitations

Java Remote Method Invocation

Using RMI

More Using RMI