Created
December 4, 2018 00:02
-
-
Save travelingtonic/813bb09c7ed93465f5847c9f0078162e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Write an analogy to describe the relationship between clients and servers. | |
Clients make requests and servers respond to requests. Think of a client like a student and a server like a teacher. First the student must know which classroom they want to go to (the url domain). They ask a hall attendant (DNS server) where the classroom is and the hall attendent looks up the room number (IP address) for them. Student then goes to that classroom (open connection). | |
To get the information they want to learn, the student will ask a question (request) of the teacher (server). The teacher will then answer the student's question (response). If the student needs more information, they ask another question (request) and the teacher gives them another answer (response) until the student knows everything they want to know. | |
2. Draw a diagram of the request/response cycle. | |
https://photos.app.goo.gl/CatgbkXd9E3k6kyV9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment