awps - an architecture for pro-active web performance

47
AWPS - an architecture for pro-active web AWPS an architecture for pro active web performance management Univ.-Prof. Dr. Gabriele Kotsis ([email protected]) Martin Pinzger (Mpinzger@gmail com) Martin Pinzger (Mpinzger@gmail.com) Department of Telecooperation Johannes Kepler University Linz Austria Johannes Kepler University Linz Austria

Upload: others

Post on 21-Oct-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AWPS - an architecture for pro-active web performance

AWPS - an architecture for pro-active webAWPS an architecture for pro active webperformance management

Univ.-Prof. Dr. Gabriele Kotsis ([email protected])Martin Pinzger (Mpinzger@gmail com)Martin Pinzger ([email protected])

Department of TelecooperationJohannes Kepler University Linz AustriaJohannes Kepler University Linz Austria

Page 2: AWPS - an architecture for pro-active web performance

Motivation

user

user perceived performance(delay, response time)

requests

Performance = F ( Workload, System)

What is the effect on performance ifworkload is subject to change?

What is the effect on performance if thesystem is subject to change? (consideralso interdependencies with changes in

system performance

also interdependencies with changes in the workload)

How to design the system to deliver a (utilisation, throughput) How to design the system to deliver a certain performance for a given workload?

Page 3: AWPS - an architecture for pro-active web performance

Approaches

Performance Measurements– On real world systems– On artificial systemsy– Example: DynaTrace (JKU Spin Off)

•Measurement and analysis tools for web server•Measurement and analysis tools for web serverperformance based on the conceptofexecution pathsofexecution paths

Performance Modelling– Off line versus online

Page 4: AWPS - an architecture for pro-active web performance

Automated Web Performance System

AWPS Concept

AWPS Environment Interaction

Case Study

Conclusion

Page 5: AWPS - an architecture for pro-active web performance

AWPS Concept

Key Characteristics Three Key Functions– Automatic– Online / „Realtime“

– Data Collection– Simulation

– Pro-active – Prediction

Page 6: AWPS - an architecture for pro-active web performance

Data Collection - Monitoring

Page 7: AWPS - an architecture for pro-active web performance

AWPS Concept - Simulation Component

Model Generation Component– Minimum complexity simulation model– Maximum complexity simulation modelp y

Model Comparison ComponentModel Adjustment ComponentModel Adjustment Component

– AVG Strategy, Median Strategy, ARMA StrategyModel Simulation Component

– JSIM

Page 8: AWPS - an architecture for pro-active web performance

Modeling / Simulation Task

Generation Generation Adaption

AdjustmentExecution

Comparison Loop

Page 9: AWPS - an architecture for pro-active web performance

AWPS Concept - Simulation Component Model Generation Component - ExampleModel Generation Component - Example

• TotalSystemTime = GlobalOut - GlobalIn• WebServerTimeA = AppServerIn - GlobalIn• WebServerTimeA = AppServerIn - GlobalIn• AppServerTime = AppServerOut - AppServerIn• WebServerTimeB = GlobalOut - AppServerOut• WebServerTime = WebServerTimeA +WebServerTimeB

Page 10: AWPS - an architecture for pro-active web performance

Modeling / Simulation Component

Page 11: AWPS - an architecture for pro-active web performance

Prediction Component

Page 12: AWPS - an architecture for pro-active web performance

Management Task

Page 13: AWPS - an architecture for pro-active web performance

AWPS Environment Interaction

System Setup– Passive Monitoring Strategy (Network Sniffing)

– A Multi Class / Single Queue / Multi Server Model g Qis created automatically

User InteractionUser Interaction– Main Configuration Site

R lt P t ti Sit– Result Presentation Site– Online Observation Site

Influence on the Productive System - Minor

Page 14: AWPS - an architecture for pro-active web performance
Page 15: AWPS - an architecture for pro-active web performance
Page 16: AWPS - an architecture for pro-active web performance
Page 17: AWPS - an architecture for pro-active web performance
Page 18: AWPS - an architecture for pro-active web performance
Page 19: AWPS - an architecture for pro-active web performance
Page 20: AWPS - an architecture for pro-active web performance

Analysed System Categories

Feasibility of the Approach– Synthetic System Offline

e.g. strictly increasing, constant, complex function

Real-time FeasibilityReal-time Feasibility– Synthetic System Online

e.g. by control invoice concerning calculation time consumption

Representative Test– Productive System Offline

