Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSydney Hill
4,115 PointsDo TCP "data packets" travel independently (for efficiency) because different data is stored on different servers?
I understand that data is broken into pieces and travel independently for efficiency; So that no single transmission dominates the pipeline. But I'm curious if this is also because they access different servers for different hosted pieces of information. ie, a webpage getting photos from some server, fonts from Google API, etc.
1 Answer
Chelsea LeBlanc
2,476 PointsI personally thought that they meant that they simply stored bits of data across different sources, sort of like how Torrent files work. I didn't understand it as storing different types of data on different types of servers accordingly.
Wiki says "An application does not need to know the particular mechanisms for sending data via a link to another host, such as the required packet fragmentation on the transmission medium.At the transport layer, the protocol handles all handshaking and transmission details and just presents an abstraction of the network connection to the application."
So basically, TCP's job is make sure all the pieces are there for the host to load everything on a site.