Scalability and planning for growth 1WUCM1. Content management issues Structural – Naming (e.g. file, URL) policy – File and directory naming needs: invent/design/borrow.

Slides:



Advertisements
Similar presentations
Enabling Secure Internet Access with ISA Server
Advertisements

IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
Amazon CloudFront An introductory discussion. What is Amazon CloudFront? 5/31/20122© e-Zest Solutions Ltd. Amazon CloudFront is a web service for content.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
1 Routing and Scheduling in Web Server Clusters. 2 Reference The State of the Art in Locally Distributed Web-server Systems Valeria Cardellini, Emiliano.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
1 A Comparison of Load Balancing Techniques for Scalable Web Servers Haakon Bryhni, University of Oslo Espen Klovning and Øivind Kure, Telenor Reserch.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
ArcGIS for Server Reference Implementations An ArcGIS Server’s architecture tour.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
Firewall Slides by John Rouda
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
Norman SecureSurf Protect your users when surfing the Internet.
N-Tier Architecture.
1 Chapter Overview Creating Sites and Subnets Configuring Intersite Replication Troubleshooting Active Directory Replication.
IT:Network:Applications Fall  Running one “machine” inside another “machine”  OS in Virtual machines sees ◦ CPU(s) ◦ Memory ◦ Disk ◦ USB ◦ etc.
Chapter 5 Roles and features. objectives Performing management tasks using the Server Manager console Understanding the Windows Server 2008 roles Understanding.
Server Load Balancing. Introduction Why is load balancing of servers needed? If there is only one web server responding to all the incoming HTTP requests.
1 3 Web Proxies Web Protocols and Practice. 2 Topics Web Protocols and Practice WEB PROXIES  Web Proxy Definition  Three of the Most Common Intermediaries.
14 Publishing a Web Site Section 14.1 Identify the technical needs of a Web server Evaluate Web hosts Compare and contrast internal and external Web hosting.
Zenon Mousmoulas Greek Research and Technology Network IPv6 Technologies & Advanced Services Athens, 19 October 2004 Supporting HTTP over IPv6 for production/legacy.
1 Chapter 6: Proxy Server in Internet and Intranet Designs Designs That Include Proxy Server Essential Proxy Server Design Concepts Data Protection in.
M i SMob i S Mob i Store - Mobile i nternet File Storage Platform Chetna Kaur.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
Designing Authentication for a Microsoft Windows 2000 Network Designing Authentication in a Microsoft Windows 2000 Network Designing Kerberos Authentication.
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
Apache Web Server. Aim of this section –Introduce you to workings of the most common webserver –Give you a little experience in role of webmaster Configuring.
1 Administering Shared Folders Understanding Shared Folders Planning Shared Folders Sharing Folders Combining Shared Folder Permissions and NTFS Permissions.
Module 6: Managing Client Access. Overview Implementing Client Access Servers Implementing Client Access Features Implementing Outlook Web Access Introduction.
Proxy Servers.
The Alternative Larry Moore. 5 Nodes and Variant Input File Sizes Hadoop Alternative.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
1 Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG X Cairo, Egypt May 2009 Hervey Allen.
DYNAMIC LOAD BALANCING ON WEB-SERVER SYSTEMS by Valeria Cardellini Michele Colajanni Philip S. Yu.
DotSlash – or how to deal with 15 minutes of fame Weibin Zhao Henning Schulzrinne Columbia University CATT/WICAT Annual Research Review November 14, 2003.
Apache Global Configuration Apache MPM (multi-processing modul) Common Directives.
Cloud Computing Computer Science Innovations, LLC.
Web Server (Apache httpd ) 1. 2 Apache Web Server A PAtCHy server: developed by the Apache group History- First.
More than one site? Use multiple configuration files Use multiple configuration files  httpd –d {path}  Assumes “conf/httpd.conf” Logging transactions.
Web Browsing *TAKE NOTES*. Millions of people browse the Web every day for research, shopping, job duties and entertainment. Installing a web browser.
1 Web Technologies Website Publishing/Going Live! Copyright © Texas Education Agency, All rights reserved.
Introduction to Group Policy Lesson 7. Group Policy Group Policy is a method of controlling settings across your network. – Group Policy consists of user.
Presented by Michael Rainey South Mississippi Linux Users Group
Web and Proxy Server.
Contents Software components All users in one location:
Understanding Solutions
Enabling Secure Internet Access with TMG
Affinity Depending on the application and client requirements of your Network Load Balancing cluster, you can be required to select an Affinity setting.
CONNECTING TO THE INTERNET
N-Tier Architecture.
Web Development Web Servers.
Unit 27: Network Operating Systems
Configuring Internet-related services
SAP R/3 Installation on WIN NT-ORACLE
Introduction to Group Policy
Securing web applications Externally
Presentation transcript:

Scalability and planning for growth 1WUCM1

