200 likes | 388 Views
Towards a Bell-Curve Calculus and its Application to e-Science. Lin Yang Supervised by Alan Bundy, Dave Berry, Sophie Huczynska and Conrad Hughes. Content. Background Workflow QoS properties Interval arithmetic Experimental environment Bell-Curve calculus Importance Definition
E N D
Towards a Bell-Curve Calculus and its Application to e-Science Lin Yang Supervised by Alan Bundy, Dave Berry, Sophie Huczynska and Conrad Hughes
Content • Background • Workflow • QoS properties • Interval arithmetic • Experimental environment • Bell-Curve calculus • Importance • Definition • Methodology • Discussion
Background (1) -- workflow • What is workflow? • Web services • The orchestration of web services • An automation of a web process • Pass documents, information or data from one web service to another for action • Grid service = web service implementing Grid functionality
Background (2) -- workflow An example of workflow: Query information • Ticket booking system • Four services (generally sequential, partially parallel) Query Ticket information Ticket information Check_available1 Check_available2 Booking information1 Booking information2 Deal_made Deal information
Background (3) – quality of service properties • Why QoS properties? • Describe/evaluate the quality of a Grid/web service • Which QoS properties? • Run time, reliability and accuracy
Background (4) – interval arithmetic • Error bound: an interval that represents the possible values of the result e.g. 42 [41, 43] • Propagation: extension of numerical analysis e.g. unary and monotonically increasing: f*([x, y]) = [f(x), f(y)] • A worse-case analysis: the biggest accumulated error
Background (5) – experimental environment • Agrajag • Developed by Conrad Hughes for Dependability Infrastructure for Grid Services (DIGS) project • Define classic distribution functions, operations and numeric approximation of function combinations • http://sourceforge.net/projects/digs
Bell-Curve calculus (1) -- importance • Why Bell-Curve • An average case analysis: likely or unlikely • Bell-Curve = Normal Distribution • Easy to store and propagate • To deal with complex workflows efficiently • Commonly occurs in the real world
Bell-Curve calculus (2) -- importance • Evidence • Experimental evidence from DIGS: A possible approximation to probabilistic behaviour of run time, accuracy and reliability (mean time to failure) • Central Limit Theorem “The distribution of an average tends to be Normal, even when the distribution from which the average is computed is decidedly non-Normal.” • May extend calculus to more complicated curves in due course
Bell-Curve calculus (3) -- definition • Normal Distribution (Bell-curve)
Bell-Curve calculus (4) -- definition • Three QoS properties: • Run time, accuracy and reliability • Four ways of combining Grid services: • Sequential • Parallel_All • Parallel_First • Conditional • So 12 fundamental combinations
combination FCFS detection fail succeed succeed Bell-Curve calculus (5) – combination methods • Sequential • Parallel_All • Parallel_First • Conditional
Bell-Curve calculus (6) – basic combination functions • 12 bell-curve simple situations
Bell-Curve calculus (7) – proposed work • Our proposed work: • For each 12 functions, find function for and in terms of , , and • Induce the 24 functions • By experiment using Agrajag • Find other suitable calculi to describe the combination functions
Bell-Curve calculus (10) -- methodology • isthe bell-curve approximation of the combination curve • experimental tasks: • find functions to calculate and • e.g. for sequential/run time: • , • experiment with functions for and • determine ranges of acceptable error • plot 3D graph ( vs. vs. error)
Discussion (1) • A better representation of probabilistic behaviour of QoS properties? e.g. log-normal calculus • More QoS properties? e.g. failure detection time run run service down failure detection system suspect confirm time failure detection time
Discussion (2) f.d.t.: An instantiation of run time • More combination situations? e.g. voting voting service
The end Any questions?