SlideShare a Scribd company logo
1 of 31
SHREE SWAMINARAYA POLYTECHNIC
Project Title – Real Time Chat Application
Mentor – Tejaswini Ramaiya
Created by – Tirth Shah (219860307076)
Om Pawar (219860307078)
Topics
1. What is a Real Time Web Application ?
2.Scope Of Project
3.Technology Stack
4.Use Case
5.Architecture
6.Challenges
7.Advantages
8.Data Flow Diagram (DFD)
9.Activity Diagram
10. Analysis
11. Data dictionary
What is Real Time Web Applications?
•A real-time web application is a type of web application that provides instantaneous,
live, and interactive experiences to users by delivering data updates and changes without
the need for manual page reloads.
•Real-time applications are increasingly popular due to their ability to offer dynamic
content and immediate responses, enhancing user engagement and productivity. Below,
I'll delve into the details of real-time web applications.
1.Instant Messaging: The primary purpose of a real-time chat application is to enable
users to send and receive text messages instantly. Users can engage in one-on-one
conversations or group chats, fostering real-time communication.
2.User Presence: Real-time chat apps often indicate the online/offline status of users,
letting people know when their contacts are available for communication.
3.Multimedia Sharing: Users can share various types of media such as images, videos,
audio clips, documents, and links within the chat interface.
Scope Of Project
Technology Stack
• Real-time web applications are typically built using a combination of technologies
and protocols, including:
• Web Sockets: A bidirectional communication protocol that enables real-time data
transfer between a client (browser) and a server. It establishes a persistent
connection, allowing both parties to send and receive data instantly.
• Server-Sent Events (SSE): An HTTP-based protocol that allows servers to push
data to clients over a single HTTP connection. SSE is suitable for applications
where data needs to be streamed from the server to the client continuously.
Use Case
• Real-time web applications are used in various scenarios, including:
• Instant messaging and chat applications: Users can send and receive messages in real-
time, making conversations more interactive and engaging.
• Collaborative tools and productivity apps: Real-time updates allow multiple users to
work together simultaneously on shared documents or projects.
Architecture
• The architecture of real-time web applications typically involves a combination of
frontend and backend components:
• Frontend: The client-side code (usually written in JavaScript) is responsible for
interacting with the server and rendering real-time data updates. It establishes and
maintains the WebSocket connection or subscribes to SSE channels to receive data.
• Backend: The server-side handles client connections and manages data updates. It
communicates with various data sources and sends real-time updates to connected
clients using WebSocket or SSE protocols.
Architecture of Real Time Web Application
Challenges
•Real-time web applications come with some unique challenges, including:
•Scalability: Handling a large number of concurrent connections can strain server
resources. Horizontal scaling and load balancing techniques are often used to address
this.
•Latency: Reducing the latency of data updates is crucial to providing a smooth real-time
experience. Optimizing server response times and minimizing data payloads can help
mitigate this issue.
•Security: With real-time communication, security becomes critical. Implementing
authentication, authorization, and encryption mechanisms is essential to prevent
unauthorized access and data breaches.
Advantages
• Immediate Updates.
•Enhanced User Experience.
• Faster Decision Making.
• Collaboration and Communication.
•Reduced Server Load.
• Real-Time Notifications.
• Automated Data Updates.
• Predictive Analytics.
•IoT and Sensor Integration.
Data Flow Diagram
Level 0 DFD:
At the highest level, the DFD shows the main processes and external entities without
diving into the details.
•External Entities:
• Users
•Processes:
• Web Application
•Data Flows:
• User Requests/Interactions
• Real-time Data Updates
• User Notifications
Level 1 DFD:
Here, we'll break down the "Web Application" process into more detailed
subprocesses.
•External Entities:
• Users
•Processes:
• Web Application
• User Authentication
• Real-time Data Processing
• Database Management
• User Interface Management
•Data Stores:
• User Data (User Profiles, Preferences)
• Real-time Data Store (Live Updates, Sensor Data)
• Application Data (Configuration, Reference Data)
• Session Data
•Data Flows:
• User Input
• Authentication Tokens
• Real-time Data Flow
• Data Updates
• Notifications
Level 2 DFD:
In this level, we'll further detail some of the subprocesses.
•External Entities:
• Users
•Processes:
• Web Application
• User Authentication
• Verify User Credentials
• Generate Authentication Tokens
•Real-time Data Processing
• Analyze Real-time Data
• Generate Real-time Insights
•Database Management
• Store User Profiles
• Store Real-time Data
•User Interface Management
• Display Real-time Updates
• Display Notifications
•Data Stores:
•User Data (User Profiles, Preferences)
•Real-time Data Store (Live Updates, Sensor Data)
•Application Data (Configuration, Reference Data)
•Session Data
•Data Flows:
•User Input
•Authentication Tokens
•Real-time Data Flow
•Data Updates
•Notifications
Data Flow Diagram
Activity Diagram
oUser Interaction:
User starts by accessing the web application's homepage.
User can choose to log in or sign up.
User Authentication:
If the user chooses to log in, the system prompts for credentials.
System validates the credentials and generates an authentication token.
.
Main Application Flow:
•Once authenticated, the user enters the main application flow.
•User interacts with various features, such as real-time updates, notifications, and setting.
Activity Diagram
Analysis
Purpose and Goals:
Define the purpose of the real-time web application and its primary goals. Identify what
problem the application aims to solve and the value it will provide to users.
User Requirements:
Gather and analyze user requirements to understand the features and functionalities
expected from the application. This could involve creating user stories, use cases, and
personas.
Scalability and Performance:
Assess the expected user load and traffic patterns. Define how the application will
handle scalability and ensure optimal performance under varying loads. Consider
technologies like WebSockets, serverless architectures, and content delivery networks
(CDNs).
Data Management:
Determine the types of data the application will handle in real time. Analyze how data
will be collected, processed, stored, and distributed among users. Consider databases,
caching mechanisms, and data synchronization techniques.
Data Dictionary
• A data dictionary is a file or a set of files that includes a database's metadata.
• The data dictionary holds records about other objects in the database, such as
data ownership, data relationships to other objects, and other data.
• The data dictionary is an essential component of any relational database.
• Ironically, because of its importance, it is invisible to most database users.
• Typically, only database administrators interact with the data dictionary.
Data Directory for Signup
Data Directory of Users Chat
THANK YOU