Content management issues Structural – Naming (e.g. file, URL) policy – File and directory naming needs: invent/design/borrow a scheme easy means to implement the scheme a way to check whether the scheme is being adhered to a way to fix breaches of the scheme – Names are difficult to 'fix' at a later stage – Poor design will cause maintenance grief Content – Update policy when? by whom? WUCM12

Content update policy Without control, a large web system will quickly spawn: – inconsistencies (between A and B) – errors (A is wrong) – inaccessible data (A cannot be reached) – etc. Update strategies: – update on demand – regular update schedule – hybrid (on-demand with regular clean-up) Consider a content management tool WUCM13

Possible server organisation WUCM14

Apache configuration issues 1 Apache directives with performance implications: – KeepAlive number Keeps the connection open for maximum this number of accesses – avoids hogging – KeepAliveTimeout seconds Max time to wait for next request – MaxKeepAliveRequests number Max number to keep open at one time – HostNameLookups [on|off|double] ‘on’ put hostname in log instead of IP address – MaxClients number Limits number of requests handled at once by server – MaxRequestsPerChild number each child process of Apache handles this many requests and dies (to tidy up memory leaks) – ThreadsPerChild number only relevant Win32. Default 50, may need increase for many simultaneous hits. (Microsoft issue..) WUCM15

Apache configuration issues 2 Other Apache directives: – UseCanonicalName on/off/dns Relates to DNS names – FollowSymLinks an Option, can cause Apache to waste time checking through file structure - security risk – Logging of all kinds slows Apache down –.htaccess files add overhead (read on each request) – Large configuration files also slow Apache, so thinning here is a good idea WUCM16

General server configuration issues CGI programs influence the performance of the website: – Consider FastCGI or mod_perl to speed matters – Writing efficient code is always important Other tricks – Force popular files to be memory resident Operating system may do that for you – Force secure transfers to have more bandwidth WUCM17

Proxy server performance issues An Apache proxy can: – Cache for speed – Filter for security or decency Apache's proxy functionality is encapsulated in mod_proxy In order to use mod_proxy, use the directive – ProxyRequests on|off WUCM18

Proxy customisation To block particular sites from your clients: ProxyBlock baddomain.co.uk badword This will block the specific site, domain or any URL with names that contain ‘badword’ WUCM19

Hiding servers with a proxy Suppose there are two extra servers, parallel to the server Add the ProxyPass directive to the main server configuration file ProxyPass /users/ ProxyPass /secure/ This makes users.tech.port.ac.uk and secure.tech.port.ac.uk appears as directories on the main server, e.g. WUCM110

Still not enough performance? Two further possibilities to boost performance: – Replace the server hardware with a more powerful machine – Add more servers and distribute the load of client requests amongst them WUCM111

Benefits of multiple servers Server machines can be cheaper and easily replaceable Individual servers can fall over without the website becoming unavailable Increase capacity by adding another server and synchronising the data No need to alter or reconfigure any of the existing servers WUCM112

Clustering 1 Cannot just add an extra servers – Each would need different IP addresses Set of servers needs to be established as a cluster so that: – For external clients it should appear as one big fast server with one domain name – Clients should not be aware that the load is being shared by a cluster of servers – Content on the multiple servers must be synchronised WUCM113

Clustering 2 Two basic ways of approaching clustering: 1.DNS load sharing 2.Web server clustering WUCM114

DNS load sharing Most common approach is Round-Robin DNS distribution It works by specifying multiple IP addresses for the same host name (using a BIND syntax) WUCM IN A IN A IN A

DNS load sharing WUCM116 [Source: O’Reilly Books]

Round-Robin DNS sharing 1 Each DNS request for returns the next IP in sequence Set a short time-to-live (TTL) – the 60 seconds A lower TTL would – Improve web server load sharing – But increase the load on DNS server Attraction of round-robin DNS is its simplicity WUCM117

Round-Robin DNS sharing 2 Not true load balancing, only load sharing The round-robin takes no account of: – which servers are loaded – which are free – which are actually up and running Round-robin DNS makes keeping state for a user more difficult – A user may get a different server from last time WUCM118

Hardware load balancing Needs a specialist piece of software to redirect requests For example: – LocalDirector and DistributedDirector were products from Cisco ( – These will rewrite IP headers to redirect a connection to a local server WUCM119

Clustering with Apache 1 Apache provides way to cluster servers using the features of mod_rewrite and mod_proxy together This avoids the DNS caching problems and the cost of hardware solutions Need a machine as a proxy server, handling requests to several back-end servers on which the website is actually loaded WUCM120

Clustering with Apache 2 E.g. the proxy takes the master name and the backend servers might be www1 to www6 Wainwright (1999) sets out a method of setting up Apache using two parts: – Use mod_rewrite to randomly select a back-end server for the client request – Use mod_proxy’s ProxyPassReverse directive to disguise the URL of the back-end server WUCM121

Summary Configuration issues for scalability and performance Proxy Servers – filter and cache DNS (round robin) clustering Hardware clustering Proxy based clustering WUCM122