Web-Server & It's Architecture.pptx

Alok Kumar, Damewanshwa Ryntathiang, Rituraj Borah, Iakitbok Nongrum
S2000940 S2000945 S2000957 S2000947
++
CONTENTS
Tim Berners-Lee wrote the first proposal for the World Wide Web in March 1989 and his
second proposal in May 1990. Together with Belgian systems engineer Robert Cailliau, this
was formalised as a management proposal in November 1990. This outlined the principal
concepts and it defined important terms behind the Web. The document described a
"hypertext project" called "WorldWideWeb" in which a "web" of "hypertext documents"
could be viewed by “browsers”.By the end of 1990, Tim Berners-Lee had the first Web
server and browser up and running at CERN, demonstrating his ideas. He developed the
code for his Web server on a NeXT computer. To prevent it being accidentally switched off,
the computer had a hand-written label in red ink: "This machine is a server. DO NOT
POWER IT DOWN!!"
The main job of a web server is to display website content
through storing, processing and delivering webpages to users.
A web server is software and hardware that uses HTTP (Hypertext
Transfer Protocol) and other protocols to respond
to client requests made over the World Wide Web.
Every Web server that is connected to the Internet is given a
unique address made up of a series of four numbers between
0 to 255 separated by periods. For example, 68.178.157.132
or 68.122.35.127.
Web-Server & It's Architecture.pptx
Request a file from web document
(*html, *.gif, etc.)
Find existing thread/process corresponding to the
user's connection, or start new one.
Parse HTTP request, extracting file name and path
of requested file.
Find and retrieve requested file, or return error
message.
Parse response and display in web
browser.Repeat until all files in web
document have been retrieved.
Add HTTP header and send response to user.
A
B
C
Getting IP Address from DNS: In the First step, web browser gets the IP (Internet
Protocol) from domain name. IP address can be received with two methods like as Finding IP
address in Cache and requesting IP address in multiple DNS (Domain Name Servers).
Browser Request Fully URL: Web browser fully aware which IP address website is
located at, so it can send request full URL from server side.
Web Server sends Requested Page: Now web server responds with sending requested web
page toward web browser. If those web pages do not present then appropriate error message will
be display on the web browser. For example – “Error 404 will be display, if your requested pages do
not present”.” Error 401 will be display, if user inserts incorrect credential information such as
username and password.”
 The document root is the root directory of servable documents
Suppose the site name is www.bloomers.com and the document root is named
topdocs, and it is stored in the /admin/web directory
Then, /admin/web/topdocs is the document directory address
If a request URL is
http://www.bloomers.com/bulbs/tulips.html
The server will search for the file named
/admin/web/topdocs/bulbs/tulips.html
The server can have virtual document trees
 Sometimes a different disk, possibly on a different machine, is used after the original
disk is filled
 The server root usually has four files/subdirectories
1) One is the code for the server itself
2) conf - subdirectory for configuration information
3) logs - subdirectory to store what has happened
4) cgi-bin - subdirectory for executable scripts
 Virtual hosts - multiple sites on the same system
 Proxy servers - to serve documents from the document
roots of other sites
 Besides HTTP, support for FTP, Gopher, News, email
 Support for database access
