How the internet works
The internet is very much part of our lives, both at home and at work, but have you ever wondered how it really works? How does information move around the internet?
Let’s start by thinking about what it takes for you to view a simple blog, for example, the TalentPool blog - www.talentpool.com/blog. When you enter the URL into your browser and press enter, a few things happen:
- Your browser establishes a connection between your computer and the web server that hosts the TalentPool website.
- Once a connection has been made, the browser can ask for the resources required to display the website for www.talentpool.com.
- The web server now needs to figure out what content to return to respond to the request. For the web page www.talentpool.com/blog, the server needs to find the most recent blog posts. It fetches these from a database and puts together the web page in the correct format.
- The web server returns the web page structure in its response which may include links to other resources the browser will have to fetch separately such as images or fonts.
- Finally, when the browser has fetched all the information it needs to display the website, the page will appear for the user and the browser will close the connection with the web server.
So, at a very high level, when a user interacts with a web application a connection is made through the browser, followed by a series of requests. The web server computes some things and then responds, and finally the browser puts everything together and renders the output (i.e. the blog).