The document provides an agenda for a Windows Azure keynote presentation. It is divided into several sections including an introduction to Windows Azure, creating applications on Windows Azure, solving problems with Windows Azure, Windows Azure internals, storage and data processing scenarios, authentication using Azure ACS, Service Bus for connecting cloud services to on-premises systems, and several lab sessions on topics like Windows Azure Virtual Machines, diagnosing issues, and deploying Active Directory and SharePoint to Windows Azure. Slide details include storage metrics showing over 4 trillion objects stored and average/peak request rates. There are also client logos and case studies presented.
SQL Server StreamIinsight - data processing in real time
TechEd 2012 - Сценарии хранения и обработки данных в windows azure
1.
2.
3. Windows Azure Keynote
Знакомство Создание приложений Решение задач
с Windows Azure Windows Azure с Windows Azure
Windows Azure Internals Сценарии хранения Media Services - обработка медиа
и обработки данных
Windows Azure Q&A в Windows Azure
Миграция имеющихся
Использование Azure ACS приложений в Windows Azure
Безопасность для решения задач
Windows Azure аутентификации Service Bus – связь облака
пользователей с сервисами предприятия
Лабораторные работы
Введение в Windows Azure Virtual Machines Продвинутые техники выявления проблем
Развертывание Active Directory в Windows Azure для решений на базе Windows Azure
Миграция приложения ASP.NET на Windows Azure Развертывание фермы SharePoint в Windows Azure
4.
5.
6. 4.5
4.03
Кол-во объектов в триллионах
4
3.5
3 2.89
2.5
2 1.7
1.5 1.33
0.94
1
0.5
0
Axis Title
Источник: http://blogs.msdn.com/b/windowsazurestorage/archive/2012/07/20/windows-azure-storage-4-trillion-objects-and-counting.aspx
7. average peak
1000000
Кол-во запросов в секунду
900000
800000
700000
600000
500000
400000
300000
200000
100000
0
Источник: http://blogs.msdn.com/b/windowsazurestorage/archive/2012/07/20/windows-azure-storage-4-trillion-objects-and-counting.aspx
14. using (Stream stream = System.IO.File.OpenRead(@"D:blob.txt"))
{
CloudBlockBlob blob = container.GetBlockBlobReference("blob.txt");
blob.UploadFromStream(stream);
CloudBlockBlob blob2 = container.GetBlockBlobReference("demo/blob2.txt");
blob2.UploadFromStream(stream);
CloudBlockBlob blob3 = container.GetBlockBlobReference("demo/blob3.txt");
blob3.UploadFromStream(stream);
}
foreach (IListBlobItem item in container.ListBlobs("demo/"))
{
// Do some action
}
15.
16.
17.
18.
19. Прогресс обработки периодически сохраняется в сообщении
Увеличение visibility timeout на 5 минут
7:04 AM
7:00
7:09 AM
7:07 Получение сообщения с 5 минутным visibility timeout
Expires @ 7:05AM
Expires @ 7:09AM
Azure Queue
7:09
7:05
7:14
Получение прогресса и
продолжение обработки
28. «In "Avatar," every blade of grass, every cloud in the sky, every vine
in the jungle existed digitally and had to be stored somewhere.»
Jon Landau, Producer
Источник: http://www.microsoft.com/microsoftservices/en/uk/article_Microsoft_Role_In_Avatar.aspx
29.
30.
31. Более миллиона уникальных пользователей
посетили сайт компании в период проката
фильма в 2010 году.
«We developed an interactive game where users try to navigate a
course maze in a Volvo car in the fastest time and using the shortest
route.»
David Holecek, Digital Strategy Manager at Volvo Car Corporation
Около 400 000 активных пользователей игры
Источник: http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000008490
42. Язык запросов HiveQL
CREATE TABLE logs(t1 string, t2 string, t3 string, t4 string, t5 string, t6
string, t7 string)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ' ';
LOAD DATA LOCAL INPATH 'sample.log' OVERWRITE INTO TABLE logs;
SELECT t5 AS sev, COUNT(*) AS cnt FROM logs
WHERE t5 LIKE '[%'
GROUP BY t5;
43.
44. “We take in raw data and make it into something that is
actionable for our consumers, brands, and partners.”
David Mariani Vice President of Engineering at Klout
“Klout chose the best of both worlds by marrying the
Microsoft BI platform with Hadoop and Hive.”
David Mariani Vice President of Engineering at Klout
Источник: http://www.microsoft.com/casestudies/Microsoft-SQL-Server-2012-Enterprise/Klout/Data-Services-Firm-Uses-Microsoft-BI-and-
Hadoop-to-Boost-Insight-into-Big-Data/710000000129
45.
46. Account Server Database
• Работа с • Информация о • Аналог SQL
порталом базах данных Server базы
• Инструмент • Аутентификация данных
оплаты и безопасность • Содержит
таблицы,
процедуры,
индексы, и т.п.
47. SQL Azure Network Applications use standard SQL client
Topology Application libraries: ODBC, ADO.Net, PHP, …
Internet
Azure Cloud
TDS (tcp)
Security Boundary Load balancer forwards „sticky‟ sessions to
LB TDS protocol tier
TDS (tcp)
Gateway Gateway Gateway Gateway Gateway Gateway
Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to CloudDB
TDS (tcp)
L SQL SQL SQL SQL
Scalability and Availability: Fabric, Failover, Replication, and Load balancing
48. Запрос к базе SQL Azure
1
TDS Gateway
Front-end Node
TDS Session Protocol Parser
2
3
Gateway Logic
Master Cluster
Master Node
4
Master Node Components
7
5 8 6
Backend Node 1 Backend Node 2 Backend Node 3
SQL Instance SQL Instance SQL Instance
SQL DB SQL DB SQL DB
Scalability and and Availability: Fabric,Failover,Replication, and Load balancing
Scalability Availability: Fabric, Failover, Replication, and Load balancing
49.
50. Federations
SalesDB
CustomerFederationeration
CustomerFederationeration
CustomerFederation
Federation Root
Federation Members
51. Federations member: Range [1000, 2000)
SalesDB AU AU AU
CustomerFederationeration
PK=5 PK=25 PK=35
CustomerFederationeration
AU AU AU
CustomerFederation
PK=5 PK=25 PK=35
AU AU AU
PK=1005 PK=1025 PK=1035
Federation Root
Federation Members Atomic Units
52. Central Tables
Federations
SalesDB Federated Tables
CustomerFederationeration
CustomerFederationeration
CustomerFederation
Reference Tables
User Database and
Federation root Federation members
53. USE FEDERATION CustomerFederation(customer_id = 5075) …
SalesDB
CustomerFederationeration
CustomerFederationeration
CustomerFederation
Range Distribution [min,1000, 2000, 3000 ….. 5000, 10000, Max]
54. USE FEDERATION CustomerFederation(cid = 55)
WITH RESET, FILTERING=OFF
GO
FILTERING=OFF
Работаем с данными всего Federation member
Неограниченный доступ к данным базы: Всѐ равно что соединиться по имени БД
DDL, DML и доступ ко всем Atomic Units внутри Federation Member
Хорошо для…
Management Tasks: Обновление схемы данных
Fan-out Querying – получение данных нескольких
atomic units
member: Range [100,200)
Products
(referece) Customer_id=55
SalesDB
CustomerFederation
CustomerFederation Customers Orders
(federated) (federated)
Microsoft Confidential Microsoft Confidential
55. USE FEDERATION CustomerFederation(cid = 55)
WITH RESET, FILTERING=ON
GO
FILTERING=ON
Работаем с данными одного Atomic Unit
Полностью доступны данные Reference Tables
Запрещены любые изменения глобального состояния Federation Member
Хорошо для…
Безопасной модели разработки
Предотвращения утечки данных
member: Range [100,200)
Products
(referece) Customer_id=55
SalesDB
CustomerFederation
CustomerFederation Customers Orders
(federated) Customer_id=55 (federated)
Microsoft Confidential
56. ALTER FEDERATION CustomerFederation SPLIT AT (tenant_id=7500)
SalesDB
Orders_federation
CustomerFederationeration
CustomerFederation
Range Distribution [min,1000, 2000, 3000 ….. 5000, 10000, Max]
57. App
member: Range [100,200)
PostalCode
SalesDB (reference)
CustomerFederationeration
CustomerFederationeration
CustomerFederation Customer CustomerAddress
(federated) (federated)
Member: Range [100,150) Member: Range [150,200)
58.
59. “We can be selling a few hundred tickets an hour for most
of the week, but when a big event goes on sale at 9:00 in
the morning, we get an enormous spike in load against
our application.”
Matthew Davey, Founder, TicketDirect
Источник: http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000005890
60. Windows Azure Roles Client Applications
Service Bus Castellan.Azure
• Box Office sales
• Ticket Printing
• System Administration
• Venue/Event
http:// TicketDirect .* Dynamic Worker Distributed Partitioner WCF Management
(tasks uploaded Cache Worker Worker • Partitioning
as blobs)
Windows Azure Storage On Premises
Blobs to -- -- Tables to
-- Queues for
SQL Server
store web
and worker --- record
--- server &
communication
between clients
role
resources
---- partition
information
and roles
Castellan Venue
SQL Azure
Castellan
Castellan Castellan
Castellan Castellan
Castellan
Castellan Venue DB 1
Venue
Venue Venue DB 2
Venue
Venue Venue DB N
Venue
Venue ...
Partition(s)
DB‟s Partition(s)
DB‟s Partition(s)
DB‟s Castellan.old (VB6)
One application DB, many venue DB‟s – each partitioned in to many parts (40+)
Netflix accounts for 33%of peak traffic today, doubling Google Inc.'s YouTubeAll of this needs to be encoded, hosted & delivered at a minimum which directly translates to Compute, Storage & Bandwidth & hence we care about media on Azure According to the NPD Group's Retail Tracking Service, “In the U.S., the Xbox 360 not only sold more than any other game console in 2011, it also outsold other individual TV-connected devices like DVD players, as well as digital media receivers and home theater systems."Comcast moving to adopt our video platform for OTTPortugal Telecom, Turkish Telecom, Telecom Italia, Swisscom, Telstra, Cable & Wireless, etc.Broadcasters moving to IP video platformNBC, CTV, CBS: Want to do more events onlineCanal+, BSkyB, NRK, RAI, TV2 Norway, France24: Already launched subscription services on our platform
By “Media Services”, we mean a collection of components and technologies from Microsoft and third parties that are curated, ready-to-use, and integrated into a single platform to simplify the creation of end-to-end media solutions.