Difference between revisions of "Packet Switching"

From CompSciWiki
Jump to: navigation, search
Line 9: Line 9:
  
  
|...by students=<em><b>Package Switching</b>
+
|...by students=<em><b>When traffic stops</b>
<br />Have you experienced when a picture or background or icon/buttons from a web-page would not show-up? Knowing about the system of package-switching, has the reason for that. If a picture has been send by different packages and the there is a bottle of traffic, then it makes sense that the picture does not appear on the screen. <br/>
+
<br />Have you experienced when a picture or background or icon/buttons from a web-page would not show-up? <br/>
If we where using a circuit-switching technology, then when that one picture stops the flow, then all other packages would be stuck too which will cause a crash in the web-page.<br/>
+
Thinking that each package is a car, in a circuit-switching, if one car crashes, then all other cars would need to wait for that car to recuperate.<br/>
... I prefer to have a package-switching method then circuit-switching for web-sites.
+
But, what about side-roads? One car could crash but other do not need to wait. They can use other roads.<br/>
 +
Package-switching is like that. There is no specific road that a package need to go.<br/>
 
</em>
 
</em>
  

Revision as of 11:37, 8 December 2009

COMP1260 > Understanding the Internet



Introduction

Have you ever think how Internet sends information to other users?
Packet switching is a way of sending and receiving informations from the Internet. There exists other ways of sending informations as Circuit Switching.


Packet switching refers to protocols in which information or message are broken up into small packets before sending off. Each packet would be send individually across the net, not necessary in the same routine. Packet has a maximum length to prevent delays. Once all the packets forming a messages arrives, they are recompiled and build up to the original message.

 

...by students

When traffic stops
Have you experienced when a picture or background or icon/buttons from a web-page would not show-up?
Thinking that each package is a car, in a circuit-switching, if one car crashes, then all other cars would need to wait for that car to recuperate.
But, what about side-roads? One car could crash but other do not need to wait. They can use other roads.
Package-switching is like that. There is no specific road that a package need to go.

How does it work?

Think you have made a jigsaw puzzle. You are sending each piece of puzzle to all your classmates you had in early childhood with a message that has the date, time and place to meet. Your goal is to gather all your classmates and construct the puzzle with everyone.

puzzle sending

Package Switching works in the same way.
The message would be packaged and send to the destination. This packages doesn't need to go through the same roads. As all the packets necessary to construct the message arrives to its destination, packets are reassembled into original message.


Circuit-switching vs Package-switching

Circuit-switching is another form of protocol which sends message to others. It is normally used in telephone communications. Circuit-switching is quicker then package-switching, but circuit-switching needs data to be send in order and in the same time. Package-switching is more efficient and robust, and can withdraw some days in transmitting. For that, package-switching is better used in e-mails and website, where circuit-switching is more based for real-time data transmition.


Image of Package Switching
Image of Circuit Switching


References

Example?

This is a flash demonstration.

Previous Page: Domain Names, IP Addresses and URLs

Next Page: FTP