Processes The most important processes used in Web-based systems and their internal organization.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 4: Web Browsing.
Lesson 4: Web Browsing.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
Layer 7- Application Layer
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
Application Layer. Applications A program or group of programs designed for end users. A program or group of programs designed for end users. Software.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
Lecture#2 on Internet and World Wide Web. Internet Applications Electronic Mail ( ) Electronic Mail ( ) Domain mail server collects incoming mail.
Postacademic Interuniversity Course in Information Technology – Module C1p1 Contents Data Communications Applications –File & print serving –Mail –Domain.
Internet, intranet, and multimedia database processing l Database processing across local and wide area networks l Alternative architectures for distributing.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Apache Web Server Architecture Chaitanya Kulkarni MSCS rd April /23/20081Apache Web Server Architecture.
By Ruizhe Ma, Avinash Madineni Sidoine Lafleur Kamgang Nov,
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
Web Services. Web Service: Simple definition : “ Service Offered On the Web “ Technically : “ A Web Service is a programmable application component that.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
From infra admin's point of view
4.01 How Web Pages Work.
BUILD SECURE PRODUCTS AND SERVICES
4.01 How Web Pages Work.
Presentation on Distributed Web Based Systems Submitted by WWW
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
WWW and HTTP King Fahd University of Petroleum & Minerals
Technologies and Applications
Improving searches through community clustering of information
Web Development Web Servers.
Lesson 4: Web Browsing.
Warm Handshake with Websites, Servers and Web Servers:
Browsing and Searching the Web
E-commerce | WWW World Wide Web - Concepts
Server Concepts Dr. Charles W. Kann.
E-commerce | WWW World Wide Web - Concepts
Distributed web based systems
PHP / MySQL Introduction
#01 Client/Server Computing
Tutorial (4): HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
MSIS 655 Advanced Business Applications Programming
Computer Communication & Networks
Application layer Lecture 7.
Section 14.1 Section 14.2 Identify the technical needs of a Web server
Lecture 1: Multi-tier Architecture Overview
Configuring Internet-related services
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
Web Page Concept and Design :
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
HyperText Transfer Protocol
Lesson 4: Web Browsing.
APACHE WEB SERVER.
4.01 How Web Pages Work.
Web Servers (IIS and Apache)
The Internet and Electronic mail
Web Programming : Building Internet Applications Chris Bates CSE :
#01 Client/Server Computing
Presentation transcript:

Processes The most important processes used in Web-based systems and their internal organization.

Contents Clients The Apache Web Server Web Server Clusters

Clients The most important Web client is a piece of software called Web Browser. A browser typically provides an interface by which hyperlinks are displayed easily.

The logical components of a Web browser WB - perform INDEPENDENTLY Core Process – Browser Engine and Rendering Engine Latter contains – code Properly Displaying Documents RENDERING – requires HTML parsing or XML, but also require script interpretation In most cases, there is only an interpreter for the java script. Browser Engine provides – MECHANISM – for an end user to go over the document, select the required text and go over the hyperlinks.

Requirements of a browser Browser must be easily extendable – support server returned document. Plug-ins MIME PLUGINS – prog dramatically loaded into the browser – handling specific document type. - locally available – standard interface Multipurpose Internet Mail Extensions (MIME) is other than ASCII

Using a Web proxy when the browser does not speak FTP web proxy to unblock sites, anonymous browsing for anonymous surfing Handle application level protocols other than HTTP. Transfer a file from FTP server -> issue HTTP request to FTP proxy (which will fetch the file) -> return it embedded as HTTP

Web Proxys – Supporting variety of protocols Configuring filtering requests and responses Logging Compression Caching – Squid Bringing close to an application level firewall. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages

The Apache Web Server Apache Web Server - mostly popular Web server. Highly Configurable Extensible Largely Independent of platforms Runtime Environment : Apache Portable Runtime (APR) File handling Networking Locking threads Portability 70% Platform Independent Interface

The general organization of the Apache Web server HTTP is virtually always implemented on top of TCP -- for which reason the core of Apache assumes that all incoming requests adhere to a TCP-based connection oriented way of communication. few assumptions – how incoming requests should be handled Fundamental concept – hook –placeholder for specific group of functions Assumes – number of phases – each phase – few hooks – hook - a group of similar actions that need to be executed as part of processing a request.

The general organization of the Apache Web server EG: translate a URL to a local file name - need to be done when processing a request functions associated with a hook are all provided by separate modules. - a hook for writing information to a log, a hook for checking a client's identification, a hook for checking access rights, and a hook for checking which MIME

The general organization of the Apache Web server more common to write modules containing the functions that need to be called as part of processing - hook can contain a set of functions A module developer will write functions for specific hooks. When compiling Apache, the developer specifies which function should be added to which hook. the various links between functions and hooks. there may be tens of modules, each hook will generally contain several functions. Normally. modules are considered to be mutual independent

Web Server Clusters

The principle of using a server cluster in combination with a front end to implement a Web service important problem - Web server can easily become overloaded. A practical solution employed in many designs is to simply replicate a server on a cluster of servers and use a separate mechanism, such as a front end, to redirect client requests to one of the replicas.

A scalable content-aware cluster of Web servers It is a solution to the Transport-layer switching web server cluster type The dispatcher is responsible for deciding to which server a TCP connection should be handed off The switch is used to forward TCP messages to a distributor When client first contacts the Web service, its TCP connection setup message is forwarded to a distributor, in turn contacts the dispatcher to let it decide to which server the connection should behanded off. the switch is notified that it should send all further TCP messages for that connection to the selected server The different ways of organizing Web clusters and alternatives like the ones we discussed above

Referances Grosskurth, Alan, and Michael W. Godfrey. "A Reference Architecture for Web Browsers." Lynx 1.2.0: 2-4. Luotonen, Ari, and Kevin Altis. "World-wide web proxies." Computer Networks and ISDN systems 27.2 (1994): 147-154. Ben Laurie, Peter Laurie,”Apache: The definitive Guide.” Vital info for Apache programmers(2002)

Thank You