net and java based system performance monitor for the web

21
.NET And Java Based System Performance Monitor for the Web Capstone Group #2 CSCI6838:Research Project And Seminar Fall 2005

Upload: rue

Post on 20-Feb-2016

24 views

Category:

Documents


2 download

DESCRIPTION

.NET And Java Based System Performance Monitor for the Web. Capstone Group #2 CSCI6838:Research Project And Seminar Fall 2005. Team Members Romeo Chua (Lead) [email protected] Aaron McDowell [email protected] Syed Umair [email protected] Amber Patel [email protected]. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: NET And Java Based System Performance Monitor for the Web

.NET And Java Based System PerformanceMonitor for the Web

Capstone Group #2CSCI6838:Research Project And SeminarFall 2005

Page 2: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 2

Team Information Team Members

Romeo Chua (Lead)[email protected]

Aaron McDowell [email protected]

Syed [email protected]

Amber [email protected]

Mentor Girish Bajaj

Software EngineerTietronix Software, Inc.

Instructor Dr. Kwok Bun Yue

Associate Professor of Computer Science - UHCL

Page 3: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 3

Contents Project Overview Project Requirements Technical Requirement Prototype Development System Design System Architecture Team Roles Project Schedule Progress Report Bibliography

Page 4: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 4

Project Overview Develop a web-based performance

monitoring/gathering tool Current tools for monitoring

OS level : Task Manager (taskman) and Performance Monitor (perfmon) built-in Windows utilities

Commercial applications for monitoring Require physical presence at application site

Page 5: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 5

Project Requirements …(1/2) Performance Monitoring

Process information Memory information Processor utilization Network utilization SQL Server database metrics Other metrics

Page 6: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 6

Project Requirements … (2/2)

Performance Analyzer Simple performance analyzer that will

display aggregates of required metrics after processing data gathered.

Graphical User Interface Setup page to select required

performance terms to profile Display page to show all gathered

metrics and aggregates

Page 7: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 7

Technical Requirements

Technologies .NET Framework 1.1 (C#) Java-Com Bridge (Jawin OSS) Java Web Applications programming (Java

Struts and JBoss)

Page 8: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 8

Prototype Development Prototypes using

C# using .NET Win32 API

Results of prototype  Memory Usage CPU Usage Runtime

Prototype Private Bytes

Peak Private Bytes

Working Set

Peak Working

SetPriority Kernel

TimeUser Time Avg

Win32 10,008K 10,280K 11,996K 12,124K 8 0.53 sec

0.18 sec 10ms

.NET using C# 13,024K 13,172K 15,004K 15,072K 8 .40 sec 0.35

sec 10ms

Development Environment to useSelected for programming

Page 9: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 9

System Design …(1/7)

TieMon DLL Overview .NET Framework (C#)

Uses System.Diagnostics namespace to get performance data

Multi-threaded DLL implementation Uses XML for information exchange with

Java

Page 10: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 10

System Design …(2/7)

TieMon DLL Overview … Jawin – Java/Win32 or .NET

Interoperability Simplifies Java calls to Windows DLLs Uses Windows Dynamic Link Library to

create Java source code

Page 11: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 11

System Design …(3/7) TieMon DLL Design

Uses a Singleton design pattern Will provide a list of available performance

counters in the system for the WebApp, to the user

WebApp will provide XML data of counters to monitor from a file provided by the user, as well as time to run and measurement intervals

Parses XML data and checks for errors. Supports aliases for usability.

Provides a ‘Cancel’ method to stop monitoring Writes raw performance monitor data into the

local file system

Page 12: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 12

System Design …(4/7)

TieMon Web Application Overview Java Struts and JBoss Web Application

Server Uses the TieMon DLL to access system

performance counters No Multi-user support

Page 13: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 13

System Design …(5/7) TieMon WebApp interface design

Allows users to download available performance counters

Allows users to upload selected performance counters

Both files in XML format

Page 14: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 14

System Design …(6/7) TieMon WebApp interface design

Allows users to configure the duration and frequency of the monitoring process.

Page 15: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 15

System Design …(7/7) TieMon WebApp interface design

Displays the results to user

Page 16: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 16

System Architecture

Server Machine – Windows 2003 Server OS

Client Machine

Fire

wa

ll

Web Brower

TieMon DLL (C#)

JBoss Web App Server

TheInternet

TieMon Web Application (Java Struts)

MS .Net Framework 1.1

Inter Process CommunicationFile Access

Ethernet NetworkFile System

Page 17: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 17

Team Roles Romeo Chua

Team Leader, Java and .NET Development

Aaron McDowell Java Web Applications Programming Requirements Development

Amber Patel Java and .NET Development Research

Syed Umair Win32, Java and .NET Development Research

Page 18: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 18

Progress Report Research

Task Manager info available from .NET Size limit of strings that can be passed from Java

to .NET using Jawin Alternative to sleep system call which causes

context switching Coding

PC for testing/deployment is ready. Most needed S/W installed. Needs JBoss WebApp server.

Requirements have been solidified (though still being updated)

TieMon DLL and WebApp development has started

Page 19: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 19

Project Schedule

Page 20: NET And Java Based System Performance Monitor for the Web

Casptone Group #2 - Fall 2005 20

Bibliography .NET Framework

System.Diagnostics Namespace http://msdn.microsoft.com/library/default.as

p?url=/library/en-us/cpref/html/frlrfsystemdiagnostics.asp

Jawin OSS Project Home

http://jawinproject.sourceforge.net/ In-process interoperability with .NET

http://jawinproject.sourceforge.net/jawin.html#callingNET

Page 21: NET And Java Based System Performance Monitor for the Web

Thank you

Questions ??