PDC

Parallel and series computing real life example:



Serial computing
:
Imagine your computer is downloading a file.

  • First, it downloads the file.

  • After it’s fully downloaded, it scans it for viruses.
    One task after another — step by step.


Parallel computing:
Now imagine your computer is very smart.

  • While it is still downloading the file,

  • It starts scanning the parts that are already downloaded.
    Both tasks happen at the same time — faster!


In short:

  • Serial = download ➔ then scan.

  • Parallel = download and scan together.









Distributed system:


Distributed Systems

A distributed system is a group of independent computers that work together and look like a single system to users.

These computers communicate by sending messages to each other.

Each computer has its own instruction manager or control unit.

Distributed systems are used whenever computers are connected in a network.



Uses of Distributed Systems

Distributed systems are used in many areas, like:

  • Cloud Computing (e.g., Google Cloud, AWS)

  • Social Media Platforms (e.g., Facebook, Instagram)

  • Online Shopping Websites (e.g., Amazon)

  • Banking Systems


Here’s a clear and simple answer for you:


What is a Distributed System?

A distributed system is a group of computers (or nodes) working together to appear as a single system to users. These computers share resources, coordinate actions, and communicate over a network.

In simple words:
Instead of one big computer doing all the work, many smaller computers share the load to be faster, more reliable, and handle bigger tasks.


Uses of Distributed Systems

Distributed systems are used in many areas, like:

  • Cloud Computing (e.g., Google Cloud, AWS)

  • Social Media Platforms (e.g., Facebook, Instagram)

  • Online Shopping Websites (e.g., Amazon)

  • Banking Systems

  • File Sharing (e.g., Dropbox, Google Drive)

  • Scientific Simulations (e.g., weather forecasting)

They help in handling large amounts of data, faster processing, better reliability, and scalability (easily growing bigger).


2 Common Architectures of Distributed Systems

  1. Client-Server Architecture

    • How it works:
      Clients (users) request services, and servers provide services.

    • Example:
      When you open a website, your browser (client) sends a request to the web server, and the server sends the webpage back.

  2. Peer-to-Peer (P2P) Architecture

    • How it works:
      Every computer (peer) acts as both a client and a server. They share resources directly without needing a central server.

    • Example:
      File-sharing systems like BitTorrent, where users share files directly with each other.




Comments

Popular posts from this blog

PDC syllabus

Video 1 The Power of Natural Stones: Why They Matter