SlideShare uma empresa Scribd logo
1 de 28
itcampro@ itcamp13# Premium conference on Microsoft technologies
Broadcasting Music from the
Cloud
Andy Cross
Windows Azure MVP
Elastacloud
@andybareweb
blog.elastacloud.com
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudHuge thanks to our sponsors!
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Real Time Web
• Social media is the new telephone
• Spotify API
• Synchronicity
• SignalR
• Windows Azure Websites
• Service Bus
• ROCK!!!
Agenda
itcampro@ itcamp13# Premium conference on Microsoft technologies
REAL TIME WEB
What is the
Any sufficiently advanced technology is
indistinguishable from magic.
Arthur C Clarke
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• A history!
– HTML
– Javascript
– Iframes
– XmlHttp
– AJAX
– JSONP
– Web Sockets
Real Time Web
itcampro@ itcamp13# Premium conference on Microsoft technologies
Facebooks’ Real Time Web
Facebook has multiple real time web features, such as the news
feed and messaging
itcampro@ itcamp13# Premium conference on Microsoft technologies
Twitters’ Real Time Web
Twitter is perhaps the ultimate in real time web opportunities, but
even it struggles with *n more tweets*
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• With great advantages
– Instant messaging
– Responsive user interfaces
– Collaboration and sharing
• Come some great problems
– Scalability
• Concurrent connections
• Server load
– Complexity of client
Real time web pitfalls
itcampro@ itcamp13# Premium conference on Microsoft technologies
SOCIAL MEDIA
If you want to share music, the 1990s were better than
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Billions of users of facebook
• Imagine sharing music on there.
– READY. STEADY. GO!!!
• My real time is not your real time
• If we want to build engagement on
– Brand
– Concept
– Movement
• we must engage simultaneously
Social Media
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudThe Real Time Web
itcampro@ itcamp13# Premium conference on Microsoft technologies
SPOTIFY
Broadcast Music to
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Spotify is a 4 year old ‘start up’
– Streaming music
– Integrated apps
• Apps are written in HTML5 and JS
– Chromium Embedded
• Its API for apps gives every song a URI
– spotify:track:12345679abc
• We will distribute these URIs along with a
Play command
Spotify
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
function playTrack(data) {
console.log(data);
player.playTrack(models.Track.fromURI(data)).d
one(function ()
{
//this is a promise update the ui maybe
});
Example Spotify code
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Introducing Goose
• Geese fly together.
• Geese fly in flocks.
• There is a lead goose in the flock
• The rest are tail geese.
• Geese honk
• Geese sing
• Geese flap
Using the Real Time Web to fix this
itcampro@ itcamp13# Premium conference on Microsoft technologies
SYNCHRONICITY?
But how do we achieve
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• We can send a Play command to individuals.
• How can we combine the Real Time Web
with this?
My real time is not your real time
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• We cannot just send PLAY commands
– What if we join part way through a song
– Nothing would be played until we completed the
song
• We also track the LEAD GOOSE’s position
My real time is not your real time
itcampro@ itcamp13# Premium conference on Microsoft technologies
ASP.NET SIGNALR
Technologies for the Real Time Web
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudWhat does SignalR try to fix?
Here’s some data!
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudHow does it fix it?
Yeah, dude!
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudComponents
itcampro@ itcamp13# Premium conference on Microsoft technologies
WINDOWS AZURE WEBSITES
Scalable Hosting
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Start on Free
– And continue for dev/test
• Production uses Reserved Mode
– Custom URL
– Scalable as easily as:
Not a lightweight option
itcampro@ itcamp13# Premium conference on Microsoft technologies
SERVICE BUS BACKPLANE
SignalR scale out
itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudScaling with the Service Bus
itcampro@ itcamp13# Premium conference on Microsoft technologies
ROCK! HONK!
Enough talk!
itcampro@ itcamp13# Premium conference on Microsoft technologies
Q & A

Mais conteúdo relacionado

Destaque

Data liberty in an age post sql - with pizazz - as presented at cloudburst
Data liberty in an age post sql - with pizazz - as presented at cloudburstData liberty in an age post sql - with pizazz - as presented at cloudburst
Data liberty in an age post sql - with pizazz - as presented at cloudburstandyelastacloud
 
Windows Azure and Embedded Devices
Windows Azure and Embedded DevicesWindows Azure and Embedded Devices
Windows Azure and Embedded Devicesandyelastacloud
 
Software Business srl - Evento "Innovazione e Semplificazione"
Software Business srl - Evento "Innovazione e Semplificazione"Software Business srl - Evento "Innovazione e Semplificazione"
Software Business srl - Evento "Innovazione e Semplificazione"Software Business Srl
 
Exploring iTunes, iTunes and iBooks
Exploring iTunes, iTunes and iBooks Exploring iTunes, iTunes and iBooks
Exploring iTunes, iTunes and iBooks Lucy Gray
 
Spotify. Strategy to remain the leader in the music industry.
Spotify. Strategy to remain the leader in the music industry.Spotify. Strategy to remain the leader in the music industry.
Spotify. Strategy to remain the leader in the music industry.Palina Supeyeva
 
Andrew Mager, Spotify
Andrew Mager, SpotifyAndrew Mager, Spotify
Andrew Mager, SpotifyMashery
 
Spotify's business model and copyright infringement issue
Spotify's business model and copyright infringement issueSpotify's business model and copyright infringement issue
Spotify's business model and copyright infringement issueYeonKyung Lee
 
Quality Built In @ Spotify
Quality Built In @ SpotifyQuality Built In @ Spotify
Quality Built In @ SpotifyAndrii Dzynia
 
Empowering Engineering Talent - an update from Spotify
Empowering Engineering Talent - an update from SpotifyEmpowering Engineering Talent - an update from Spotify
Empowering Engineering Talent - an update from SpotifyKevin Goldsmith
 
Music Business Threats & Opportunities
Music Business Threats & OpportunitiesMusic Business Threats & Opportunities
Music Business Threats & OpportunitiesChristopher Baker
 
Insights driven design at Spotify
Insights driven design at SpotifyInsights driven design at Spotify
Insights driven design at SpotifyOscar Carlsson
 
Business Models in the Music Industry
Business Models in the Music IndustryBusiness Models in the Music Industry
Business Models in the Music IndustryCamilla van den Boom
 

Destaque (20)

Data liberty in an age post sql - with pizazz - as presented at cloudburst
Data liberty in an age post sql - with pizazz - as presented at cloudburstData liberty in an age post sql - with pizazz - as presented at cloudburst
Data liberty in an age post sql - with pizazz - as presented at cloudburst
 
Windows Azure and Embedded Devices
Windows Azure and Embedded DevicesWindows Azure and Embedded Devices
Windows Azure and Embedded Devices
 
Geese, geeks and greeks
Geese, geeks and greeksGeese, geeks and greeks
Geese, geeks and greeks
 
UKWAUG Hackathon
UKWAUG HackathonUKWAUG Hackathon
UKWAUG Hackathon
 
Distro compute
Distro computeDistro compute
Distro compute
 
Presentacion
Presentacion Presentacion
Presentacion
 
Software Business srl - Evento "Innovazione e Semplificazione"
Software Business srl - Evento "Innovazione e Semplificazione"Software Business srl - Evento "Innovazione e Semplificazione"
Software Business srl - Evento "Innovazione e Semplificazione"
 
Exploring iTunes, iTunes and iBooks
Exploring iTunes, iTunes and iBooks Exploring iTunes, iTunes and iBooks
Exploring iTunes, iTunes and iBooks
 
Spotify. Strategy to remain the leader in the music industry.
Spotify. Strategy to remain the leader in the music industry.Spotify. Strategy to remain the leader in the music industry.
Spotify. Strategy to remain the leader in the music industry.
 
Andrew Mager, Spotify
Andrew Mager, SpotifyAndrew Mager, Spotify
Andrew Mager, Spotify
 
Digital Music
Digital MusicDigital Music
Digital Music
 
Spotify's business model and copyright infringement issue
Spotify's business model and copyright infringement issueSpotify's business model and copyright infringement issue
Spotify's business model and copyright infringement issue
 
Digital music marketing
Digital music marketingDigital music marketing
Digital music marketing
 
Quality Built In @ Spotify
Quality Built In @ SpotifyQuality Built In @ Spotify
Quality Built In @ Spotify
 
Swot analysis
Swot analysisSwot analysis
Swot analysis
 
Empowering Engineering Talent - an update from Spotify
Empowering Engineering Talent - an update from SpotifyEmpowering Engineering Talent - an update from Spotify
Empowering Engineering Talent - an update from Spotify
 
Music Business Threats & Opportunities
Music Business Threats & OpportunitiesMusic Business Threats & Opportunities
Music Business Threats & Opportunities
 
Insights driven design at Spotify
Insights driven design at SpotifyInsights driven design at Spotify
Insights driven design at Spotify
 
Spotify: Data center & Backend buildout
Spotify: Data center & Backend buildoutSpotify: Data center & Backend buildout
Spotify: Data center & Backend buildout
 
Business Models in the Music Industry
Business Models in the Music IndustryBusiness Models in the Music Industry
Business Models in the Music Industry
 

Semelhante a Broadcasting music from the cloud

ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...ITCamp
 
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance ToolsITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance ToolsITCamp
 
ITCamp 2013 - Petru Jucovschi - Application ecosystems
ITCamp 2013 - Petru Jucovschi - Application ecosystemsITCamp 2013 - Petru Jucovschi - Application ecosystems
ITCamp 2013 - Petru Jucovschi - Application ecosystemsITCamp
 
How # (sharp) is Your Katana (Ciprian Jichici)
How # (sharp) is Your Katana (Ciprian Jichici)How # (sharp) is Your Katana (Ciprian Jichici)
How # (sharp) is Your Katana (Ciprian Jichici)ITCamp
 
The New Era of Code in the Cloud (Bogdan Toporan)
The New Era of Code in the Cloud (Bogdan Toporan)The New Era of Code in the Cloud (Bogdan Toporan)
The New Era of Code in the Cloud (Bogdan Toporan)ITCamp
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp
 
ITCamp 2011 - Melania Danciu - Mobile apps
ITCamp 2011 - Melania Danciu - Mobile appsITCamp 2011 - Melania Danciu - Mobile apps
ITCamp 2011 - Melania Danciu - Mobile appsITCamp
 
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitchITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitchITCamp
 
Developing for Windows Phone 8.1
Developing for Windows Phone 8.1Developing for Windows Phone 8.1
Developing for Windows Phone 8.1Dan Ardelean
 
Developing for Windows Phone 8.1 (Dan Ardelean)
Developing for Windows Phone 8.1 (Dan Ardelean)Developing for Windows Phone 8.1 (Dan Ardelean)
Developing for Windows Phone 8.1 (Dan Ardelean)ITCamp
 
ITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
ITCamp 2011 - Mihai Tataran, Tudor Damian - KeynoteITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
ITCamp 2011 - Mihai Tataran, Tudor Damian - KeynoteITCamp
 
Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)
Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)
Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)ITCamp
 
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Everyone Loves Docker Containers Before They Understand Docker Containers - A...Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Everyone Loves Docker Containers Before They Understand Docker Containers - A...ITCamp
 
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep diveITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep diveITCamp
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Enea Gabriel
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynotegoodfriday
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynotegoodfriday
 
Busy Developers Guide to AngularJS (Tiberiu Covaci)
Busy Developers Guide to AngularJS (Tiberiu Covaci)Busy Developers Guide to AngularJS (Tiberiu Covaci)
Busy Developers Guide to AngularJS (Tiberiu Covaci)ITCamp
 
Data-First Online Functional Programming with F# (Adam Granicz)
Data-First Online Functional Programming with F# (Adam Granicz)Data-First Online Functional Programming with F# (Adam Granicz)
Data-First Online Functional Programming with F# (Adam Granicz)ITCamp
 
Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)ITCamp
 

Semelhante a Broadcasting music from the cloud (20)

ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
ITCamp 2013 - Lorant Domokos - Chasing the one codebase, multiple platforms d...
 
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance ToolsITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
ITCamp 2013 - Martin Kulov - Demystifying Visual Studio 2012 Performance Tools
 
ITCamp 2013 - Petru Jucovschi - Application ecosystems
ITCamp 2013 - Petru Jucovschi - Application ecosystemsITCamp 2013 - Petru Jucovschi - Application ecosystems
ITCamp 2013 - Petru Jucovschi - Application ecosystems
 
How # (sharp) is Your Katana (Ciprian Jichici)
How # (sharp) is Your Katana (Ciprian Jichici)How # (sharp) is Your Katana (Ciprian Jichici)
How # (sharp) is Your Katana (Ciprian Jichici)
 
The New Era of Code in the Cloud (Bogdan Toporan)
The New Era of Code in the Cloud (Bogdan Toporan)The New Era of Code in the Cloud (Bogdan Toporan)
The New Era of Code in the Cloud (Bogdan Toporan)
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
 
ITCamp 2011 - Melania Danciu - Mobile apps
ITCamp 2011 - Melania Danciu - Mobile appsITCamp 2011 - Melania Danciu - Mobile apps
ITCamp 2011 - Melania Danciu - Mobile apps
 
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitchITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
ITCamp 2013 - Melania Danciu - HTML5 apps with LightSwitch
 
Developing for Windows Phone 8.1
Developing for Windows Phone 8.1Developing for Windows Phone 8.1
Developing for Windows Phone 8.1
 
Developing for Windows Phone 8.1 (Dan Ardelean)
Developing for Windows Phone 8.1 (Dan Ardelean)Developing for Windows Phone 8.1 (Dan Ardelean)
Developing for Windows Phone 8.1 (Dan Ardelean)
 
ITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
ITCamp 2011 - Mihai Tataran, Tudor Damian - KeynoteITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
ITCamp 2011 - Mihai Tataran, Tudor Damian - Keynote
 
Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)
Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)
Database and Public EndPoints Redundancy on Azure (Radu Vunvulea)
 
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Everyone Loves Docker Containers Before They Understand Docker Containers - A...Everyone Loves Docker Containers Before They Understand Docker Containers - A...
Everyone Loves Docker Containers Before They Understand Docker Containers - A...
 
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep diveITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
Elements of DDD with ASP.NET MVC & Entity Framework Code First v2
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynote
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynote
 
Busy Developers Guide to AngularJS (Tiberiu Covaci)
Busy Developers Guide to AngularJS (Tiberiu Covaci)Busy Developers Guide to AngularJS (Tiberiu Covaci)
Busy Developers Guide to AngularJS (Tiberiu Covaci)
 
Data-First Online Functional Programming with F# (Adam Granicz)
Data-First Online Functional Programming with F# (Adam Granicz)Data-First Online Functional Programming with F# (Adam Granicz)
Data-First Online Functional Programming with F# (Adam Granicz)
 
Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)
 

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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 Takeoffsammart93
 
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 WoodJuan lago vázquez
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
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 Processorsdebabhi2
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
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
 

Broadcasting music from the cloud

  • 1. itcampro@ itcamp13# Premium conference on Microsoft technologies Broadcasting Music from the Cloud Andy Cross Windows Azure MVP Elastacloud @andybareweb blog.elastacloud.com
  • 2. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public CloudHuge thanks to our sponsors!
  • 3. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • Real Time Web • Social media is the new telephone • Spotify API • Synchronicity • SignalR • Windows Azure Websites • Service Bus • ROCK!!! Agenda
  • 4. itcampro@ itcamp13# Premium conference on Microsoft technologies REAL TIME WEB What is the Any sufficiently advanced technology is indistinguishable from magic. Arthur C Clarke
  • 5. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • A history! – HTML – Javascript – Iframes – XmlHttp – AJAX – JSONP – Web Sockets Real Time Web
  • 6. itcampro@ itcamp13# Premium conference on Microsoft technologies Facebooks’ Real Time Web Facebook has multiple real time web features, such as the news feed and messaging
  • 7. itcampro@ itcamp13# Premium conference on Microsoft technologies Twitters’ Real Time Web Twitter is perhaps the ultimate in real time web opportunities, but even it struggles with *n more tweets*
  • 8. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • With great advantages – Instant messaging – Responsive user interfaces – Collaboration and sharing • Come some great problems – Scalability • Concurrent connections • Server load – Complexity of client Real time web pitfalls
  • 9. itcampro@ itcamp13# Premium conference on Microsoft technologies SOCIAL MEDIA If you want to share music, the 1990s were better than
  • 10. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • Billions of users of facebook • Imagine sharing music on there. – READY. STEADY. GO!!! • My real time is not your real time • If we want to build engagement on – Brand – Concept – Movement • we must engage simultaneously Social Media
  • 11. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public CloudThe Real Time Web
  • 12. itcampro@ itcamp13# Premium conference on Microsoft technologies SPOTIFY Broadcast Music to
  • 13. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • Spotify is a 4 year old ‘start up’ – Streaming music – Integrated apps • Apps are written in HTML5 and JS – Chromium Embedded • Its API for apps gives every song a URI – spotify:track:12345679abc • We will distribute these URIs along with a Play command Spotify
  • 14. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud function playTrack(data) { console.log(data); player.playTrack(models.Track.fromURI(data)).d one(function () { //this is a promise update the ui maybe }); Example Spotify code
  • 15. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • Introducing Goose • Geese fly together. • Geese fly in flocks. • There is a lead goose in the flock • The rest are tail geese. • Geese honk • Geese sing • Geese flap Using the Real Time Web to fix this
  • 16. itcampro@ itcamp13# Premium conference on Microsoft technologies SYNCHRONICITY? But how do we achieve
  • 17. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • We can send a Play command to individuals. • How can we combine the Real Time Web with this? My real time is not your real time
  • 18. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • We cannot just send PLAY commands – What if we join part way through a song – Nothing would be played until we completed the song • We also track the LEAD GOOSE’s position My real time is not your real time
  • 19. itcampro@ itcamp13# Premium conference on Microsoft technologies ASP.NET SIGNALR Technologies for the Real Time Web
  • 20. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public CloudWhat does SignalR try to fix? Here’s some data!
  • 21. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public CloudHow does it fix it? Yeah, dude!
  • 22. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public CloudComponents
  • 23. itcampro@ itcamp13# Premium conference on Microsoft technologies WINDOWS AZURE WEBSITES Scalable Hosting
  • 24. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public Cloud • Start on Free – And continue for dev/test • Production uses Reserved Mode – Custom URL – Scalable as easily as: Not a lightweight option
  • 25. itcampro@ itcamp13# Premium conference on Microsoft technologies SERVICE BUS BACKPLANE SignalR scale out
  • 26. itcampro@ itcamp13# Premium conference on Microsoft technologies Private & Public CloudScaling with the Service Bus
  • 27. itcampro@ itcamp13# Premium conference on Microsoft technologies ROCK! HONK! Enough talk!
  • 28. itcampro@ itcamp13# Premium conference on Microsoft technologies Q & A