Date post: | 13-May-2015 |
Category: |
Technology |
Upload: | vitor-meriat |
View: | 325 times |
Download: | 0 times |
Windos Azure Storag Service
Vitor Meriat
Agenda
• Overview da plataforma azure• Storage (Blobs/Tables/Queue)• Demos
Download de Phone http://bit.ly/oeK9Dh
Download SDK de Azure http://bit.ly/peAhlL
Download de WebMatrix http://bit.ly/webmatrixbr11
Centro de Treinamento TechNet http://bit.ly/q9dVvH
Centro de Treinamento MSDN http://bit.ly/mSQHce
Portal:windows.azure.com
TIME
IT C
AP
AC
ITY
Actual Load
Allocated IT-capacities
Too Much Power
Not Enough Power
Load Forecast
Actual Load
Capacity on Demand
Lower Capex
No capital laying idle
No screaming customers
Knob goes up...
And...down
TIME
IT C
AP
AC
ITY
Load Forecast
Cloud Services
Software
Consumidor
“SaaS”
Plataforma
DEVS
“PaaS”
Infra como Serviço
HOSTS
“IaaS”
Cloud Services
Pacotes Software
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
You m
anag
e
Infra(as a Service)
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
Manag
ed b
y v
en
dor
You m
anag
e
Plataforma(as a Service)
Manag
ed b
y v
en
dor
You
manage
Storage
Servers
Networking
O/S
Middleware
Virtualization
Applications
Runtime
Data
Software(as a Service)
Manag
ed b
y v
en
dor
Storage
Servers
Networking
O/S
Middleware
Virtualization
Applications
Runtime
Data
Windows Azure Platform
Scala e Armazenamento(Storage)Gerencia de ServiçosFerramentas/Linguagens
Banco Relacional para NuvemModelo de Desenvolvimento ConsistenteGerenciamento de Bancos
Conectar a apps na nuvemConecte com outras redes.Controle de autorizacao na nuvem
Windows Azure
Windows Azure
O Sistema Operacional da Nuvem
Virtual NetworkCompute Storage
Hello Windows Azure
demo
Windows Azure Storage
• Scalavel– 100tb por conta de Storage– Preparado para auto Volumes de Dados
• Acessível via RESTful Web Service API– Acesso do Windows Azure Compute– Acesso do anywhere via internet– Suporte .NET Client Library
• Tipo de storage– Table – Grupos de Entidades (name/value pairs)– Queue - Fila de mensagens simples não-transacional– Blob - Large binary storage – Drives - NTFS VHD montado na instancia de computação.
Tables
Conceitos
EntityTableAccount
contoso
customers
Name =…Email = …
Name =…EMailAdd= …
photos
Photo ID =…Date =…
Photo ID =…Date =…
Detalhes
• Não é RDBMS!
• Tabela(Table)– Create, Query, Delete– Podem ter Metadados
• Entidades– Insert– Update
• Merge Atualização Parcial• Replace – Atualização toda Entidade
– Delete– Query– Grupo de Transações entidade
Múltiplas operações CUD em uma única transação atômica
Entity Properties
• Entity can have up to 255 properties• Up to 1MB per entity
• Mandatory Properties for every entity• PartitionKey & RowKey (only indexed properties)• Uniquely identifies an entity• Defines the sort order• Timestamp • Optimistic Concurrency. Exposed as an HTTP ETag
• No fixed schema for other properties• Each property is stored as a <name, typed value> pair• No schema stored for a table• Properties can be the standard .NET types • String, binary, bool, DateTime, GUID, int, int64, and double
Nome SobreNome Aniversario
Kim Akers 2/2/1981
Nancy Anderson 3/15/1965
Mark Hassall May 1, 1976
Robbie
Futebol
Dados sem schema
Nome SobreNome Aniversario
Kim Akers 2/2/1981
Nancy Anderson 3/15/1965
Mark Hassall May 1, 1976
Querying
?$filter=Last eq ‘Akers’
Purpose of the PartitionKey
• Entity Locality– Entities in the same partition will be stored together
– Efficient querying and cache locality– Endeavour to include partition key in all queries
• Entity Group Transactions– Atomic multiple Insert/Update/Delete in same partition in a single
transaction
• Table Scalability• Target throughput – 500 tps/partition, several thousand tps/account
– Windows Azure monitors the usage patterns of partitions– Automatically load balance partitions
– Each partition can be served by a different storage node– Scale to meet the traffic needs of your table
PartitionKey(Category)
RowKey(Title)
Timestamp ModelYear
Bikes Super Duper Cycle … 2009
Bikes Quick Cycle 200 Deluxe … 2007
… … … …
Canoes Whitewater … 2009
Canoes Flatwater … 2006
PartitionKey(Category)
RowKey(Title)
Timestamp ModelYear
Rafts 14ft Super Tourer … 1999
… … … …
Skis Fabrikam Back Trackers … 2009
… … … …
Tents Super Palace … 2008
PartitionKey(Category)
RowKey(Title)
Timestamp ModelYear
Bikes Super Duper Cycle … 2009
Bikes Quick Cycle 200 Deluxe … 2007
… … … …
Canoes Whitewater … 2009
Canoes Flatwater … 2006
Rafts 14ft Super Tourer … 1999
… … … …
Skis Fabrikam Back Trackers … 2009
… … … …
Tents Super Palace … 2008
Partitions and Partition Ranges
Server BTable = Products[Canoes - MaxKey)
Server ATable = Products[MinKey - Canoes)
Server ATable = Products
Vitor MeriatMicrosoft Student Partners
[email protected] @vitormeriat http://pablohadler.com/blog
Perguntas?