A client-server architecture or model is an application network separating
tasks between the clients and servers that live in the same system or
have to communicate through a computer network. The server-client
mainly relies on sending the request to another program to access the
service made accessible by the server. This server runs a few programs
that share the resources with & distribute work among the clients.It is also
known as the networking computing model or client server network as all
requests and services are delivered over a network.
A client-server relationship corresponds to the request–response pattern
and should adhere to the common communications procedure that
defines the language, rules, or dialog patterns used. The client-server
communication adheres to TCP or IP protocol suite.
12
A 1-Tier Architecture:
All client or server configuration settings, UI environment,
data logic, as well as marketing logic are there on the same
system. The 1-tier architecture services are quite reliable but
tough tasks to handle as they have all data in various
variance that will be allotted the complete replication of the
whole work. 1-Tier architecture also has different layers.
For example –Business, Presentation, Data Access layer
using a single software package. Data will be saved on a local
machine. Some applications manage 3 tiers like an MP3
player and MS Office; however, these applications are
presented in a 1-tier architecture system.
B 2-Tier Architecture:
In 2-Tier Architecture, the UI is stored at the client machine,
and the database gets stored on a server. The business logic
and database logic are filed at server or client but have to be
well-maintained. Suppose Data Logic and Business Logic are
collected at the client-side, it’s called fat client-server
architecture. Suppose Data Logic and Business Logic are
handled on a server, its thin client-server architecture. It is
considered affordable.
In 2-Tier architecture, server and client need to come in the
direct incorporation. Suppose a client provides any input to a
server there must not be any intermediate. It is generally done
for rapid results and to avoid confusion between various
clients. For example, an online ticket reservations application
uses this 2-Tier architecture.
USER
INTERFACE
either with BL & DL
DATABASE
or
BL & DL
Reques
t
Response
CLIENT
SERVE
R
C 3-Tier Architecture:
It consists of the presentation tier that is the User Interface layer, an application tier
that is a service layer, which performs the detailed processing, and a data tier that
consists of the database server, which stores information. Three-tier architecture can
be split into 3 parts, the presentation layer (or Client Tier), the Application layer (or
Business Tier), and the Database layer (or Data Tier). It works in the following ways:
The Client system handles the Presentation layer; the Application server looks after
the Application layer, and the Server system supervises the Database layer.
USER
INTERFACE
CLIENT SERVE
R
MIDDLEWAR
E
BL & DL
DATABAS
E
Request
Response
• Client and server machines need different amount of hardware and
software resources.
• Client and server machines may belong to different vendors.
• A client or server application interacts directly with a transport layer
protocol to establish communication and to send or receive information.
• The transport protocol then uses lower layer protocols to send or receive
individual messages. Thus, a computer needs a complete stack of
protocols to run either a client or a server.
• A single server-class computer can offer multiple services at the same
time; a separate server program is needed for each service.
A Advantages:
• Cost-efficient needs less maintenance cost & Data recovery is made
possible.
• The capacity of the Client/Servers will be changed separately.
• Centralized system with data in one single place.
B Disadvantages:
• Clients can be prone to viruses, worms, and Trojans if present in a
Server/uploaded in the Server.
• The server can be prone to Denial of Service attacks.
• Data packets will be modified or spoofed during the transmission.
• Phishing and capturing login credentials and other useful info of
user are quite common and Man in a Middle attack will be
common.
A Mail Servers: Email servers can be used for sending &
receiving emails. Different software allows email handling.
B File Servers: They are the centralized location for the files. For
example, cloud services for Microsoft Office and Google docs will
be accessed from your devices, and files that you save from the
computer will be accessed from your phone. In this way, file stores
will be centralized and accessed by multiple clients.
EXPLAIN THE CLIENT-SIDE OF WWW
ARCHITECTURE.
Processing taking place on the users computer:
• On client-side it generally refers to the device through
which the user is accessing the internet.
• A browser is needed to execute the scripts on the machine
i.e. any file with an extension like .js or .html requires a
browser to run.
• Reduces load on the server processing unit. For example,
CDNs are distributed networks comprised of strategically
placed edge servers that enable the rapid delivery of web
content to users across the world.
• A CDN can reduce your server load and speed up your
website by caching your site's static content.
• Web server is a program or the computer that
provide services to other programs called client.
• The Web server accepts, approve and
respond to the request made by the web
browser for a web document or services.
• The web server gets HTTP requests and
send HTTP responses.
Web Server Web Browser
• There exist three types of processing
models for web server i.e Process-based,
Thread based and Hybrid.
• Web servers provide an area to store and
organize the pages of the website.
• Example: Apache, Nginx, IIS etc.
• Web Browser is an Application program that
displays a World wide web document. It usually
uses the internet service to access the
document.
• The Web browser requests the server for the
web documents and services.
• The web browser sends an HTTP request
and gets an HTTP response.
• Doesn’t exist any processing model for the
web browser.
• Web browser stores the cookies for different
websites.
• Example: Crome, Brave, MS Edge etc.
• https://www.techtarget.com/whatis/definition/Web-server
• https://eduladder.com/viewquestions/975/Explain-Web-servers- operation-and-
general-server-characteristics
• https://www.tutorialspoint.com/internet_technologies/web_servers.htm
• https://intellipaat.com/blog/what-is-client-server-
architecture/#:~:text=Client%20server%20architecture%20is%20a,are%20deliver
ed%20over%20a%20network.
• http://web.cs.wpi.edu/~kal/courses/awt/lab6/wwwch11servlets.PDF
• https://digitalthinkerhelp.com/what-is-web-server-definition-types-examples-
working-uses/
• https://www.postposmo.com/en/characteristics-of-a-web-
server/#Caracteristicas_de_un_servidor_web_Software
• https://cs.uwaterloo.ca/~m2nagapp/courses/CS446/1195/Arch_Design_Activity/C
lientServer.pdf
• https://www.thecrazyprogrammer.com/2021/03/client-server-architecture.html
• https://www.ques10.com/p/10217/explain-the-need-of-web-server-how-is-it-
adminis-2/
• https://www.geeksforgeeks.org/difference-between-web-browser-and-web-
server/
Web-Server & It's Architecture.pptx
1 de 22

