Skip to content

Instantly share code, notes, and snippets.

@Lucho2027
Last active August 29, 2019 02:18
Show Gist options
  • Save Lucho2027/ced7722492cd8552b8ece31e65909453 to your computer and use it in GitHub Desktop.
Save Lucho2027/ced7722492cd8552b8ece31e65909453 to your computer and use it in GitHub Desktop.
Asynchronous web apps
Draw a diagram of the request/response cycle.
https://imgur.com/SIQkWSZ
Write an analogy to describe the relationship between clients and servers.
I would use as an analogy the interaction that happeneds at a restaurant between the client (browser or other servers) and a waiter (server).The client is unaware of what is happening back in the kitchen. A first request for info could be the request for the daily special, just as a server providing information the waiter will get the information stored in its memory and reproduce what are the daily specials.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment