Data Communication, Networks, and Cloud Computing Summary

Computer Network Fundamentals

  • A computer network consists of two or more computers connected via physical cables or wireless media to share resources and information.
  • Network Criteria:
    • Performance: Measured by transit time and response time; evaluated using throughput (higher is better) and delay (lower is better).
    • Reliability: Measured by data delivery accuracy, frequency of failure, and time taken to recover from failures.
    • Security: Protects data from unauthorized access, damage, and sabotage.

Types of Computer Networks

  • LAN (Local Area Network): Connects devices over a small geographic area (e.g., an office or building) with high data transfer speeds typically ranging from 10 Mbps10\,\text{Mbps} to 1000 Mbps1000\,\text{Mbps}.
  • MAN (Metropolitan Area Network): Covers a larger area than a LAN but smaller than a WAN (e.g., connecting college campuses or branch offices across a city).
  • WAN (Wide Area Network): Connects computers across cities and countries (e.g., bank ATMs, NADRA offices, Internet) with data transfer rates typically ranging from 56 Kbps56\,\text{Kbps} to 50 Mbps50\,\text{Mbps}.
  • PAN (Personal Area Network): Connects personal devices (e.g., smartphones, laptops, headsets) within a typical range of about 30 feet30\,\text{feet} using Bluetooth or WiFi.

Network Topologies

  • Bus Topology: Nodes connect to a single central communication wire (bus) terminated at both ends to absorb signals. Bus topology
  • Star Topology: Nodes connect directly to a central device (hub or switch). Recognized as the best LAN topology due to high scalability and ease of troubleshooting. Star topology
  • Ring Topology: Devices form a continuous ring where messages flow in a single direction from node to node. Ring topology
  • Tree Topology: Combines star and bus topologies by connecting multiple star-configured groups to a central bus backbone cable.
  • Mesh Topology: Every device is physically connected to every other device in the network, providing multiple redundant paths, high reliability, and usage mainly in WANs. Mesh topology

Internet Architecture & History

  • Historical Development:
    • Initiated in the 1960s as a military network linking 4 computers during the Cold War.
    • Paul Baran (1964): Introduced concepts of decentralized data storage, digital packets, and flexible routing.
    • NCP (Network Control Protocol): Developed in the 1970s as the first standard data transfer protocol.
    • DARPA / TCP/IP: Stanford Research Institute team introduced Transmission Control Protocol/Internet Protocol (TCP/IP) to link distinct networks.
    • Academic Networks: Expansion through BITNET ("Because It's Time Network"), CSNET ("Computer Science Network"), and NSFNet (1986).
  • Working Principle: Functions as a global client-server network using TCP/IP over high-capacity fiber-optic cables and routers forming the Internet backbone.

Internet Connections & Addressing

  • Access Methods:
    • Dialup: Slowest connection with transfer speeds of 56 Kbps56\,\text{Kbps}.
    • DSL: Uses telephone lines with average speeds of 1 Mbps1\,\text{Mbps} to 20 Mbps20\,\text{Mbps}; restricted to within 3 miles3\,\text{miles} of the service provider.
    • Cable Internet: Utilizes TV cables with typical speeds of 8 Mbps8\,\text{Mbps} to 50 Mbps50\,\text{Mbps} (range 1 Mbps1\,\text{Mbps} to 100 Mbps100\,\text{Mbps}).
    • Satellite: Provides wireless speeds up to 4 Mbps4\,\text{Mbps}; susceptible to weather disruption.
    • Mobile Wireless: Utilizes 3G (3.8 Mbps3.8\,\text{Mbps}+), 4G (up to 100 Mbps100\,\text{Mbps}), and 4G LTE (6 Mbps6\,\text{Mbps} to 13 Mbps13\,\text{Mbps}).
    • FTTP (Fiber to the Premises): Fastest broadband connection with top speeds up to 300 Mbps300\,\text{Mbps}.
  • Addressing Schemes:
    • IPv4: Uses 4 bytes4\,\text{bytes} (32 bits32\,\text{bits}) to form unique numerical addresses.
    • IPv6: Uses 16 bytes16\,\text{bytes} (128 bits128\,\text{bits}) to expand available address space.
    • DNS (Domain Name System): Maps human-readable domain names (e.g., google.com) to numerical IP addresses; overseen globally by ICANN.

Web Services & E-Commerce

  • World Wide Web (WWW): Created in 1989 at CERN in Geneva; a collection of hypertext web pages hosted on web servers.
  • E-Commerce Categories:
    • B2C (Business-to-Consumer): Retail sales directly to consumers via online storefronts (e.g., Amazon.com).
    • C2C (Consumer-to-Consumer): Online auctions and peer-to-peer sales between individual consumers (e.g., eBay).
    • B2B (Business-to-Business): Inter-company transactions, technical support, and supply services (e.g., PayPal, Google Checkout).
  • Protocols & Communication Tools:
    • FTP (File Transfer Protocol): Uploads and downloads files across servers (e.g., CuteFTP, WS_FTP).
    • TELNET: Enables direct remote terminal access to remote computers.
    • VoIP: Voice over Internet Protocol for making phone calls over broadband lines (e.g., Skype).

Cloud Computing

  • Definition: The use of remote internet servers to store, manage, and process data rather than local hard drives.
  • Key Benefits: Scalability (unlimited capacity), high reliability, and administrative efficiency.
  • Deployment Models:
    • Public Cloud: Accessible to any subscriber or general public.
    • Private Cloud: Dedicated to a single organization or group.
    • Community Cloud: Shared by multiple organizations with common interests.
    • Hybrid Cloud: Integrates two or more distinct cloud infrastructure types. Types of clouds