More Related Content

Similar to Presentation3.pptx

Employee Self Services Portal
Employee Self Services Portal Employee Self Services Portal
Employee Self Services Portal Mike Taylor
 
Donation Toolbar Application for IE, Chrome & Firefox
Donation Toolbar Application for IE, Chrome & FirefoxDonation Toolbar Application for IE, Chrome & Firefox
Donation Toolbar Application for IE, Chrome & FirefoxMike Taylor
 
Managing a complex database toolbar application for ie, chrome & firefox
Managing a complex database toolbar application for ie, chrome & firefoxManaging a complex database toolbar application for ie, chrome & firefox
Managing a complex database toolbar application for ie, chrome & firefoxMike Taylor
 
Deployability
DeployabilityDeployability
DeployabilityLen Bass
 
4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.pptMatthew Perrins
 
The Evolution of a Scrappy Startup to a Successful Web Service
The Evolution of a Scrappy Startup to a Successful Web ServiceThe Evolution of a Scrappy Startup to a Successful Web Service
The Evolution of a Scrappy Startup to a Successful Web ServicePoornima Vijayashanker
 
Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023stevefary
 
A Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application ArchitectureA Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application Architecturestevefary
 
Web Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureWeb Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureVersatile Mobitech
 
Web development: Why do we need it ?
Web development: Why do we need it ?Web development: Why do we need it ?
Web development: Why do we need it ?anubhavdoodleblue123
 
Daffodil Software-Sharepoint Capability Document
Daffodil Software-Sharepoint Capability DocumentDaffodil Software-Sharepoint Capability Document
Daffodil Software-Sharepoint Capability DocumentAshok Surendran
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitectureABDEL RAHMAN KARIM
 
Web Chat using React Framework
Web Chat using React FrameworkWeb Chat using React Framework
Web Chat using React Frameworkijtsrd
 
IoT material revised edition
IoT material revised editionIoT material revised edition
IoT material revised editionpavan penugonda
 
Web Locker For Online Banking System Chapter final project Report page
Web Locker For Online Banking System  Chapter final project Report pageWeb Locker For Online Banking System  Chapter final project Report page
Web Locker For Online Banking System Chapter final project Report pageMukesh Chaudhary(L.I.O.N)
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.pptJayaprasanna4
 

Similar to Presentation3.pptx (20)

Employee Self Services Portal
Employee Self Services Portal Employee Self Services Portal
Employee Self Services Portal
 
Donation Toolbar Application for IE, Chrome & Firefox
Donation Toolbar Application for IE, Chrome & FirefoxDonation Toolbar Application for IE, Chrome & Firefox
Donation Toolbar Application for IE, Chrome & Firefox
 
Managing a complex database toolbar application for ie, chrome & firefox
Managing a complex database toolbar application for ie, chrome & firefoxManaging a complex database toolbar application for ie, chrome & firefox
Managing a complex database toolbar application for ie, chrome & firefox
 
Deployability
DeployabilityDeployability
Deployability
 
Analytics and etl based bi solutions
Analytics and etl based bi solutionsAnalytics and etl based bi solutions
Analytics and etl based bi solutions
 
Cab2
Cab2Cab2
Cab2
 
4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt
 
The Evolution of a Scrappy Startup to a Successful Web Service
The Evolution of a Scrappy Startup to a Successful Web ServiceThe Evolution of a Scrappy Startup to a Successful Web Service
The Evolution of a Scrappy Startup to a Successful Web Service
 
Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023Web Application Architecture: A Comprehensive Guide for Success in 2023
Web Application Architecture: A Comprehensive Guide for Success in 2023
 
A Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application ArchitectureA Comprehensive Guide to Web Application Architecture
A Comprehensive Guide to Web Application Architecture
 
Web Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application ArchitectureWeb Application Development-Ultimate Guide To Web Application Architecture
Web Application Development-Ultimate Guide To Web Application Architecture
 
Web development: Why do we need it ?
Web development: Why do we need it ?Web development: Why do we need it ?
Web development: Why do we need it ?
 
Daffodil Software-Sharepoint Capability Document
Daffodil Software-Sharepoint Capability DocumentDaffodil Software-Sharepoint Capability Document
Daffodil Software-Sharepoint Capability Document
 
KarthikSNOW_CV
KarthikSNOW_CVKarthikSNOW_CV
KarthikSNOW_CV
 
PNN_presentation
PNN_presentationPNN_presentation
PNN_presentation
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitecture
 
Web Chat using React Framework
Web Chat using React FrameworkWeb Chat using React Framework
Web Chat using React Framework
 
IoT material revised edition
IoT material revised editionIoT material revised edition
IoT material revised edition
 
Web Locker For Online Banking System Chapter final project Report page
Web Locker For Online Banking System  Chapter final project Report pageWeb Locker For Online Banking System  Chapter final project Report page
Web Locker For Online Banking System Chapter final project Report page
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.ppt
 

Recently uploaded

CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxaryanv1753
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...marjmae69
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...NETWAYS
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptssuser319dad
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationNathan Young
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)Basil Achie
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxJohnree4
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...NETWAYS
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxFamilyWorshipCenterD
 

Recently uploaded (20)

CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptx
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.ppt
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism Presentation
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptx
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
 

