SlideShare uma empresa Scribd logo
1 de 28
Bugaev {@rbugaev} Roman, VRP Inc.
Windows Azure: technology cocktail
“Поехали!”
Azure
• Windows Azure Platform is thus classified as platform as a
  service and forms part of Microsoft's cloud computing
  strategy, along with their software as a service offering,
  Microsoft Online Services




                       Windows Azure: technology cocktail      3
Microsoft CLOUD
Infrastructure




                 From 7 to 17 football fields
                 Windows Azure: technology cocktail   4
Microsoft CLOUD
Containers




             Windows Azure: technology cocktail   5
• 1




      Windows Azure: technology cocktail   6
What is Windows Azure
• Cloud computing service from Microsoft
• Combination of PaaS and IaaS
• New development platform
• 1




      Windows Azure: technology cocktail   8
Architecture differences
What is the same:
- ASP.NET application runs on IIS and Windows Server
- Application uses SQL server Development is still done with VS
Main differences:
- Application consists of parts called roles
- There is no persistent/durable virtual machine
- There is no persistent/durable NTFS file system
- Application runs in multi instance (server) environment
- New API, new configuration files, new type of project
• 1




      Windows Azure: technology cocktail   10
Windows Azure Roles
• Web Role
  – for web application programming in ASP.NET or PHP
  – MVC 3

• Worker Role
  – for performing work on behalf of the web role
  – may be written in .NET, Ruby, Java
  – to improve scalability by increasing parall. and async.
  – used for background work


                       Windows Azure: technology cocktail     11
• 1




      Windows Azure: technology cocktail   12
Developer Experience
•   Leverage Existing Skills in .NET, SQL Server, WCF
•   Use Familiar tools – Visual Studio
•   RESTful HTTP cloud services, supports PHP, Python
•   Cloud apps can be developed locally / offline
•   SDK Cloud Simulator – Dev Fabric, Dev Storage




                        Windows Azure: technology cocktail   13
• 1




      Windows Azure: technology cocktail   14
Windows Azure: technology cocktail   15
Storage
•   Blobs – Large Data Store
•   Queues – Background work processing
•   Tables – Very Fast / Scalable Storage
•   Drives – NTFS Formatted Page Blobs
•   SQL Azure – Relational SQL in the Cloud




                        Windows Azure: technology cocktail   16
If you don’t know SQL – write in
your CV «NoSQL» (Joke)



            Windows Azure: technology cocktail   17
Azure Storage Problems




      Windows Azure: technology cocktail   18
Mongo DB
Running MongoDb on Microsoft Windows Azure with CloudDrive
• http://www.captaincodeman.com/2010/05/24/mongodb-azure-
  clouddrive/

Server :
_mongoProcess = new Process(@"mongod.exe");
_mongoProcess.Start();

Client:
var mongo = new Mongo(connectionString);
mongo.Connect();
var db = mongo.GetDatabase("notes");
                     Windows Azure: technology cocktail   19
Alternative for Azure Queue
•   RabbitMQ (erlang)
•   Service Bus Queues (app fabric)




                     Windows Azure: technology cocktail   20
Building a Task Scheduler in
Windows Azure



             Windows Azure: technology cocktail   21
Scheduling
public class ScheduledItem : TableServiceEntity
{
          public string Message { get; set; }
          public DateTime Time { get; set; }

    public ScheduledItem(string message, DateTime time)
         : base(string.Empty, time.Ticks.ToString("d19") + "_" + Guid.NewGuid().ToString())
    {
         Message = message;
         Time = time;
    }

    public ScheduledItem()
    {
    }
}

                               Windows Azure: technology cocktail                    22
Managing Concurrency
using (var arl = new AutoRenewLease(leaseBlob))
{
  if (arl.HasLease)
  {
      // inside here, this instance has exclusive access
      var ctx = tables.GetDataServiceContext();
      foreach (var item in ctx.CreateQuery<ScheduledItem>("ScheduledItems").Where(s =>
         s.PartitionKey == string.Empty
         && s.RowKey.CompareTo(DateTime.UtcNow.Ticks.ToString("d19")) <= 0)
         .AsTableServiceQuery())
      {
         q.AddMessage(new CloudQueueMessage(item.Message));
            ctx.DeleteObject(item);
         ctx.SaveChangesWithRetries();
      }
  }
}
                              Windows Azure: technology cocktail                 23
Alternative Schedule
•   Quartz
•   BrokeredMessage.ScheduledEnqueueTime




                   Windows Azure: technology cocktail   24
Node.js Applications
1. native Windows Node.js binaries
2. iisnode module


https://github.com/smarx/noderole




                     Windows Azure: technology cocktail   25
Caching
•   Windows Azure Caching
•   memcached




                    Windows Azure: technology cocktail   26
Invite
Get a Windows Azure Trial Account Try out a free Windows
Azure account for 30 days.
• Go http://bit.ly/azure_invite, select "United States" and
• Enter promo-code: FBPASS




                       Windows Azure: technology cocktail     27
ThX! Q?



Phone: +375 (29) 264-6830 Skype: Bugaev_Roman
Linkedin: http://www.linkedin.com/in/rbugaev
Facebook: http://www.facebook.com/rbugaev
Twitter: @rbugaev

Mais conteúdo relacionado

Mais procurados

Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
lutter
 
node.js on Google Compute Engine
node.js on Google Compute Enginenode.js on Google Compute Engine
node.js on Google Compute Engine
Arun Nagarajan
 

Mais procurados (20)

Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBDev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDB
 
Phone Home: A client-side error collection system
Phone Home: A client-side error collection systemPhone Home: A client-side error collection system
Phone Home: A client-side error collection system
 
Google Compute Engine
Google Compute EngineGoogle Compute Engine
Google Compute Engine
 
以 Kubernetes 部屬 Spark 大數據計算環境
以 Kubernetes 部屬 Spark 大數據計算環境以 Kubernetes 部屬 Spark 大數據計算環境
以 Kubernetes 部屬 Spark 大數據計算環境
 
NoSQL on microsoft azure april 2014
NoSQL on microsoft azure   april 2014NoSQL on microsoft azure   april 2014
NoSQL on microsoft azure april 2014
 
OpenStack
OpenStackOpenStack
OpenStack
 
Towards a self automated CERN Cloud
Towards a self automated CERN CloudTowards a self automated CERN Cloud
Towards a self automated CERN Cloud
 
How Docker Accelerates Continuous Development at ironSource: Containers #101 ...
How Docker Accelerates Continuous Development at ironSource: Containers #101 ...How Docker Accelerates Continuous Development at ironSource: Containers #101 ...
How Docker Accelerates Continuous Development at ironSource: Containers #101 ...
 
IoT Solution Design based on Azure and AWS
IoT Solution Design based on Azure and AWSIoT Solution Design based on Azure and AWS
IoT Solution Design based on Azure and AWS
 
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
 
Node in Real Time - The Beginning
Node in Real Time - The BeginningNode in Real Time - The Beginning
Node in Real Time - The Beginning
 
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
Taking Cloud to Extremes: Scaled-down, Highly Available, and Mission-critical...
 
Data Processing solution for Health Domain.
Data Processing solution for Health Domain.Data Processing solution for Health Domain.
Data Processing solution for Health Domain.
 
StorPool & OpenNebula
StorPool & OpenNebulaStorPool & OpenNebula
StorPool & OpenNebula
 
Faites évoluer votre accès aux données avec MongoDB Stitch
Faites évoluer votre accès aux données avec MongoDB StitchFaites évoluer votre accès aux données avec MongoDB Stitch
Faites évoluer votre accès aux données avec MongoDB Stitch
 
node.js on Google Compute Engine
node.js on Google Compute Enginenode.js on Google Compute Engine
node.js on Google Compute Engine
 
Windows Azure IaaS and Hybrid
Windows Azure IaaS and HybridWindows Azure IaaS and Hybrid
Windows Azure IaaS and Hybrid
 
MongoDB.local Paris Keynote
MongoDB.local Paris KeynoteMongoDB.local Paris Keynote
MongoDB.local Paris Keynote
 
Kubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pfKubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pf
 
Artem Zhurbila 4 aws - s3, glacier, cloud front, rds
Artem Zhurbila 4 aws - s3, glacier, cloud front, rdsArtem Zhurbila 4 aws - s3, glacier, cloud front, rds
Artem Zhurbila 4 aws - s3, glacier, cloud front, rds
 

Semelhante a Ciklum net sat12112011-roman bugaev-windows azure technology cocktail

Semelhante a Ciklum net sat12112011-roman bugaev-windows azure technology cocktail (20)

Cloud Lunch and Learn - Sobrevoando o Azure
Cloud Lunch and Learn - Sobrevoando o AzureCloud Lunch and Learn - Sobrevoando o Azure
Cloud Lunch and Learn - Sobrevoando o Azure
 
Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019
Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019
Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019
 
.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem
.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem
.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem
 
Cloud computing: highlights
Cloud computing: highlightsCloud computing: highlights
Cloud computing: highlights
 
Node.js on Windows Azure
Node.js on Windows AzureNode.js on Windows Azure
Node.js on Windows Azure
 
Forge - DevCon 2016: From Desktop to the Cloud with Forge
Forge - DevCon 2016: From Desktop to the Cloud with ForgeForge - DevCon 2016: From Desktop to the Cloud with Forge
Forge - DevCon 2016: From Desktop to the Cloud with Forge
 
From desktop to the cloud with forge
From desktop to the cloud with forgeFrom desktop to the cloud with forge
From desktop to the cloud with forge
 
Tokyo Azure Meetup #6 - Azure Monthly Update - June
Tokyo Azure Meetup #6 - Azure Monthly Update - JuneTokyo Azure Meetup #6 - Azure Monthly Update - June
Tokyo Azure Meetup #6 - Azure Monthly Update - June
 
Deploying windows containers with kubernetes
Deploying windows containers with kubernetesDeploying windows containers with kubernetes
Deploying windows containers with kubernetes
 
.NET Core Apps: Design & Development
.NET Core Apps: Design & Development.NET Core Apps: Design & Development
.NET Core Apps: Design & Development
 
Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)
 
C++ Windows Forms L01 - Intro
C++ Windows Forms L01 - IntroC++ Windows Forms L01 - Intro
C++ Windows Forms L01 - Intro
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
Modernizing existing .NET applications with Windows Containers and Azure cloud
Modernizing existing .NET applications with Windows Containers and Azure cloudModernizing existing .NET applications with Windows Containers and Azure cloud
Modernizing existing .NET applications with Windows Containers and Azure cloud
 
NET core 2 e i fratelli
NET core 2 e i fratelliNET core 2 e i fratelli
NET core 2 e i fratelli
 
Ruby on microsoft azure april 2014
Ruby on microsoft azure   april 2014Ruby on microsoft azure   april 2014
Ruby on microsoft azure april 2014
 
Building scalable applications using serverless on the cloud
Building scalable applications using serverless on the cloudBuilding scalable applications using serverless on the cloud
Building scalable applications using serverless on the cloud
 
Self-Service Supercomputing
Self-Service SupercomputingSelf-Service Supercomputing
Self-Service Supercomputing
 
.NET6.pptx
.NET6.pptx.NET6.pptx
.NET6.pptx
 

Mais de Ciklum Ukraine

Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developers
Ciklum Ukraine
 
Future of Outsourcing report published in The Times featuring Ciklum's CEO To...
Future of Outsourcing report published in The Times featuring Ciklum's CEO To...Future of Outsourcing report published in The Times featuring Ciklum's CEO To...
Future of Outsourcing report published in The Times featuring Ciklum's CEO To...
Ciklum Ukraine
 

Mais de Ciklum Ukraine (20)

"How keep normal blood pressure using TDD" By Roman Loparev
"How keep normal blood pressure using TDD" By Roman Loparev"How keep normal blood pressure using TDD" By Roman Loparev
"How keep normal blood pressure using TDD" By Roman Loparev
 
"Through the three circles of the it hell" by Roman Liashenko
"Through the three circles of the it hell" by Roman Liashenko"Through the three circles of the it hell" by Roman Liashenko
"Through the three circles of the it hell" by Roman Liashenko
 
Alex Pazhyn: Google_Material_Design
Alex Pazhyn: Google_Material_DesignAlex Pazhyn: Google_Material_Design
Alex Pazhyn: Google_Material_Design
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developers
 
Your 1st Apple watch Application
Your 1st Apple watch ApplicationYour 1st Apple watch Application
Your 1st Apple watch Application
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Back to the future: ux trends 2015
Back to the future: ux trends 2015Back to the future: ux trends 2015
Back to the future: ux trends 2015
 
Developing high load systems using C++
Developing high load systems using C++Developing high load systems using C++
Developing high load systems using C++
 
Collection view layout
Collection view layoutCollection view layout
Collection view layout
 
Introduction to auto layout
Introduction to auto layoutIntroduction to auto layout
Introduction to auto layout
 
Groovy on Android
Groovy on AndroidGroovy on Android
Groovy on Android
 
Unit Testing: Special Cases
Unit Testing: Special CasesUnit Testing: Special Cases
Unit Testing: Special Cases
 
Material design
Material designMaterial design
Material design
 
Kanban development
Kanban developmentKanban development
Kanban development
 
Mobile sketching
Mobile sketching Mobile sketching
Mobile sketching
 
More UX in our life
More UX in our lifeMore UX in our life
More UX in our life
 
Model-View-Controller: Tips&Tricks
Model-View-Controller: Tips&TricksModel-View-Controller: Tips&Tricks
Model-View-Controller: Tips&Tricks
 
Unit Tesing in iOS
Unit Tesing in iOSUnit Tesing in iOS
Unit Tesing in iOS
 
Future of Outsourcing report published in The Times featuring Ciklum's CEO To...
Future of Outsourcing report published in The Times featuring Ciklum's CEO To...Future of Outsourcing report published in The Times featuring Ciklum's CEO To...
Future of Outsourcing report published in The Times featuring Ciklum's CEO To...
 
Михаил Попчук "Cкрытые резервы команд или 1+1=3"
Михаил Попчук "Cкрытые резервы команд или 1+1=3"Михаил Попчук "Cкрытые резервы команд или 1+1=3"
Михаил Попчук "Cкрытые резервы команд или 1+1=3"
 

Último

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Ciklum net sat12112011-roman bugaev-windows azure technology cocktail

  • 1. Bugaev {@rbugaev} Roman, VRP Inc. Windows Azure: technology cocktail
  • 3. Azure • Windows Azure Platform is thus classified as platform as a service and forms part of Microsoft's cloud computing strategy, along with their software as a service offering, Microsoft Online Services Windows Azure: technology cocktail 3
  • 4. Microsoft CLOUD Infrastructure From 7 to 17 football fields Windows Azure: technology cocktail 4
  • 5. Microsoft CLOUD Containers Windows Azure: technology cocktail 5
  • 6. • 1 Windows Azure: technology cocktail 6
  • 7. What is Windows Azure • Cloud computing service from Microsoft • Combination of PaaS and IaaS • New development platform
  • 8. • 1 Windows Azure: technology cocktail 8
  • 9. Architecture differences What is the same: - ASP.NET application runs on IIS and Windows Server - Application uses SQL server Development is still done with VS Main differences: - Application consists of parts called roles - There is no persistent/durable virtual machine - There is no persistent/durable NTFS file system - Application runs in multi instance (server) environment - New API, new configuration files, new type of project
  • 10. • 1 Windows Azure: technology cocktail 10
  • 11. Windows Azure Roles • Web Role – for web application programming in ASP.NET or PHP – MVC 3 • Worker Role – for performing work on behalf of the web role – may be written in .NET, Ruby, Java – to improve scalability by increasing parall. and async. – used for background work Windows Azure: technology cocktail 11
  • 12. • 1 Windows Azure: technology cocktail 12
  • 13. Developer Experience • Leverage Existing Skills in .NET, SQL Server, WCF • Use Familiar tools – Visual Studio • RESTful HTTP cloud services, supports PHP, Python • Cloud apps can be developed locally / offline • SDK Cloud Simulator – Dev Fabric, Dev Storage Windows Azure: technology cocktail 13
  • 14. • 1 Windows Azure: technology cocktail 14
  • 16. Storage • Blobs – Large Data Store • Queues – Background work processing • Tables – Very Fast / Scalable Storage • Drives – NTFS Formatted Page Blobs • SQL Azure – Relational SQL in the Cloud Windows Azure: technology cocktail 16
  • 17. If you don’t know SQL – write in your CV «NoSQL» (Joke) Windows Azure: technology cocktail 17
  • 18. Azure Storage Problems Windows Azure: technology cocktail 18
  • 19. Mongo DB Running MongoDb on Microsoft Windows Azure with CloudDrive • http://www.captaincodeman.com/2010/05/24/mongodb-azure- clouddrive/ Server : _mongoProcess = new Process(@"mongod.exe"); _mongoProcess.Start(); Client: var mongo = new Mongo(connectionString); mongo.Connect(); var db = mongo.GetDatabase("notes"); Windows Azure: technology cocktail 19
  • 20. Alternative for Azure Queue • RabbitMQ (erlang) • Service Bus Queues (app fabric) Windows Azure: technology cocktail 20
  • 21. Building a Task Scheduler in Windows Azure Windows Azure: technology cocktail 21
  • 22. Scheduling public class ScheduledItem : TableServiceEntity { public string Message { get; set; } public DateTime Time { get; set; } public ScheduledItem(string message, DateTime time) : base(string.Empty, time.Ticks.ToString("d19") + "_" + Guid.NewGuid().ToString()) { Message = message; Time = time; } public ScheduledItem() { } } Windows Azure: technology cocktail 22
  • 23. Managing Concurrency using (var arl = new AutoRenewLease(leaseBlob)) { if (arl.HasLease) { // inside here, this instance has exclusive access var ctx = tables.GetDataServiceContext(); foreach (var item in ctx.CreateQuery<ScheduledItem>("ScheduledItems").Where(s => s.PartitionKey == string.Empty && s.RowKey.CompareTo(DateTime.UtcNow.Ticks.ToString("d19")) <= 0) .AsTableServiceQuery()) { q.AddMessage(new CloudQueueMessage(item.Message)); ctx.DeleteObject(item); ctx.SaveChangesWithRetries(); } } } Windows Azure: technology cocktail 23
  • 24. Alternative Schedule • Quartz • BrokeredMessage.ScheduledEnqueueTime Windows Azure: technology cocktail 24
  • 25. Node.js Applications 1. native Windows Node.js binaries 2. iisnode module https://github.com/smarx/noderole Windows Azure: technology cocktail 25
  • 26. Caching • Windows Azure Caching • memcached Windows Azure: technology cocktail 26
  • 27. Invite Get a Windows Azure Trial Account Try out a free Windows Azure account for 30 days. • Go http://bit.ly/azure_invite, select "United States" and • Enter promo-code: FBPASS Windows Azure: technology cocktail 27
  • 28. ThX! Q? Phone: +375 (29) 264-6830 Skype: Bugaev_Roman Linkedin: http://www.linkedin.com/in/rbugaev Facebook: http://www.facebook.com/rbugaev Twitter: @rbugaev

Notas do Editor

  1. There are two core roles that server instances play in Windows Azure.The first role is the Web Role. A web role is used for web application programming in ASP.NET or PHPThe second role is the Worker Role. A worker role is used for performing work on behalf of the web role.In addition to the .NET languages, Worker Roles may be written in Ruby or Java.Worker Roles are used to improve scalability by increasing parallelism and asynchronicity.They are often used for background work.
  2. As was hopefully evident, the Azure developer experience leverages what you’re already familiar with.If you’re a .NET developer and your favorite technologies are ASP.NET, Silverlight, Windows Communication Foundation, or SQL Server you’re going to be able to use those same technologies in the cloud.You also continue to use familiar tools including Visual Studio and SQL Server Management Studio.Azure isn’t just for .NET developers, however. Most of the services in the cloud are accessible as RESTful HTTP calls. That means Java developers, PHP developers, Python developers can also use Azure.For .NET developers, the Windows Azure SDK and tools for Visual Studio gives you a cloud simulator. The Development Fabric simulates the hosting environment and Developer Storage along with SQL Express simulate cloud data storage. This means you can develop cloud applications locally, even when offline.
  3. Windows Azure provides hosting and storage and management.The Windows Azure data center infrastructure is called the Fabric and manages instances of your applications. The Fabric detects if something goes wrong and allocates replacement resources if necessary.You can host HTTP-accessed software such as web applications and web services in Windows Azure. You can also host background worker software.Windows Azure also provides non-database storage. This comes in 3 forms: blobs, queues, and data tables. Blobs are similar to files, queues are similar to enterprise queues, and data tables are record-based storage.The Windows Azure management portal allows you to create projects, deploy software, change number of instances, upgrade software, and promote between Staging and Production environments.