Recomendados

WP Chap 1 & 2.pptx por
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptxAnkitaChauhan79
19 visualizações50 slides
Introduction to the client server computing By Attaullah Hazrat por
Introduction to the client server computing By Attaullah HazratIntroduction to the client server computing By Attaullah Hazrat
Introduction to the client server computing By Attaullah HazratAttaullah Hazrat
1.9K visualizações21 slides
Web server por
Web serverWeb server
Web serverAlieska Waye
97 visualizações37 slides
0130225347 por
01302253470130225347
0130225347Dharmendra Gupta
24 visualizações37 slides
E - BUSINESS AND ACCOUNTING. por
E - BUSINESS AND ACCOUNTING.E - BUSINESS AND ACCOUNTING.
E - BUSINESS AND ACCOUNTING.Abhishek Kulkarni
30 visualizações13 slides
Lecture 11 client_server_interaction por
Lecture 11 client_server_interactionLecture 11 client_server_interaction
Lecture 11 client_server_interactionSerious_SamSoul
1.1K visualizações36 slides

Mais conteúdo relacionado

Similar a Web-Server & It's Architecture.pptx

Web Browsers.pptx por
Web Browsers.pptxWeb Browsers.pptx
Web Browsers.pptxHariomMangal1
16 visualizações44 slides
Www architecture,cgi, client server security, protection por
Www architecture,cgi, client server security, protectionWww architecture,cgi, client server security, protection
Www architecture,cgi, client server security, protectionAustina Francis
10.9K visualizações23 slides
Part 1 network computing por
Part 1 network computingPart 1 network computing
Part 1 network computingLinh Nguyen
497 visualizações114 slides
Client-Server Model por
Client-Server ModelClient-Server Model
Client-Server ModelHTS Hosting
208 visualizações15 slides
Html por
HtmlHtml
Htmlkousika
68 visualizações289 slides
Web server for cbse 10 FIT por
Web server for cbse 10 FITWeb server for cbse 10 FIT
Web server for cbse 10 FITBhuvanapriya shanmugam
31 visualizações2 slides

Similar a Web-Server & It's Architecture.pptx(20)

