Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

networks
networking

What is the difference between circuit and packet switching?

Behzad Ahmad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Circuit Switching

  • A circuit needs to be established to make sure that data transmission takes place.

  • A uniform path is followed throughout the session.

  • Resources are reserved for the duration of the communication session.

  • A constant transmission rate is reserved in the network line for the duration of the connection.

  • Suitable Situation: It is most ideal for voice communication, while also keeping the delay uniform.

  • Example: audio call

Packet Switching

  • Each packet goes through a dynamic route to the destination.

  • There is no uniform path that is followed end-to-end through the session.

  • Resources are not reserved for the duration of the communication session.

  • A constant transmission rate is not reserved.

  • Suitable Situation: It is used mainly for data transmission where delays are acceptable.

  • Example: Internet and emails

Packet Switching

widget

Circuit Switching

widget

RELATED TAGS

networks
networking

CONTRIBUTOR

Behzad Ahmad
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring