Presentation is loading. Please wait.

Presentation is loading. Please wait.

MID301. App Server 1 App Server 1 App Server 2 App Server 2 App Server 3 App Server 3 DatabaseDatabase Local Store.

Similar presentations


Presentation on theme: "MID301. App Server 1 App Server 1 App Server 2 App Server 2 App Server 3 App Server 3 DatabaseDatabase Local Store."— Presentation transcript:

1 MID301

2

3

4

5 App Server 1 App Server 1 App Server 2 App Server 2 App Server 3 App Server 3 DatabaseDatabase Local Store

6 Distributed In-Memory Cache Server Web App 1 Web App 1 Web App 2 Web App 2 Web Service 1 Web Service 1 Local Cache Distributed In-Memory Cache Server DatabaseDatabase

7 Distributed In-Memory Cache Server Available as of the April 2011 Windows Azure AppFabric release.

8

9 Scenario Reduced the CPU usage of SQL servers from 80% to 10% by caching ~27 GB of data across 4 cache servers each with 12 GB of memory System now supports 1000 reads / sec and 200 writes / sec Improved resource utilization 50% faster response times http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000007903

10

11

12

13

14

15 Application Object(s)Type Health tips, doctors, medications Reference User shopping cartActivity Inventory, forumsResource

16

17 Object to Analyze:Activity Data Peak Concurrent Users25000 Object to Analyze:Activity Data Peak Concurrent Users25000 New Users During Expiry Period (30 minutes)2500 Object to Analyze:Activity Data Peak Concurrent Users25000 New Users During Expiry Period (30 minutes)2500 Existing Users Starting New Browser Sessions250 Object to Analyze:Activity Data Peak Concurrent Users25000 New Users During Expiry Period (30 minutes)2500 Existing Users Starting New Browser Sessions250 Future Growth (25%):6940 Object to Analyze:Activity Data Peak Concurrent Users25000 New Users During Expiry Period (30 minutes)2500 Existing Users Starting New Browser Sessions250 Future Growth (25%):6940 Total Active Objects (Max):~35000 Max Active Objects

18 Object to Analyze:Activity Data Reference Data Average Serialized Object Size:250 KB60 KB Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Adjusted Average Serialized Object Size: 250.5 KB60.5 KB Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Adjusted Average Serialized Object Size: 250.5 KB60.5 KB Max Active Objects:~35000~68000 Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Adjusted Average Serialized Object Size: 250.5 KB60.5 KB Max Active Objects: ~35000~68000 Caching Memory Requirements:8.2 GB4 GB Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Adjusted Average Serialized Object Size: 250.5 KB60.5 KB Max Active Objects: ~35000~68000 Caching Memory Requirements: 8.2 GB4 GB High Availability Enabled?16.4 GBNo Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Adjusted Average Serialized Object Size: 250.5 KB60.5 KB Max Active Objects: ~35000~68000 Caching Memory Requirements: 8.2 GB4 GB High Availability Enabled?16.4 GBNo Internal Data Structures Overhead (5%)0.8 GB0.2 GB Object to Analyze:Activity Data Reference Data Average Serialized Object Size: 250 KB60 KB Cache Cluster Overhead per Object:.5 KB.5 Adjusted Average Serialized Object Size: 250.5 KB60.5 KB Max Active Objects: ~35000~68000 Caching Memory Requirements: 8.2 GB4 GB High Availability Enabled?16.4 GBNo Internal Data Structures Overhead (5%)0.8 GB0.2 GB Total Memory Requires17.2 GB4.2 GB

19

20 Number of object reads/writes per second:240 Number of machines in the cache cluster:1 Number of cache operations per machine per second:240 Average object size:500.5 KB Size of data transmitted per machine per second:240 * 500.5 = 117.3 MB Number of object reads/writes per second:240 Number of machines in the cache cluster:3 Number of cache operations per machine per second:80 Average object size:500.5 KB Size of data transmitted per machine per second:80 * 500.5 = 39 MB

21

22 FeatureRequirement Regions: Bulk operations, TagsNo Local cacheYes * Cache client machines need to account for this. High Availability (HA)Yes * Minimum of 3 servers to maintain HA if 1 crashes NotificationsNo How many Named caches?6 * Max 128

23

24 Initial Memory per Machine16 GB Memory Limit for Cache (Size value)8 GB Low Watermark70% Total Caching Memory:5.6 GB Number of Cache Hosts: 21.4 GB / 5.6 = 4 servers

25 Distributed In-Memory Cache 16 GB Web Server 1 Web Server 1 Web Server 2 Web Server 2 Web Server 3 Web Server 3 Web Server 4 Web Server 4

26 demo

27

28

29 VariableDescription Load PatternCache usage pattern (percentage of reads and writes) Cached Date SizeAmount of data stored in cache during the test Cluster SizeNumber of cache hosts (servers) in the cache cluster Object SizeSize of objects post-serialization Type ComplexitySimple types (for example, byte[]) versus complex objects SecuritySecurity settings of the cache

30

31 Dependency of throughput from cluster size for direct cache access (16KB byte array objects, 90% reads & 10% writes, default security) Point 90% reads / 10% writes 50% reads / 50% writes High 7.59 Balanced 4.3 Low 2.32.4 Latency (ms)

32

33

34

35

36 AppFabric Caching:HostNetwork Interface(*)\Bytes Received/sec.NET CLR Memory(DistributedCacheService)Network Interface(*)\Bytes Sent/sec Memory\Available MBytesNetwork Interface(*)\Current Bandwidth Process(DistributedCacheService)\% Processor Time Processor(_Total)\% Processor Time Process(DistributedCacheService)\Thread Count

37 demo

38 Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC.

39 Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.

40 www.microsoft.com/teched Sessions On-Demand & CommunityMicrosoft Certification & Training Resources Resources for IT ProfessionalsResources for Developers www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn http://northamerica.msteched.com Connect. Share. Discuss.

41

42 Scan the Tag to evaluate this session now on myTechEd Mobile

43

44


Download ppt "MID301. App Server 1 App Server 1 App Server 2 App Server 2 App Server 3 App Server 3 DatabaseDatabase Local Store."

Similar presentations


Ads by Google