Web Browsers.pptx por HariomMangal1
Web Browsers.pptxWeb Browsers.pptx
Web Browsers.pptx
HariomMangal116 visualizações
Www architecture,cgi, client server security, protection por Austina Francis
Www architecture,cgi, client server security, protectionWww architecture,cgi, client server security, protection
Www architecture,cgi, client server security, protection
Austina Francis10.9K visualizações
Part 1 network computing por Linh Nguyen
Part 1 network computingPart 1 network computing
Part 1 network computing
Linh Nguyen497 visualizações
Client-Server Model por HTS Hosting
Client-Server ModelClient-Server Model
Client-Server Model
HTS Hosting208 visualizações
Html por kousika
HtmlHtml
Html
kousika68 visualizações
server-131210061249-phpapp02.pdf por KowsalyaJayakumar2
server-131210061249-phpapp02.pdfserver-131210061249-phpapp02.pdf
server-131210061249-phpapp02.pdf
KowsalyaJayakumar218 visualizações
A Project Report on Linux Server Administration por Avinash Kumar
A Project Report on Linux Server AdministrationA Project Report on Linux Server Administration
A Project Report on Linux Server Administration
Avinash Kumar7.1K visualizações
Application layer assignments por Isaac Akingbala
Application layer assignmentsApplication layer assignments
Application layer assignments
Isaac Akingbala185 visualizações
MODULE-5_CCN.pptx por DrShivashankar1
MODULE-5_CCN.pptxMODULE-5_CCN.pptx
MODULE-5_CCN.pptx
DrShivashankar1141 visualizações
Web server por Ankit Raj
Web serverWeb server
Web server
Ankit Raj6K visualizações
Web Server Hardware and Software por webhostingguy
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
webhostingguy21K visualizações
Basic Server PPT (THDC) por Vineet Pokhriyal
Basic Server PPT (THDC)Basic Server PPT (THDC)
Basic Server PPT (THDC)
Vineet Pokhriyal41K visualizações
Server Side Programming por Milan Thapa
Server Side ProgrammingServer Side Programming
Server Side Programming
Milan Thapa709 visualizações
Configuring the Apache Web Server por webhostingguy
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
webhostingguy4.3K visualizações
Distributed web based systems por Reza Gh
Distributed web based systemsDistributed web based systems
Distributed web based systems
Reza Gh15.5K visualizações
Types of networks according to security por Amjad Afridi
Types of networks according to securityTypes of networks according to security
Types of networks according to security
Amjad Afridi102 visualizações
Web server hardware and software por Humma Rashid
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
Humma Rashid6.7K visualizações

Último

sam_software_eng_cv.pdf por
sam_software_eng_cv.pdfsam_software_eng_cv.pdf
sam_software_eng_cv.pdfsammyigbinovia
19 visualizações5 slides
Créativité dans le design mécanique à l’aide de l’optimisation topologique por
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueCréativité dans le design mécanique à l’aide de l’optimisation topologique
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueLIEGE CREATIVE
9 visualizações84 slides
Design_Discover_Develop_Campaign.pptx por
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptxShivanshSeth6
56 visualizações20 slides
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth por
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for GrowthInnomantra
22 visualizações4 slides
REACTJS.pdf por
REACTJS.pdfREACTJS.pdf
REACTJS.pdfArthyR3
39 visualizações16 slides
AWS Certified Solutions Architect Associate Exam Guide_published .pdf por
AWS Certified Solutions Architect Associate Exam Guide_published .pdfAWS Certified Solutions Architect Associate Exam Guide_published .pdf
AWS Certified Solutions Architect Associate Exam Guide_published .pdfKiran Kumar Malik
6 visualizações121 slides

Último(20)