TK-WebSite offline analysis (normal load / synthetic load), GoSpace offline analysis (synthetic load)

Representative Realtime TestRepresentative Realtime Test– Productive System Online / Field Test

Page 21: AWPS - an architecture for pro-active web performance

Case Study

The case study was done on a two tier web li ti hi h id f ti lit b application, which provides as functionality a web

page where you can search and book space flights.

TotalSystemTime = GlobalOut - GlobalInWebServerTime = AppServerIn - GlobalInppAppServerTime = GlobalOut - AppServerIn

Page 22: AWPS - an architecture for pro-active web performance

Case Study – Results - Overview

Analysis of difference between simulation and f d treference data

– T-Test– Mean Error / Variation

Correlation between accuracy and simulation runsCorrelation between accuracy and simulation runs– Step Size 1000 (Median, AVG, ARMA, ARMA G.)– Step Size 100 (Median, AVG, ARMA)

Realtime / Online CapabilityRealtime / Online Capability

Page 23: AWPS - an architecture for pro-active web performance

Case Study – Results – T-Test

Significant difference between simulation and reference data. The value in the brackets represents the double sided t-Test value.

Page 24: AWPS - an architecture for pro-active web performance

Case Study – Results – Observed Error

Mean values and Variance values in seconds referring to the delta error, for the special offers (do?action=special) request class.

Page 25: AWPS - an architecture for pro-active web performance

Case Study – Results – Observed ErrorCorrelation to the Simulation RunsCorrelation to the Simulation Runs

Page 26: AWPS - an architecture for pro-active web performance

Case Study – Results – Observed ErrorCorrelation to the Simulation RunsCorrelation to the Simulation Runs

The Visualization of ARMA G. was skipped because of the high fluctuation.high fluctuation.

Page 27: AWPS - an architecture for pro-active web performance

Case Study – Results – Percentile 0,99

Page 28: AWPS - an architecture for pro-active web performance

Case Study – Results – Realtime

Calculation time consumption. Values below 3600 sec. mean that the adjustment method is online-capable.

Page 29: AWPS - an architecture for pro-active web performance

Conclusion

AWPS works as expected and provides t ti ltrepresentative results

simulation model generation process works autonomously and is sufficiently fault-tolerant

strategies for the adjustment of the simulation g jmodel work accurately

functionality should be enhanced e.g. adaptive scenario generationgeneration

additional case studies e.g. productive system under high (real) load

Page 30: AWPS - an architecture for pro-active web performance

The Team

Head of Department– Univ.Prof. Dr. Gabriele Kotsis

Research and Teaching Assistants Research and Teaching Assistants– Dipl.Ing Kerstin Altmanninger– Dipl.Ing. Sabine Bachmayer– Dr. Ismail Khalil Ibrahim– Dr. Wieland Schwinger

Project Researchers and PhD Students– Stefan Mitsch

Martin Pinzger– Martin Pinzger– Wolfgang Pointner– Martin Wischenbart– Elena Zanzani

Secretary– Angela Kohl

Technical SupportFabian Mergl– Fabian Mergl

Page 31: AWPS - an architecture for pro-active web performance

Overview of Research

DistributedDistributed & & Mobile Mobile ComputingComputing

Media & Media & InteractionInteraction

coordinationcoordination

cooperationcooperation

customizationcustomization

agentagent--based computingbased computing intelligent systemsintelligent systems

mobile communicationmobile communication internet computinginternet computing

grid computinggrid computing

Mobile Mobile ComputingComputing InteractionInteraction

mobile information managementmobile information management

interactioninteraction multimediamultimedia

personalizationpersonalization nonnon--standard HCIstandard HCI

mobile computingmobile computing

mobile multimediamobile multimedia

ubiquitous web applicationsubiquitous web applications

sensor networkssensor networks

wirelesswireless networksnetworks TKTKTKTKmobile information managementmobile information management

conceptual modelingconceptual modeling

performance evaluationperformance evaluation

simulationsimulation

modelmodel drivendriven engineeringengineering

ubiquitous web applicationsubiquitous web applications

semantic modelingsemantic modeling

conceptual modelingconceptual modeling simulationsimulation

usabilityusability

ModellingModelling & & ModellingModelling & & EvaluationEvaluation

Page 32: AWPS - an architecture for pro-active web performance

Ubiquitous Communication Management -HERMESVision: support users’ communication needsHERMES

– Gain knowledge of users’ communication needs, recognize behavior patterns and learn

