Skip to main content
Windows	
  Azure	
  Table	

      @takekazuomi	
  
       2011/1/26
Scalable	
  Service	
  with	
  Cloud	
•                                    	
  
•                                                  	
  
•                                                         	
  
• 
                                 	
  
•  Scalable	
  Service	
  =>	
  Windows	
  Azure                 	
  
Windows	
  Azure                                                                 	
•  Azure	
  Table
                	
  
    –  Google	
  App	
  Engine	
  
         •  BigTable                                                                    	
  
         •                                spin-­‐down/up                                            	
  
    –  Amazon	
  SimpleDB                                                 	
  
         •  2010/2/24	
   ConsistentRead	
         	
  
            	
  hKp://www.atmarkit.co.jp/news/201002/25/aws.html	
  
         •                                               	
  
              –  CondiPonal	
  Put	
  and	
  Delete          OpPmisPc	
  Concurrency	
  Control
                       	
    –  Casandra/HBase                                                            	
  
         •                         HBase              	
  
Windows	
  Azure	
  Table                     	
•  Open	
  Data	
  Protocol	
  (OData)	
  
     –  HTTP,	
  Atom	
  Pub	
   JSON      	
  
         •  hKp://www.odata.org/	
  
•  Distributed	
  Storage	
  System	
  for	
  Structured	
  
   Data	
  
     –  BigTable/Casandra	
                NoSQL)	
  
•                      	
  
•                                   	
  
CAP                                                  	
1.                   (Consistency)	
  
       – 
                                           	
  

2.                   (Availability)	
  
       –                                                           	
  
       – 
                                                            	
  

3.                      (ParPPon	
  Tolerance)	
  
       –                                                                       	
  

                                                     	
  
      	
  BigTable
• 
                                      	
  
• 
                	
  
•                                                 	
  
•                              	
  
• 
         	
  
•                             	
  
     –  Consistency    	
  
     	
  
• 
                         	
  
            –  100                                         	
  
• 
                  	
  
            –  300                                  	
  
•                                                                 	
  
            –  1,000	
  item/sec	
          5,000
                              	
  
            	
  
     	
  
                                	
  
•                                       	
  
     – 
                        Table,	
                                                               	
  

•                                	
  
     –                                                             	
  

•  Azure	
  Table Table                   RDBMS                                         	
  
     –                                         	
  
     –                                                     	
  
     	
  
•                                                                         	
  
     –          =	
  14.7	
     /GB/                  18          /TB/           	
  
• 
            	
  
•                                                           	
  
       –                                          Person	
  	
  
•                                                         	
  
       –                                Log                      Queue	
  
                   Idenpotent	
     recover	
                         	
  
       –                            recover	
  
	
  
•                                                                                                                                      	
  
     –                                                                                            	
  
•                                                               500ms	
  –	
  1s	
  	
  
     –                	
  
                •                                                               5	
  –	
  7 	
  =	
  	
  200ms	
                	
  
                •                         150ms	
  –	
  200ms                                                        	
  
•                                                        	
  
     –  Small	
  instance	
  (1	
  core)                                                      15                            90	
  PercenPle	
  
                                                                                                                                      	
  
     –  1	
   2 4	
   8	
  core	
                                        	
  
     –  15/core
                                                                                 	
  
                                 64	
  core
                         	
  
            	
  64	
  core	
              600 /                   	
  
     	
  
     	
  
MEMO	
•  Windows	
  Azure	
  Storage	
  Abstrac4ons	
  and	
  their	
  Scalability	
  Targets	
  
     –  h9p://blogs.msdn.com/b/windowsazurestorage/archive/
        2010/05/10/windows-­‐azure-­‐storage-­‐abstrac4ons-­‐and-­‐their-­‐
        scalability-­‐targets.aspx	
  
•  Windows	
  Azure	
  Storage	
  Architecture	
  Overview	
  
     –  hKp://blogs.msdn.com/b/windowsazurestorage/archive/2010/12/30/
        windows-­‐azure-­‐storage-­‐architecture-­‐overview.aspx	
  
•  Performance	
  in	
  Windows	
  Azure	
  and	
  Azure	
  Storage	
  
     –  hKp://convecPve.wordpress.com/2010/10/08/performance-­‐in-­‐
        windows-­‐azure-­‐and-­‐azure-­‐storage/	
  
•  Azurescope:	
  Benchmarking	
  and	
  Guidance	
  for	
  Windows	
  Azure	
  
     –  hKp://azurescope.cloudapp.net/Default.aspx	
  
•  DynamicJSON	
  –	
  @neuecc	
  	
  
     –  hKp://dynamicjson.codeplex.com/