Client Server

Reference 1

Client two subinterfaces:

  • Get#(req_type) request; // outside world will go through this interface to get a request from client
  • Put#(resp_type) response; // outside world will go through this interface to send response to client

Server two subinterfaces:

  • Put#(req_type) request; // outside world (client) will go throught this interface to send request to server;
  • Get#(resp_type) response; // outside world (client) will go through this interface to get response from server.

==> interface of Put# is used to grab something from outside to inside; interface of Get# is used to send something from inside out. (LLM: weird. This is from third-person view: this interface is used for others to xxx. As first-person view would be totally opposite: this interface is used for me to xxx).

ClientServer

request (type Get) of the client will connect to request (type Put) of the Server.

response (type Put) of the client will connect to response (type Get) of the Server.


  1. reference ↩
Created May 7, 2020 // Last Updated May 18, 2021

If you could revise
the fundmental principles of
computer system design
to improve security...

... what would you change?