sam_software_eng_cv.pdf por sammyigbinovia
sam_software_eng_cv.pdfsam_software_eng_cv.pdf
sam_software_eng_cv.pdf
sammyigbinovia19 visualizações
Créativité dans le design mécanique à l’aide de l’optimisation topologique por LIEGE CREATIVE
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueCréativité dans le design mécanique à l’aide de l’optimisation topologique
Créativité dans le design mécanique à l’aide de l’optimisation topologique
LIEGE CREATIVE9 visualizações
Design_Discover_Develop_Campaign.pptx por ShivanshSeth6
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptx
ShivanshSeth656 visualizações
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth por Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 22 visualizações
REACTJS.pdf por ArthyR3
REACTJS.pdfREACTJS.pdf
REACTJS.pdf
ArthyR339 visualizações
AWS Certified Solutions Architect Associate Exam Guide_published .pdf por Kiran Kumar Malik
AWS Certified Solutions Architect Associate Exam Guide_published .pdfAWS Certified Solutions Architect Associate Exam Guide_published .pdf
AWS Certified Solutions Architect Associate Exam Guide_published .pdf
Kiran Kumar Malik6 visualizações
Pitchbook Repowerlab.pdf por VictoriaGaleano
Pitchbook Repowerlab.pdfPitchbook Repowerlab.pdf
Pitchbook Repowerlab.pdf
VictoriaGaleano9 visualizações
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... por csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn16 visualizações
taylor-2005-classical-mechanics.pdf por ArturoArreola10
taylor-2005-classical-mechanics.pdftaylor-2005-classical-mechanics.pdf
taylor-2005-classical-mechanics.pdf
ArturoArreola1037 visualizações
dummy.pptx por JamesLamp
dummy.pptxdummy.pptx
dummy.pptx
JamesLamp7 visualizações
GPS Survery Presentation/ Slides por OmarFarukEmon1
GPS Survery Presentation/ SlidesGPS Survery Presentation/ Slides
GPS Survery Presentation/ Slides
OmarFarukEmon17 visualizações
Automated Remote sensing GPS satellite system for managing resources and moni... por Khalid Abdel Naser Abdel Rahim
Automated Remote sensing GPS satellite system for managing resources and moni...Automated Remote sensing GPS satellite system for managing resources and moni...
Automated Remote sensing GPS satellite system for managing resources and moni...
Khalid Abdel Naser Abdel Rahim5 visualizações
Unlocking Research Visibility.pdf por KhatirNaima
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdf
KhatirNaima11 visualizações
Web Dev Session 1.pptx por VedVekhande
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptx
VedVekhande23 visualizações
CPM Schedule Float.pptx por Mathew Joseph
CPM Schedule Float.pptxCPM Schedule Float.pptx
CPM Schedule Float.pptx
Mathew Joseph8 visualizações
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R... por IJCNCJournal
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
Trust Metric-Based Anomaly Detection via Deep Deterministic Policy Gradient R...
IJCNCJournal5 visualizações
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf por AlhamduKure
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
AlhamduKure10 visualizações
Ansari: Practical experiences with an LLM-based Islamic Assistant por M Waleed Kadous
Ansari: Practical experiences with an LLM-based Islamic AssistantAnsari: Practical experiences with an LLM-based Islamic Assistant
Ansari: Practical experiences with an LLM-based Islamic Assistant
M Waleed Kadous12 visualizações
Integrating Sustainable Development Goals (SDGs) in School Education por SheetalTank1
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School Education
SheetalTank113 visualizações
CCNA_questions_2021.pdf por VUPHUONGTHAO9
CCNA_questions_2021.pdfCCNA_questions_2021.pdf
CCNA_questions_2021.pdf
VUPHUONGTHAO97 visualizações

