DOC PREVIEW
USC CSCI 599 - Week8_c2

This preview shows page 1-2-3-4-5-6 out of 19 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Matching PatternsEvaluationRationale for chosen ExpressivenessSimulation Studies ( to assess scalability )Application Behavior1.Total CostObservationsComparison of total costs below saturation point2.Cost per service requestObservations3.Cost per subscription and per NotificationHow‘hs’ and ‘as’ forwards subscriptions4. Worst-case Per-site CostSummarySIENA PrototypeComparing Siena with other related technologiesSubscription LanguagesRelated TechnologiesConclusionMatching PatternsServers assemble sequences of notifications from smaller subsequences or from single notifications.This technique requires an advertisement based semantics. •Pattern Factoring Subscription factored into elementary components. Output of factoring process is always a sequence.•Pattern DelegationServer sends out necessary subscriptions to collect the required Subpatterns and uses a monitor that will observe and distribute the occurrence of the whole pattern.Evaluation•Reasoning qualitatively about the rationale for the expressiveness of the notification selection mechanism•Performing simulation studies•Constructing a prototypeMore study required to fully validate the design, but achieved the goal of a Wide area event notification serviceRationale for chosen ExpressivenessFactors unaccounted for – Network Latency and Data Structure size(Also restricted the expressiveness of Patterns in Siena in the interests of efficiency )Factors under control – Definitions of notifications, filters, patterns and complexity of computing covering relations.Covering RelationsComplexity of determining whether a given subscription and a given notification are related by is O(n+m) where n = No. of Attribute constraints in the subscription filter m = No. of Attributes in the notificationValues of n and m small so computations negligible compared to the network costs .SIENA = SQL in terms of expressivenessSimulation Studies ( to assess scalability )Simulation Framework•Configuration of servers and clients mapped onto the sites of a wide area network•An assignment of application behaviors to objects of interest and interested partiesNetwork Configuration•Site•Costs•LinksAssumptions1. Links have constant latency2. Sites and links have infinite capacity3. Costs of computation at sites and communication through links are linear functions of loadEffect of congestion unaccounted?SitesLinksServersClientsHomogenous ArchitectureApplication BehaviorObjects of Interest executes m sequences like Interested party executes p sequences like Main purpose of simulations is to highlight the relative behaviors of the architectures and algorithms.Simulation was conducted on objects of interest and interested parties associated with only one particular kind of event.Additional kinds of events (with their own publishers and subscribers) not considered ?Why (inspite of chances of final results getting affected) ?Four event notification service architecture/algorithms:ce = centralized architecture ( omitted because total cost far outweighs that of distributed architectures )hs = hierarchical client-server with subscription forwardingas = acyclic peer to peer with subscription forwardingaa = acyclic peer to peer with advertisement forwarding1.Total CostSaturation pointTotal cost = sum of the costs of all site to site message trafficIt captures an important aspect of scalability by revealing how communication cost is impacted by increases to load presented to the service.Observations • When more than 100 interested parties, total cost constant beyond the saturation point (no additional cost incurred) - since there is an object of interest at every site• All architectures scale sub linearly when No. of Interested parties is below saturation point - since object of interest and interested party are not at the same site• As No.of Objects of interest increases, ‘hs’ performs worst when compared to ‘as’ - ‘as’ is penalized by its broadcast of subscriptions whereas ‘hs’ propagates notifications towards the root of the hierarchy and it is forced to do so whether or not interested parties exist on the other side of the root of the network• ‘aa’ depicts unstable cost profile for low densities of interested parties - objects of interest unadvertises and readvertises frequentlyOverall ‘as’ scales well and predictable under all circumstancesComparison of total costs below saturation point2.Cost per service requestAvg. per service cost = Total Cost ------------------------------------ Total number of Client requests hs does wellhs does wellas does wellas does wellObservations1. ‘ce’ unreasonable in all scenarios as compared to other architectures2. Advertisement forwarding becomes unstable for high no. of objects of interest3. For low number’s of objects of interest and interested parties, the costs are dominated by message passing costs internal to ‘SIENA’3.Cost per subscription and per NotificationAvg per subscription cost = Total cost of all subscription related messages -------------------------------------------------------- Number of subscriptions processedAvg per notification cost = Total cost of all notification related messages----------------------------------------------------------Number of notifications processed‘as’ higher cost ‘hs’ higher costHow‘hs’ and ‘as’ forwards subscriptionsIn ‘as’ a subscription is propagated throughout the network, in a network of N sites, a subscription goes through O(N) hops Cost = O(N)In ‘hs’ a subscription is forwarded upward only to the root serverCost = O(log N)4. Worst-case Per-site CostCalculated by averaging the cost of communication incurred by each siteover the 10 simulations of that scenario, and then by computing the maximumover those average per site costs‘hs’ incurs maximum per site cost than ‘as’ for high densities of objectsof interest and therefore high volumes of notificationsSummary Costs as hsPer-Subscription costHigherO(N)LowerO(logN)Worst-case per-site costLower Higher( for higher densities)Cost of ignored notificationsNil Fixed costO(log N)Cost of delivering notificationSame Same •‘hs’ performs better at low densities of interested parties that subscribe unsubscribe frequently•‘as’ performs well in the presence of ignored notificationsSIENA Prototype• Implemented in C++ and Java• Java event server based on hierarchical


View Full Document

USC CSCI 599 - Week8_c2

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

sandpres

sandpres

21 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week9_c

Week9_c

24 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download Week8_c2
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Week8_c2 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Week8_c2 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?