Presentation3.pptx

  • 1. SHREE SWAMINARAYA POLYTECHNIC Project Title – Real Time Chat Application Mentor – Tejaswini Ramaiya Created by – Tirth Shah (219860307076) Om Pawar (219860307078)
  • 2. Topics 1. What is a Real Time Web Application ? 2.Scope Of Project 3.Technology Stack 4.Use Case 5.Architecture 6.Challenges 7.Advantages 8.Data Flow Diagram (DFD) 9.Activity Diagram 10. Analysis 11. Data dictionary
  • 3. What is Real Time Web Applications? •A real-time web application is a type of web application that provides instantaneous, live, and interactive experiences to users by delivering data updates and changes without the need for manual page reloads. •Real-time applications are increasingly popular due to their ability to offer dynamic content and immediate responses, enhancing user engagement and productivity. Below, I'll delve into the details of real-time web applications.
  • 4. 1.Instant Messaging: The primary purpose of a real-time chat application is to enable users to send and receive text messages instantly. Users can engage in one-on-one conversations or group chats, fostering real-time communication. 2.User Presence: Real-time chat apps often indicate the online/offline status of users, letting people know when their contacts are available for communication. 3.Multimedia Sharing: Users can share various types of media such as images, videos, audio clips, documents, and links within the chat interface. Scope Of Project
  • 5. Technology Stack • Real-time web applications are typically built using a combination of technologies and protocols, including: • Web Sockets: A bidirectional communication protocol that enables real-time data transfer between a client (browser) and a server. It establishes a persistent connection, allowing both parties to send and receive data instantly. • Server-Sent Events (SSE): An HTTP-based protocol that allows servers to push data to clients over a single HTTP connection. SSE is suitable for applications where data needs to be streamed from the server to the client continuously.
  • 6. Use Case • Real-time web applications are used in various scenarios, including: • Instant messaging and chat applications: Users can send and receive messages in real- time, making conversations more interactive and engaging. • Collaborative tools and productivity apps: Real-time updates allow multiple users to work together simultaneously on shared documents or projects.
  • 7.
  • 8. Architecture • The architecture of real-time web applications typically involves a combination of frontend and backend components: • Frontend: The client-side code (usually written in JavaScript) is responsible for interacting with the server and rendering real-time data updates. It establishes and maintains the WebSocket connection or subscribes to SSE channels to receive data. • Backend: The server-side handles client connections and manages data updates. It communicates with various data sources and sends real-time updates to connected clients using WebSocket or SSE protocols.
  • 9. Architecture of Real Time Web Application
  • 10. Challenges •Real-time web applications come with some unique challenges, including: •Scalability: Handling a large number of concurrent connections can strain server resources. Horizontal scaling and load balancing techniques are often used to address this. •Latency: Reducing the latency of data updates is crucial to providing a smooth real-time experience. Optimizing server response times and minimizing data payloads can help mitigate this issue. •Security: With real-time communication, security becomes critical. Implementing authentication, authorization, and encryption mechanisms is essential to prevent unauthorized access and data breaches.
  • 11. Advantages • Immediate Updates. •Enhanced User Experience. • Faster Decision Making. • Collaboration and Communication. •Reduced Server Load. • Real-Time Notifications. • Automated Data Updates. • Predictive Analytics. •IoT and Sensor Integration.
  • 12. Data Flow Diagram Level 0 DFD: At the highest level, the DFD shows the main processes and external entities without diving into the details. •External Entities: • Users •Processes: • Web Application •Data Flows: • User Requests/Interactions • Real-time Data Updates • User Notifications
  • 13. Level 1 DFD: Here, we'll break down the "Web Application" process into more detailed subprocesses. •External Entities: • Users •Processes: • Web Application • User Authentication • Real-time Data Processing • Database Management • User Interface Management
  • 14. •Data Stores: • User Data (User Profiles, Preferences) • Real-time Data Store (Live Updates, Sensor Data) • Application Data (Configuration, Reference Data) • Session Data •Data Flows: • User Input • Authentication Tokens • Real-time Data Flow • Data Updates • Notifications
  • 15. Level 2 DFD: In this level, we'll further detail some of the subprocesses. •External Entities: • Users •Processes: • Web Application • User Authentication • Verify User Credentials • Generate Authentication Tokens
  • 16. •Real-time Data Processing • Analyze Real-time Data • Generate Real-time Insights •Database Management • Store User Profiles • Store Real-time Data •User Interface Management • Display Real-time Updates • Display Notifications
  • 17. •Data Stores: •User Data (User Profiles, Preferences) •Real-time Data Store (Live Updates, Sensor Data) •Application Data (Configuration, Reference Data) •Session Data •Data Flows: •User Input •Authentication Tokens •Real-time Data Flow •Data Updates •Notifications
  • 19. Activity Diagram oUser Interaction: User starts by accessing the web application's homepage. User can choose to log in or sign up. User Authentication: If the user chooses to log in, the system prompts for credentials. System validates the credentials and generates an authentication token. .
  • 20. Main Application Flow: •Once authenticated, the user enters the main application flow. •User interacts with various features, such as real-time updates, notifications, and setting.
  • 22. Analysis Purpose and Goals: Define the purpose of the real-time web application and its primary goals. Identify what problem the application aims to solve and the value it will provide to users. User Requirements: Gather and analyze user requirements to understand the features and functionalities expected from the application. This could involve creating user stories, use cases, and personas.
  • 23. Scalability and Performance: Assess the expected user load and traffic patterns. Define how the application will handle scalability and ensure optimal performance under varying loads. Consider technologies like WebSockets, serverless architectures, and content delivery networks (CDNs). Data Management: Determine the types of data the application will handle in real time. Analyze how data will be collected, processed, stored, and distributed among users. Consider databases, caching mechanisms, and data synchronization techniques.
  • 24. Data Dictionary • A data dictionary is a file or a set of files that includes a database's metadata. • The data dictionary holds records about other objects in the database, such as data ownership, data relationships to other objects, and other data. • The data dictionary is an essential component of any relational database. • Ironically, because of its importance, it is invisible to most database users. • Typically, only database administrators interact with the data dictionary.
  • 26. Data Directory of Users Chat
  • 27.
  • 28.
  • 29.
  • 30.