Web-Server & It's Architecture.pptx

  • 1. Alok Kumar, Damewanshwa Ryntathiang, Rituraj Borah, Iakitbok Nongrum S2000940 S2000945 S2000957 S2000947
  • 3. Tim Berners-Lee wrote the first proposal for the World Wide Web in March 1989 and his second proposal in May 1990. Together with Belgian systems engineer Robert Cailliau, this was formalised as a management proposal in November 1990. This outlined the principal concepts and it defined important terms behind the Web. The document described a "hypertext project" called "WorldWideWeb" in which a "web" of "hypertext documents" could be viewed by “browsers”.By the end of 1990, Tim Berners-Lee had the first Web server and browser up and running at CERN, demonstrating his ideas. He developed the code for his Web server on a NeXT computer. To prevent it being accidentally switched off, the computer had a hand-written label in red ink: "This machine is a server. DO NOT POWER IT DOWN!!"
  • 4. The main job of a web server is to display website content through storing, processing and delivering webpages to users. A web server is software and hardware that uses HTTP (Hypertext Transfer Protocol) and other protocols to respond to client requests made over the World Wide Web. Every Web server that is connected to the Internet is given a unique address made up of a series of four numbers between 0 to 255 separated by periods. For example, 68.178.157.132 or 68.122.35.127.
  • 6. Request a file from web document (*html, *.gif, etc.) Find existing thread/process corresponding to the user's connection, or start new one. Parse HTTP request, extracting file name and path of requested file. Find and retrieve requested file, or return error message. Parse response and display in web browser.Repeat until all files in web document have been retrieved. Add HTTP header and send response to user.
  • 7. A B C Getting IP Address from DNS: In the First step, web browser gets the IP (Internet Protocol) from domain name. IP address can be received with two methods like as Finding IP address in Cache and requesting IP address in multiple DNS (Domain Name Servers). Browser Request Fully URL: Web browser fully aware which IP address website is located at, so it can send request full URL from server side. Web Server sends Requested Page: Now web server responds with sending requested web page toward web browser. If those web pages do not present then appropriate error message will be display on the web browser. For example – “Error 404 will be display, if your requested pages do not present”.” Error 401 will be display, if user inserts incorrect credential information such as username and password.”
  • 8.  The document root is the root directory of servable documents Suppose the site name is www.bloomers.com and the document root is named topdocs, and it is stored in the /admin/web directory Then, /admin/web/topdocs is the document directory address If a request URL is http://www.bloomers.com/bulbs/tulips.html The server will search for the file named /admin/web/topdocs/bulbs/tulips.html The server can have virtual document trees  Sometimes a different disk, possibly on a different machine, is used after the original disk is filled
  • 9.  The server root usually has four files/subdirectories 1) One is the code for the server itself 2) conf - subdirectory for configuration information 3) logs - subdirectory to store what has happened 4) cgi-bin - subdirectory for executable scripts
  • 10.  Virtual hosts - multiple sites on the same system  Proxy servers - to serve documents from the document roots of other sites  Besides HTTP, support for FTP, Gopher, News, email  Support for database access
  • 11. A client-server architecture or model is an application network separating tasks between the clients and servers that live in the same system or have to communicate through a computer network. The server-client mainly relies on sending the request to another program to access the service made accessible by the server. This server runs a few programs that share the resources with & distribute work among the clients.It is also known as the networking computing model or client server network as all requests and services are delivered over a network. A client-server relationship corresponds to the request–response pattern and should adhere to the common communications procedure that defines the language, rules, or dialog patterns used. The client-server communication adheres to TCP or IP protocol suite.
  • 12. 12
  • 13. A 1-Tier Architecture: All client or server configuration settings, UI environment, data logic, as well as marketing logic are there on the same system. The 1-tier architecture services are quite reliable but tough tasks to handle as they have all data in various variance that will be allotted the complete replication of the whole work. 1-Tier architecture also has different layers. For example –Business, Presentation, Data Access layer using a single software package. Data will be saved on a local machine. Some applications manage 3 tiers like an MP3 player and MS Office; however, these applications are presented in a 1-tier architecture system.
  • 14. B 2-Tier Architecture: In 2-Tier Architecture, the UI is stored at the client machine, and the database gets stored on a server. The business logic and database logic are filed at server or client but have to be well-maintained. Suppose Data Logic and Business Logic are collected at the client-side, it’s called fat client-server architecture. Suppose Data Logic and Business Logic are handled on a server, its thin client-server architecture. It is considered affordable. In 2-Tier architecture, server and client need to come in the direct incorporation. Suppose a client provides any input to a server there must not be any intermediate. It is generally done for rapid results and to avoid confusion between various clients. For example, an online ticket reservations application uses this 2-Tier architecture. USER INTERFACE either with BL & DL DATABASE or BL & DL Reques t Response CLIENT SERVE R
  • 15. C 3-Tier Architecture: It consists of the presentation tier that is the User Interface layer, an application tier that is a service layer, which performs the detailed processing, and a data tier that consists of the database server, which stores information. Three-tier architecture can be split into 3 parts, the presentation layer (or Client Tier), the Application layer (or Business Tier), and the Database layer (or Data Tier). It works in the following ways: The Client system handles the Presentation layer; the Application server looks after the Application layer, and the Server system supervises the Database layer. USER INTERFACE CLIENT SERVE R MIDDLEWAR E BL & DL DATABAS E Request Response
  • 16. • Client and server machines need different amount of hardware and software resources. • Client and server machines may belong to different vendors. • A client or server application interacts directly with a transport layer protocol to establish communication and to send or receive information. • The transport protocol then uses lower layer protocols to send or receive individual messages. Thus, a computer needs a complete stack of protocols to run either a client or a server. • A single server-class computer can offer multiple services at the same time; a separate server program is needed for each service.
  • 17. A Advantages: • Cost-efficient needs less maintenance cost & Data recovery is made possible. • The capacity of the Client/Servers will be changed separately. • Centralized system with data in one single place. B Disadvantages: • Clients can be prone to viruses, worms, and Trojans if present in a Server/uploaded in the Server. • The server can be prone to Denial of Service attacks. • Data packets will be modified or spoofed during the transmission. • Phishing and capturing login credentials and other useful info of user are quite common and Man in a Middle attack will be common.
  • 18. A Mail Servers: Email servers can be used for sending & receiving emails. Different software allows email handling. B File Servers: They are the centralized location for the files. For example, cloud services for Microsoft Office and Google docs will be accessed from your devices, and files that you save from the computer will be accessed from your phone. In this way, file stores will be centralized and accessed by multiple clients.
  • 19. EXPLAIN THE CLIENT-SIDE OF WWW ARCHITECTURE. Processing taking place on the users computer: • On client-side it generally refers to the device through which the user is accessing the internet. • A browser is needed to execute the scripts on the machine i.e. any file with an extension like .js or .html requires a browser to run. • Reduces load on the server processing unit. For example, CDNs are distributed networks comprised of strategically placed edge servers that enable the rapid delivery of web content to users across the world. • A CDN can reduce your server load and speed up your website by caching your site's static content.
  • 20. • Web server is a program or the computer that provide services to other programs called client. • The Web server accepts, approve and respond to the request made by the web browser for a web document or services. • The web server gets HTTP requests and send HTTP responses. Web Server Web Browser • There exist three types of processing models for web server i.e Process-based, Thread based and Hybrid. • Web servers provide an area to store and organize the pages of the website. • Example: Apache, Nginx, IIS etc. • Web Browser is an Application program that displays a World wide web document. It usually uses the internet service to access the document. • The Web browser requests the server for the web documents and services. • The web browser sends an HTTP request and gets an HTTP response. • Doesn’t exist any processing model for the web browser. • Web browser stores the cookies for different websites. • Example: Crome, Brave, MS Edge etc.
  • 21. • https://www.techtarget.com/whatis/definition/Web-server • https://eduladder.com/viewquestions/975/Explain-Web-servers- operation-and- general-server-characteristics • https://www.tutorialspoint.com/internet_technologies/web_servers.htm • https://intellipaat.com/blog/what-is-client-server- architecture/#:~:text=Client%20server%20architecture%20is%20a,are%20deliver ed%20over%20a%20network. • http://web.cs.wpi.edu/~kal/courses/awt/lab6/wwwch11servlets.PDF • https://digitalthinkerhelp.com/what-is-web-server-definition-types-examples- working-uses/ • https://www.postposmo.com/en/characteristics-of-a-web- server/#Caracteristicas_de_un_servidor_web_Software • https://cs.uwaterloo.ca/~m2nagapp/courses/CS446/1195/Arch_Design_Activity/C lientServer.pdf • https://www.thecrazyprogrammer.com/2021/03/client-server-architecture.html • https://www.ques10.com/p/10217/explain-the-need-of-web-server-how-is-it- adminis-2/ • https://www.geeksforgeeks.org/difference-between-web-browser-and-web- server/

Notas do Editor

  1. A web server is computer software and underlying hardware that accepts requests via HTTP (the network protocol created to distribute web content) or its secure variant HTTPS. A user agent, commonly a web browser or web crawler, initiates communication by making a request for a web page or other resource using HTTP, and the server responds with the content of that resource or an error message. A web server can also accept and store resources sent from the user agent if configured to do so.