Mini Project Report-Template
Mini Project Report-Template
SERVER
By
Dr. S. Thenmalar.
of
in NWC.
NOVEMBER 2022
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
BONAFIDE CERTIFICATE
Certified that this mini project report "Small Business Network Design
SIGNATURE
Dr. S. Thenmalar
Associate Professor,
Department of Networking and Communications,
SRM Institute of Science and Technology.
II
ABSTRACT
The Project is set up so that having multiple users use this web Application at the
same time does not let the application to crash and has a fair share of Site
Reliability, this is to be implemented using smooth databases and popular cloud
hosting platforms such as Microsoft Azure or Amazon Web Servies, etc.
III
ACKNOWLEDGEMENT
Finally, we thank our parents and friends near and dear ones who
directly and indirectly contributed to the successful completion of our project.
Above all, I thank the almighty for showering his blessings on me to complete
my Course project.
6
TABLE OF CONTENTS
1. ABSTRACT
2. INTRODUCTION
3. LITERATURE SURVEY
4. REQUIREMENT ANALYSIS
5. ARCHITECTURE & DESIGN
6. IMPLEMENTATION
7. EXPERIMENT RESULTS & ANALYSIS
7.1. RESULTS
7.2. RESULT ANALYSIS
8. CONCLUSION & FUTURE
ENHANCEMENT
9. REFERENCES
7
1. INTRODUCTION
As we move forward into the future, the need of technological advancements always keeps
arising and as we go forward it is hard to find something that as yet to be implemented as the
scope of improvement is large but the immediate next step is more often than not similar in
most cases and many of the major platform providers do the same, hence they keep attracting
more user base and screen time of the current userbase, since this is an era of advancements
and huge need of better technology, with the socket-io backend web Application and with the
use of Firebase while building the app, people who are in the need of a minimalistic web
Application or have a zeal for open source contribution can openly contribute to the project
and make the community grow as a whole along with their individual benefits such as
guidance from previous contributors and authors and improvement of skills in the process of
contributing to the Web Application.
We also tackle the problem faced in earlier times Earlier, websites used to reload
every-time a resource was requested. This introduced unnecessary delays which increased
average wait time. Often users had to wait for minutes to fetch a particular page or file. Real-
time applications (Instant messenger, Online gaming, push notification etc.), on the other
hand, are those applications which run within a given time-slot such that user is presented
with immediate and up-to-date copy of the resource. Latency in these applications is kept as
low as possible to give smooth and consistent user experience. Socket.IO is one such
JavaScript library that programmers use in developing real-time “Web Applications”.
Therefore Socket-io is used.
8
2. LITERATURE SURVEY
As we know the use of internet has increased greatly and internet has become one of the
easiest and cheapest sources of communication there are many messaging and chatting
applications coming up. There are already many applications available for communication.
The oldest one we use is electronic mails. Other applications available are the various social
websites, SMS, Mobile Chatting applications and much more.
Electronic Mails
Every day, the citizens of the Internet send each other billions of e-mail messages. If you're
online a lot, you yourself may send a dozen or more e-mails each day without even thinking
about it. Obviously, e-mail has become an extremely popular communication tool. The real e-
mail system consists of two different servers running on a server machine. One is called the
SMTP server, where SMTP stands for Simple Mail Transfer Protocol. The SMTP server
handles outgoing mail. The other is either a POP3 server or an IMAP server, both of which
handle incoming mail. POP stands for Post Office Protocol, and IMA stands for Internet Mail
Access Protocol. Whenever you send a piece of e-mail, your e-mail client interacts with the
SMTP server to handle the sending. The SMTP server on your host may have conversations
with other SMTP servers to deliver thee-mail.
The chatting applications added with mailing service allow the live chat. The transfer of
messages takes place within seconds. Here the numbers of peoplecommunicating are two. So
the saleability issue does not come into picture.
Instant Messaging
IM is the private network communication between two users, whereas a chat session is the
network communication between two or more users. Chat sessions can either be private,
where each user is invited to join the session, or public, where anyone can join the session.
There are on the order of 100million Internet IM users, where a user is defined as a unique
name on one of the major public IM networks.
9
Social Networking Sites The chats on social network are mainly peer-to-peer, they may
happen in groups. As the chats take place in peer-to-peer they do not need to apply any queue
to chat application. They use the algorithm for showing up the latest news in window and the
friends available online. The friends to which we have chatted frequently are shown in the
list. The newly updated news is at top on the page. The scalability of the chat is checked so
that multiple chats can be carried out simultaneously. Here too the scalability issue comes in
picture .As the numbers of chats are carried out simultaneously the delay time to reply the
chats is not fixed. If the reply time is fixed then delay study of the scalability with time
constraint is a problem faced.
3. REQUIREMENTS
1
1
The architecture consists of three major networks:
- Firebase
- Client Application
- API + Databases
5. IMPLEMENTATION
Implementation Guide
Extra Points added to avoid bugs faced during implementation,
1 - Project
1.1 - Open the Project in your android studio;
1.2 - IMPORTANT Change the Package Name. If facing bugs refer :
(https://stackoverflow.com/questions/16804093/android-studio-rename-package)
2 - Firebase Panel
- Create Firebase Project (https://console.firebase.google.com/);
- Import the file google-service.json into your project
- Connect to firebase console authentication and database from your IDE
- in firebase Storage Rules, change value of "allow read, write:" from "if request.auth !=
null" to "if true;"
- For sending notification, paste your Firebase project key into your project
APIService.java
- When you change database settings, you likely will need to uninstall and reinstall apps to
avoid app crashes due to app caches.
1
2
6. RESULTS AND DISCUSSION
1
3
REFERENCES
1
4