SlideServe
Menu
Préférences
© SlideServe · v2026

Networks and Distributed Systems

emma avatar
24 diapositives · 366 Views · Sep 04, 2014

This document explores the promises and realities of distributed systems. It discusses their potential for increased availability, reliability, and security by allowing separated computers to collaborate. However, it also highlights challenges such as worse availability and security risk from the weakest component. Additionally, network technologies like Ethernet and the principles of arbitration and routing are covered, focusing on how packets are transmitted and the evolution of network communication. This comprehensive overview aims to provide insights into distributed systems' operational dynamics and technological advancements.

Networks and Distributed Systems - slide 1
01 / 24Networks and Distributed Systems
1 / 17

Télécharger la présentation

Networks and Distributed Systems
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Networks and Distributed Systems Andy Wang Operating Systems COP 4610 / CGS 5765

  2. Technology Trends

  3. Distributed Systems • Allow physically separate computers to work together + Easier and cheaper to mass-produce simple computers • Off-the-shelf components + A company can incrementally increase the computing power

  4. Promises of Distributed Systems • Higher availability • If one machine goes down, use another • Better reliability • A user is able to store data in multiple locations • More security • Each simple component is easier to make secure

  5. Reality of Distributed Systems • Worse availability • A system may depend on many or all machines being up • Worse reliability • One can lose data if any machine crashes • Worse security • Security is as strong as the weakest component • Coordination is difficult because machines can only use the network medium

  6. Network Technologies • Definitions • Network: physical connection that allows two computers to communicate • Packet: a unit of transfer • A sequence of bits carried over the network • Protocol:An agreement between two parties as to how information is to be transmitted

  7. Broadcast Networks • A broadcast network uses a shared communication medium • e.g. wire, Ethernet, cellular phone network • The sender needs to specify the destination in the packet header • So the receiver knows which packet to receive • If a machine were not the intended destination • Discard the packet

  8. Arbitration • Concerns the way to share a given resource • In Aloha network (1970s) • Packets were sent through radios on Hawaiian Islands

  9. Aloha Network • Arbitration: blind broadcast, with a checksum at the end of a packet • Packets might become garbled in the case of simultaneous transmissions

  10. Aloha Network • Arbitration: blind broadcast, with a checksum at the end of a packet • Packets might become garbled in the case of simultaneous transmissions

  11. Aloha Network • Arbitration: blind broadcast, with a checksum at the end of a packet • Packets might become garbled in the case of simultaneous transmissions

  12. Blind Broadcast Receiver: If a packet is garbled discard else sends an acknowledgement Sender: If the acknowledgement does not arrive resend the packet

  13. Ethernet (introduced in the early ‘80s) • By Xerox • First practical local area network • Uses wire (as opposed to radio) • Broadcast network • Key advance: a new way for arbitration

  14. Ethernet’s Arbitration Techniques • Carrier sensing: Ethernet does not send unless the network is idle • Collision detection: sender checks if packet is trampled • If so, abort, wait, and retry • Adaptive randomized waiting: a sender picks a bigger wait time (plus some random duration) after a collision

  15. The Internet • A generalization of interconnected local area networks • Uses machines to interconnect various networks • Routers, gateways, bridges, repeaters • Act like switches • Packets are copied as they transmitted across different networks LAN 2 LAN 1

  16. Routing • Concerns how a packet can reach its destination • Typically, a packet has to go through multiple hops before getting to a destination • Each hop is a router, which directs a packet to the next hop • Routing is achieved through routing tables

  17. Routing Table Updates • Each routing entry contains a cost • <destination, next hop, # hops> • Neighbors periodically exchange routing table entries • If the neighbor has a cheaper route, use that one instead

  18. Point-to-Point Networks • Instead of sharing a common network medium, all nodes in the network can be connected directly to a router/switch

  19. Point-to-Point Networks + Higher link performance (no collisions) + Greater aggregate bandwidth than a single link

  20. Point-to-Point Networks + Network capacity can be upgraded incrementally + Lower latency (no arbitration)

  21. Crossbar buffers buffers Issues in Point-to-Point Networks • Congestion occurs when everyone sends to the same output link on a switch

  22. Crossbar buffers buffers Solutions 1. No flow control: Packets get dropped when the receiving buffer is full • Downloading 2GB of movie across the Internet can make many people unhappy

  23. Solutions 2. Flow control between switches: a switch does not send until the buffer space is available in the next switch • Problem: cross traffic Crossbar buffers buffers

  24. Solutions 3. Per-flow flow control: a separate set of buffers is allocated for each end-to-end stream • Problem: fairness ABAB AAAA ACBC BBBB CCCC