<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-22T23:15:52Z</responseDate><request verb="GetRecord" identifier="oai:uwspace.uwaterloo.ca:10012/10834" metadataPrefix="dim">https://dspacemainprd01.lib.uwaterloo.ca/server/oai/request</request><GetRecord><record><header><identifier>oai:uwspace.uwaterloo.ca:10012/10834</identifier><datestamp>2025-03-26T23:38:46Z</datestamp><setSpec>com_10012_9900</setSpec><setSpec>com_10012_1</setSpec><setSpec>col_10012_9908</setSpec><setSpec>col_10012_6</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:doc="http://www.lyncode.com/xoai" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="advisor">Ward, Paul</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="author" authority="247b5808-8d91-4579-be44-7065c39d117b" confidence="600">Chakraborty, Tandra</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2016-09-09T20:06:15Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2016-09-09T20:06:15Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2016-09-09</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">2016-09-01</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">http://hdl.handle.net/10012/10834</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract" lang="en">Highly replicated cloud applications are deployed only when they are deemed to be func-&#xd;
tional. That is, they generally perform their task and their failure rate is relatively low.&#xd;
However, even though failure is rare, it does occur and is very difficult to diagnose. We&#xd;
devise a tool for failure diagnosis which learns the normal behaviour of an application in&#xd;
terms of the statistical properties of variables used throughout its execution, and then&#xd;
monitors it for deviation from these statistical properties. Our study reveals that many&#xd;
variables have unique statistical characteristics that amount to an invariant of the pro-&#xd;
gram. Therefore, any significant deviation from these characteristics reflects an abnormal&#xd;
behaviour of the application which may be caused by a program error.&#xd;
It is difficult to get the invariant from the application’s static code analysis alone. For&#xd;
example, the name of a person usually does not include a semicolon; however, an intruder&#xd;
may try to do a SQL injection (which will include a semicolon) through the ‘name’ field&#xd;
while entering his information and be successful if there is no checking for this case. This&#xd;
scenario can only be captured at runtime and may not be tested by the application de-&#xd;
veloper. The character range of the ‘name’ variable is one of its statistical properties; by&#xd;
learning this range from the execution of the application it is possible to detect the above&#xd;
described abnormal input. Hence, monitoring the statistics of values taken by the different&#xd;
variables of an application is an effective way to detect anomalies that can help to diagnose&#xd;
the failure of the application.&#xd;
We build a tool that collects frequent snapshots of the application’s heap and build a&#xd;
statistical model solely from the extensional knowledge of the application. The extensional&#xd;
knowledge is only obtainable from runtime data of the application without having any&#xd;
description or explanation of the application’s execution flow. The model characterizes&#xd;
the application’s normal behaviour. Collecting snapshots in form of memory dumps and determine the application’s behaviour model from them without code instrumentation&#xd;
make our tool applicable in cases where instrumentation is computationally expensive.&#xd;
Our approach allows a behaviour model to be automatically and efficiently built using&#xd;
the monitoring data alone. We evaluate the utility of our approach by applying it on&#xd;
an e-commerce application and online bidding system, and then derive different statisti-&#xd;
cal properties of variables from their runtime-exhibited values. Our experimental result&#xd;
demonstrates 96% accuracy in the generated statistical model with a maximum 1% per-&#xd;
formance overhead. This accuracy is measured at the basis of generating less false positive&#xd;
alerts when the application is running without any anomaly. The high accuracy and low&#xd;
performance overhead indicates that our tool can successfully determine the application’s&#xd;
normal behaviour without affecting the performance of the application and can be used to&#xd;
monitor it in production time. Moreover, our tool also correctly detected two anomalous&#xd;
condition while monitoring the application with a small amount of injected fault. In ad-&#xd;
dition to anomaly detection, our tool logs all the variables of the application that violates&#xd;
the learned model. The log file can help to diagnose any failure caused by the variables&#xd;
and gives our tool a source-code granularity in fault localization.</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en">en</dim:field>
   <dim:field mdschema="dc" element="publisher" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">Snapshot</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">Monitoring</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">Datacenters</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en">Replication</dim:field>
   <dim:field mdschema="dc" element="title" lang="en">Automated Extraction of Behaviour Model of Applications</dim:field>
   <dim:field mdschema="dc" element="type" lang="en">Master Thesis</dim:field>
   <dim:field mdschema="dc" element="pending">false</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="department" lang="en">Electrical and Computer Engineering</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="discipline" lang="en">Electrical and Computer Engineering</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="grantor" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="uws-etd" element="degree" lang="en">Master of Applied Science</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="advisor">Ward, Paul</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="affiliation1" lang="en">Faculty of Engineering</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="city" lang="en">Waterloo</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="country" lang="en">Canada</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="province" lang="en">Ontario</dim:field>
   <dim:field mdschema="uws" element="typeOfResource" lang="en">Text</dim:field>
   <dim:field mdschema="uws" element="peerReviewStatus" lang="en">Unreviewed</dim:field>
   <dim:field mdschema="uws" element="scholarLevel" lang="en">Graduate</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>