CS526 - Advanced Internet & Web Systems May 11, 2009 Nathan Archer.

Slides:



Advertisements
Similar presentations
Cultural Heritage in REGional NETworks REGNET Project Meeting Content Group
Advertisements

Service Manager for MSPs
Getting Set-up with Hosting and WordPress Gregory Young Alternative Hosting
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
20-753: Fundamentals of Web Programming 1 Lecture 11: Web Server Case Study Fundamentals of Web Programming Lecture 11: Web Server Case Study.
Nada Abdulla Ahmed.  SmoothWall Express is an open source firewall distribution based on the GNU/Linux operating system. Designed for ease of use, SmoothWall.
Building Your Own Firewall Chapter 10. Learning Objectives List and define the two categories of firewalls Explain why desktop firewalls are used Explain.
Red Hat Linux Network. Red Hat Network Red Hat Network is the environment for system- level support and management of Red Hat Linux networks. Red Hat.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Analysis and Performance Information Systems 337 Prof. Harry Plantinga.
Kerim KORKMAZ A. Tolga KILINÇ H. Özgür BATUR Berkan KURTOĞLU.
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Electronic Commerce Last Week Internet utility programs
1 Enabling Secure Internet Access with ISA Server.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Winter Consolidated Server Deployment Guide for Hosted Messaging and Collaboration version 3.5 Philippe Maurent Principal Consultant Microsoft.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
22-Aug-15 | 1 |1 | Help! I need more servers! What do I do? Scaling a PHP application.
IBIS System: Requirements and Components Lois M. Haggard Office of Public Health Assessment.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
1 Network Statistic and Monitoring System Wayne State University Division of Computing and Information Technology Information Technology.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring, Managing, and Troubleshooting Resource Access.
Securing Apache and PHP
Securing Microsoft® Exchange Server 2010
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
CIS 451: Servers, CGI and Log Files Dr. Ralph D. Westfall January, 2009.
1 John Magee 9 November 2012 CS120 Lecture 17a: Publishing Web pages.
Implementing ISA Server Publishing. Introduction What Are Web Publishing Rules? ISA Server uses Web publishing rules to make Web sites on protected networks.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Software Firewalls © N. Ganesan, Ph.D.. Module Objectives Explore the features of a software firewall such as Zone Alarm Pro.
Security Testing Case Study 360logica Software Testing Services.
Class02 Introduction to web development with PHP MIS 3501, Fall 2015 Brad N Greenwood Department of MIS Fox School of Business Temple University 8/27/2015.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
LOGO 2 nd Project Design for Library Programs Supervised By Dr: Mohammed Mikii.
Module 2: Installing and Maintaining ISA Server. Overview Installing ISA Server 2004 Choosing ISA Server Clients Installing and Configuring Firewall Clients.
The Filer Proj-354 Apr 29 th, 2010 Group members Henry Au Wayne Choi Jaewon Yoo
Computer Emergency Notification System (CENS)
Module 5: Configuring Internet Explorer and Supporting Applications.
Hands-On Microsoft Windows Server Implementing Microsoft Internet Information Services Microsoft Internet Information Services (IIS) –Software included.
Dynamic web content HTTP and HTML: Berners-Lee’s Basics.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Module 7: Advanced Application and Web Filtering.
Module 4: Design IIS Maintenance and UDDI. Designing Internet Information Services Backup and Recovery Specifying Monitoring requirements Deploying UDDI.
Module 10: Windows Firewall and Caching Fundamentals.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
WEB SERVER SOFTWARE FEATURE SETS
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
How Web Database Architectures Work CPS181s April 8, 2003.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
LOAD RUNNER. Product Training Load Runner 3 Examples of LoadRunner Performance Monitors Internet/Intranet Database server App servers Web servers Clients.
Class02 Introduction to web development concepts MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.
Web Development Web Servers.
Introduction to web development concepts
W3 Status Analyzer.
Securing the Network Perimeter with ISA 2004
Michael Mast Senior Architect
PHP / MySQL Introduction
IS3440 Linux Security Unit 9 Linux System Logging and Monitoring
Configuring Internet-related services
Moodle Scalability What is Scalability?
PHP and Forms.
E-commerce Infrastructure Web Servers / Web Clients / Web Browsers
Presentation transcript:

CS526 - Advanced Internet & Web Systems May 11, 2009 Nathan Archer

Background  Websites compete based on usability & responsiveness  Offline load tests may not present realistic traffic.  End-to-end response times may not provide sufficient troubleshooting information.

Scope  Confine research to LAMP server (Linux, Apache, MySQL, PHP)  Monitoring methods should be minimally- intrusive- something that could realistically be used on a production system.

Basic Web Performance Tests  A typical test:  Perform repeated “HTTP-GET” requests on a set of URLs & report measurements such as:  File transfer time & throughput rate  Connection time  Number of concurrent connections  Port-open time  Service-connection time  Limitations:  Real traffic is less homogenous (fewer cache hits in real life)  Little troubleshooting information (what caused the delay?)

Why use logs?  Already well-integrated with system (low overhead, low development cost)  Can provide more detail for troubleshooting than end-to-end response times.  Another purpose: logs can be analyzed to produce real-world profiles of user requests  Determine how users are really using the website-what content is most important?  Use data to create realistic traffic profiles for off-line load testing  Example tools: Analog, Webalyzer, etc. etc.

Drawbacks of Using Logging  Logging adds overhead, worsening the performance we are measuring  High-detail information may require some effort to customize scripts & search through log files

Potential Bottlenecks (1/2)  Network  Web server  CPU & RAM limitations  Caching scheme  Multi-threading configuration  Network interface  File system  Hard disk  SAN or Network File System

Potential Bottlenecks (2/2)  Application server  Scripting/programming technologies  Database  Security  SSL  Firewall

Apache Logging Features  Use mod_log_config module to log time for each request.  Add “%D” to the LogFormat directive to show time to serve the request (microsec.)  Example: LogFormat "%v %h %t \"%r\" %>s %b bytes in %d usec.“ common_format

Adding More Detail  Use CustomLog rule to filter on request:  To filter on only PHP requests:  SetEnvIf Request_URI "(\.php)$" php_request  CustomLog logs/imageAccess.log common env=php_request  To filter on everything but HTML files:  SetEnvIf Request_URI "(\.html|\.shtml)$" html_req  CustomLog logs/nonHTMLAccess.log common env=!html_req 

PHP Performance Logging  No PHP logging solution available without running a debugger.  However, we can customize PHP scripts to report run-time using microtime command.  Example timer class found at:  Call start() & stop() to run timer.  Add custom logging code in your own script.

MySQL Performance Logging  MySQL’s binary log keeps track of how long queries took.  To enable, invoke MySQL service with –log-bin=mylogfile option.  We can edit the config file to log the slowest queries- for example, those over 2 seconds:  [mysqld] log_slow_queries=/var/log/mysql_slow_query.log long_query_time=2 

Putting it all Together: A Proposed Monitoring Scheme  Web server components each publish logs on a shared network folder.  Every night, run a shell script to find the slowest requests for each server component from the logs.  If any Apache responses are > 2 sec., send an alerting the webmaster.

Questions?