Theory
एक Network का Shape
जब आप कई devices connect करते हैं, आपके पास shape के बारे में एक choice होती है: क्या वे सब एक cable से hang करते हैं, एक loop बनाते हैं, या सब एक central box में plug करते हैं? यह arrangement network की topology है, और यह सिर्फ़ cosmetic नहीं है। Shape decide करती है आपको कितनी cabling चाहिए, data कितनी fast flow करता है, और, crucially, एक cable या device fail होने पर क्या होता है।
पाँच classic topologies हैं: bus, ring, star, mesh, और tree। यह lesson इन्हें compare करता है, क्योंकि एक topology choose करना असल में cost, performance, और reliability trade off करने के बारे में है।
At a glance
| Topology | Shape | Key Trade-Off |
|---|---|---|
| Bus | सारे devices एक backbone cable share करते हैं | Cheap और simple, पर पूरा network मर जाता है अगर backbone टूट जाए |
| Ring | हर device दो neighbours से link होता है, एक loop बनाते हुए | Orderly data flow, पर एक single break ring disrupt कर सकता है |
| Star | सारे devices एक central hub या switch से connect होते हैं | एक cable fail होना सिर्फ़ वह device खोता है, पर central device एक single point of failure है |
| Mesh | हर device कई या सारे बाकियों से connect होता है | Bahut reliable (multiple paths), पर expensive (कई links) |
| Tree | साथ connected stars की एक hierarchy | Large networks के लिए scalable, पर top-level nodes पर depend करता है |
Theory
Star आज क्यों Dominate करता है
Modern wired networks में, star topology by far सबसे common है। हर device अपने खुद के cable से एक central switch से connect होता है। एक typical office या lab ऐसा ही दिखता है।
Appeal fault isolation है: अगर एक device का cable fail हो, सिर्फ़ वही device drop होता है, बाकी सब काम करते रहते हैं, एक bus के unlike, जहाँ shared backbone में एक break पूरे network को down कर देता है। Catch यह है कि central switch एक single point of failure है: अगर यह मर जाए, पूरा star इसके साथ जाता है। पर switches reliable और replace करने में easy हैं, तो trade इसके worth है, यही वजह है star ने जीता।
Formula
Real सवाल: कुछ Fail होने पर क्या होता है?
Topologies compare करने का सबसे clear तरीका पूछना है: अगर एक link या device fail हो, कितना टूटता है?
एक bus में, shared backbone में एक break सब कुछ down कर सकता है। एक star में, एक failed cable सिर्फ़ एक device खोता है, पर एक failed central switch सब खो देता है। एक mesh में, क्योंकि devices के बीच कई paths हैं, एक failed link शायद ही matter करता है, traffic बस reroute हो जाता है, यही वजह है mesh सबसे fault-tolerant है (और सबसे expensive)। Reliability बनाम cost core tension है, और 'एक link मरने पर क्या fail होता है' यह weigh करने का तरीका है।
Quiz
किस topology में shared central cable में एक single break पूरे network को down कर देता है?
- Star, क्योंकि सब कुछ cables पर depend करता है
- Bus, क्योंकि सारे devices एक backbone cable share करते हैं, तो इसे तोड़ना सबको disconnect करता है
- Mesh, क्योंकि इसमें सबसे ज़्यादा links हैं
- Ring, क्योंकि इसमें कोई cables नहीं हैं
Show the answer
Bus, क्योंकि सारे devices एक backbone cable share करते हैं, तो इसे तोड़ना सबको disconnect करता है
एक bus topology में, हर device एक single backbone cable share करता है, तो उस backbone में एक break पूरे network को split या disconnect कर देता है, यह shared-cable vulnerability bus की defining weakness है। Option A ग़लत है: एक star में, हर device का central switch तक अपना OWN cable है, तो एक broken cable सिर्फ़ वह device खोता है, पूरा network नहीं (central switch, shared cable नहीं, star का weak point है)। Option C truth का opposite है: mesh में MANY redundant links हैं, तो एक break शायद ही matter करता है, यह सबसे fault-tolerant है, सबसे fragile नहीं। Option D ग़लत है: एक ring definitely neighbours के बीच links इस्तेमाल करता है; एक single break इसे disrupt कर सकता है, पर described 'shared central cable' specifically bus है। Failure को shape से match कीजिए: एक backbone, total failure मतलब bus।
Think first
अगर Mesh सबसे Reliable है, सब कुछ Mesh क्यों नहीं है?
Mesh अपने कई paths से failures को beautifully survive करता है। तो ज़्यादातर networks star क्यों इस्तेमाल करते हैं इसकी बजाय? फिर tap कीजिए।
Show the answer
क्योंकि mesh की reliability cabling और complexity में एक steep COST पर आती है जो ज़्यादातर networks को चाहिए नहीं। एक full mesh में, हर device direct हर दूसरी device से connect होती है, तो links की number बहुत तेज़ी से बढ़ती है: सिर्फ़ 10 devices को एक full mesh में connect करने के लिए 45 separate links चाहिए (10 में से हर एक बाकी 9 से connected, 2 से divide करते हुए), और 100 devices को हज़ारों चाहिए होंगे। यह cable, ports, और configuration की huge amount है, build और maintain करना expensive। एक ordinary office या lab के लिए, यह massive overkill है: एक star आपको good-enough reliability देता है (एक cable failure सिर्फ़ एक device खोता है) cost के एक fraction पर, simple wiring के साथ, हर device से central switch तक एक cable। तो mesh उन जगहों के लिए reserved है जहाँ failure genuinely unacceptable है और budget allow करता है, core routers के बीच backbone links, critical infrastructure, internet के core के parts, जहाँ कई redundant paths हर rupee के worth हैं। बाकी हर जगह, star का low cost, easy management, और adequate fault isolation का balance जीतता है। यह classic engineering trade-off है: आप exactly उतनी reliability खरीदते हैं जितनी situation justify करती है, और ज़्यादातर के लिए, star sweet spot है। Reliability free नहीं है; आप इसके लिए links में pay करते हैं।
Summary
Key takeaways
- एक topology एक network का shape है: devices साथ कैसे wired हैं, जो cost, speed, और fault tolerance को affect करता है।
- Bus: सारे devices एक backbone cable share करते हैं, cheap पर एक backbone break पूरा network मार देता है।
- Ring: हर device दो neighbours से एक loop में link होता है; एक break ring disrupt कर सकता है।
- Star: सारे devices एक central switch से connect होते हैं; एक failed cable एक device खोता है, पर switch एक single point of failure है।
- Mesh: हर device कई बाकियों से link होता है, multiple paths से बहुत reliable, पर links में expensive।
- Tree: stars की एक hierarchy, large networks के लिए scalable; star dominant modern topology है।
- Memory hook: topologies compare करने के लिए, पूछिए एक link या device fail होने पर क्या टूटता है।