CS101 GDB Solution Fall 2023/2024
Abdul Hadi E Services
GDB Problem Statement
The
government is planning to launch a National Social Media App aimed at promoting
responsible information sharing among users and controlling the spread of wrong
information. The app will specifically include the following features:
- Users must register using their CNIC Number for
authentication.
- The platform allows users to share verified
information through posts on the app.
- Multiple users have the option to react to a post,
expressing their feedback through likes or comments.
- Users can initiate real-time chats by sending chat
requests to each other, facilitating interactive communication on the
platform.
You
are required to suggest a network model that can be used for the mentioned
Social Media App. You are asked to choose from the following network models.
Also, provide a brief and to-the-point justification in support of your
preferred choice.
1-
Client/Server model
2-
Peer-to-Peer model
In
the Client/Server model, a singular process acts as the client, making requests
to another process designated as the server. On the other hand, in the
Peer-to-Peer model, processes mutually offer and avail services from one
another.
First. We read a comparison of the Client/Server model and the Peer-to-Peer model in table form:
Feature |
Client/Server Model |
Peer-to-Peer Model |
Architecture |
Centralized
with a dedicated server. |
Decentralized
with no central authority. |
Roles |
Clients
and servers have specialized roles. |
Peers
have equal roles, acting as both clients and servers. |
Control |
Centralized
control by the server. |
Decentralized
control; each peer manages its resources. |
Communication |
Indirect
communication through a central server. |
Direct
peer-to-peer communication. |
Scalability |
Typically
scalable with easier resource management. |
Varied
scalability depending on the network architecture. |
Resource
Sharing |
Server
provides services/resources to clients. |
Peers
can both request and provide resources directly. |
Examples |
Web
applications, Database systems. |
Bit
Torrent, Block chain networks. |
Answer:
For the National Social Media App
aimed at promoting responsible information sharing and controlling the spread
of wrong information, the most suitable network model would be the Client
Server Model.
Justification for the Client/Server
Model:
1.
Centralized
Control: The server acting as a central
authority ensures better monitoring and management of user activities,
promoting responsible information sharing.
2.
Authentication
and Security: With users registering using their
CNIC numbers, a centralized server facilitates robust authentication and
authorization processes, enhancing overall platform security.
3.
Real-time Communication: The Client/Server model is well-suited for supporting real-time
features like chat requests, facilitating interactive and instantaneous
communication between users.
4.
Verified Information Sharing: The server's role in
verifying and validating information ensures that users share accurate and
reliable information, contributing to the platform's goal of responsible
information sharing.
5.
Scalability
and Maintenance: The Client/Server model allows for
easier scalability and maintenance, enabling efficient updates, improvements,
and feature additions on the server side without disrupting client
applications.
In summary, the Client/Server model
offers centralized control, robust security, real-time communication, verified
information sharing, and efficient scalability and maintenance, making it a
suitable choice for the National Social Media App.
Want more info, please press the below button
`
0 Comments
Please write us. Please write in detail that how may we help you