160 likes | 240 Views
All artwork on this slide deck created by Josh Twist . If you steal it please provide credit and a link to http://www.thejoyofcode.com/cloud_artwork.aspx. CLOUDS, GUIDs and HOUNDS Josh Twist Principal ADM Premier Support for Developers ( PSfD ) Microsoft UK. jtwist@microsoft.com.
E N D
All artwork on this slide deck created by Josh Twist. If you steal it please provide credit and a link to http://www.thejoyofcode.com/cloud_artwork.aspx
CLOUDS, GUIDs and HOUNDSJosh TwistPrincipal ADM Premier Support for Developers (PSfD)Microsoft UK jtwist@microsoft.com www.thejoyofcode.com @joshtwist
The Scenario Predictable Bursting
High level stuff you already know Web Roles Worker Roles SQL Azure Table Storage Blob Storage
The Architecture Push Pull Push LOTS of users
Problem 1: Seriously? A guid? Internet Explorer 9
Possible Solutions Use SQL Azure Create a global counter Configure Partitions 1,000,001 - 2,000,000 2,000,001 - 3,000,000 0-1,000,000
Our Solution Request current max identifier R = 1,000 3,000 eTag = XCV243987243KD Write back new max identifier where eTag is the same. R = 1,000
Nice! • Rate of requests to storage = Rate of requests / R(not related to the number of nodes) • Entirely self managing • Produces relatively sequential identifiers • Incredibly fast • Configuration can be modified at runtime if necessary
Solution 1: Polling Poll Go! Poll Poll Unleash!
Solution 2: Listening Connect Connect Connect Unleash! Unleash! Unleash! Unleash!
Thanks! Want to know more about PSfD? Mail me. This story will feature in November’s MSDN magazine Any Qs? Get me on Twitter jtwist@microsoft.com www.thejoyofcode.com @joshtwist