– Provide appropriate communication tool support based on precedent data mining and pp p gresultant knowledge

– Execute appropriate communication-related Execute appropriate communication related actions

Page 33: AWPS - an architecture for pro-active web performance

HERMES Architecture Overview Operation starts with Sensors Operation starts with Sensors

– Specialized data mining components

– Responsible for gathering data of interest for any communication interest for any communication management-related task

– Receive new data and publish this to all other components via events

– Published events are routed to Published events are routed to interested recipients, usually Rule Bases

Rule Bases are regarded as brains Rule Bases are regarded as brains – Represent key idea of a ubiquitous

communication management system: ability to learn from previous experience in the domain previous experience in the domain of communications

– Supposed to analyze data contained in events and take appropriate communication-related actions

Page 34: AWPS - an architecture for pro-active web performance

HERMES Architecture Overview Possibilities to interact with Possibilities to interact with

environment– Send Inputs/Outputs to IO Services– Send actions to Tool Services

Inputs/Outputs wrap actual values– Generic approach enables to switch

between Input/Output methods and to develop further methods for different devicesdevices

– Numerous predefined Inputs/Outputs to use out of the box

Actions are communication-related Actions are communication related intents

– Usually passed from Rule Bases to Tools– Series of predefined Actions

Tools are responsible for executing received communication-related Actions

– May forward Actions to existing communication tools and interact with thosethose

Page 35: AWPS - an architecture for pro-active web performance

HERMES Architecture Overview Knowledge of users’ Knowledge of users

communication needs supposed to be persistent in embedded database

Communication between framework-based applications

d b XMPP powered by XMPP communication platform– Primarily intended for

simultaneous knowledge simultaneous knowledge replication

Framework’s structure enables framework-based applications to run in distributed heterogeneous networks at the same timenetworks at the same time

Page 36: AWPS - an architecture for pro-active web performance

Collaborative Streaming Media

Page 37: AWPS - an architecture for pro-active web performance

Collaborative Streaming Architecture

Page 38: AWPS - an architecture for pro-active web performance

Thank you for your attention!

Page 39: AWPS - an architecture for pro-active web performance

Case Study 1/5Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Case Study Setup– Test – Web – Sites – Use of Recorded Data

Page 40: AWPS - an architecture for pro-active web performance

Case Study 2/5Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Executed Case Studys– 1 Minute1 Minute

• Constant Response Time (ARMA, AVG, Binary)

• Sawtooth Response Time (ARMA, AVG, Binary)

• Strictly Increasing Response Time (ARMA, AVG, Binary)– 15 Minutes

Constant Response Time (ARMA AVG ARMA G Binary)• Constant Response Time (ARMA, AVG, ARMA G., Binary)

• Sawtooth Response Time (ARMA, ARMA G., AVG, Binary)

• Strictly Increasing Response Time (ARMA G., AVG, ARMA, Binary)y g p ( , , , y)– 60 Minutes

• Constant Response Time (ARMA, AVG, ARMA G., Binary)

G • Sawtooth Response Time (ARMA G., AVG, ARMA, Binary)

• Strictly Increasing Response Time (ARMA G., Binary, AVG, ARMA)

Page 41: AWPS - an architecture for pro-active web performance

Case Study 3/5 15 Minutes Sawtooth 1/3Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Page 42: AWPS - an architecture for pro-active web performance

Case Study 3/5 15 Minutes Sawtooth 2/3 Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Page 43: AWPS - an architecture for pro-active web performance

Case Study 3/5 15 Minutes Sawtooth 3/3 Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Page 44: AWPS - an architecture for pro-active web performance

Case Study 4/5 60 Minutes Sawtooth 1/3 Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Page 45: AWPS - an architecture for pro-active web performance

Case Study 4/5 60 Minutes Sawtooth 2/3 Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Page 46: AWPS - an architecture for pro-active web performance

Case Study 4/5 60 Minutes Sawtooth 3/3 Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Page 47: AWPS - an architecture for pro-active web performance

Case Study 5/5Automatic Simulation Model Parameter AdjustmentAutomatic Simulation Model Parameter Adjustment

Which approach performs best for varying sample i ?size?– 1 Minute

• (1) ARMA; (2) AVG(1) ARMA; (2) AVG

– 15 Minutes• (1) ARMA and ARMA G.; (2) AVG

60 Minutes– 60 Minutes• (1) AVG; (2) ARMA G.

– Global Ranking• ARMA G. (1,500)• AVG (1,555)( , )• ARMA (1,666)• Binary (3,111)