Upload
hoangcong
View
227
Download
5
Embed Size (px)
Citation preview
RabbitMQatSkillsMa-erCloudExchange
CloudMessagingUseCases
April2010AlexisRichardsonVMwareInc.
copyright (c) VMware Inc.
Friday, 23 April 2010
RabbitMQisamessagingserverthatjustworks
Thank you!
Im in yr serverz,queueing yr messagezPhoto credit: http://flickr.com/photos/53366513@N00/67046506/
copyright (c) VMware Inc.
Friday, 23 April 2010
Wees7mate300‐500ormoreinproduc7on,>20Kindev
copyright (c) VMware Inc.
Friday, 23 April 2010
RabbitMQintegratedwithmorethan100developerplaForms
RabbitdistributedbymostLinuxtypeplaForms
WeofferpackagesformanyotherOSplaForms
RabbitMQ.NETandMicrosoOIVApartnership
UsingRabbitMQiseasy
copyright (c) VMware Inc.
Friday, 23 April 2010
545
RabbitdistributedbymostLinuxtypeplaForms
WeofferpackagesformanyotherOSplaForms
RabbitMQ.NETandMicrosoOIVApartnership
Cloudmessagingisthefuture
RabbitMQintegratedwithmorethan100developerplaForms
UsingRabbitMQiseasy
Friday, 23 April 2010
Cloudhasre‐energisedIT
copyright (c) VMware Inc.
Friday, 23 April 2010
CloudmaIersbecauseweoperateatreal7meonaglobalscale
Mobile, video, presence, live streams - anywhere, anytime
How to deliver this without lock-in to any one platform or location?
Massive amounts of data everywhere and changing all the time
Security, privacy, consistency of customer experience eg latency, relevance
Cloud Messaging matters!
copyright (c) VMware Inc.
Friday, 23 April 2010
http://railsdog.com/blog/2009/12/generating-pdfs-on-ec2-with-ruby/copyright (c) VMware Inc.
Friday, 23 April 2010
9http://railsdog.com/blog/2009/12/generating-pdfs-on-ec2-with-ruby/
Friday, 23 April 2010
Cloud+QueuesmakesiteasytomanageanARMYofworkerbots
copyright (c) VMware Inc.
Friday, 23 April 2010
WealsocareaboutSCALE...
copyright (c) VMware Inc.
Friday, 23 April 2010
WealsocareaboutSCALE...whenwecannotpredictdemand
copyright (c) VMware Inc.
Friday, 23 April 2010
Cloudapplica7onsarecomponentbasedandneedintra‐appmessagingtoscale
See more here: http://aws.typepad.com/aws/2008/12/running-everything-on-aws-soocialcom.htmlcopyright (c) VMware Inc.
Friday, 23 April 2010
Inter‐cloudapplica7onsuseinter‐applica7onmessagingtorouteanddeliverdata
!
WestEuropedatacentre
NEEuropedatacentre
SouthernEuropedatacentre
copyright (c) VMware Inc.
Friday, 23 April 2010
Inter‐cloud“securenetworkoverlay”‐usesRabbitMQunderthecovers
See http://www.cohesiveft.com/vpncubed/copyright (c) VMware Inc.
Friday, 23 April 2010
DMAC
PUBSUBatmassivescale:“TwiIerforDataintheCloud”
Service.DomainName
Region Virtual IP
Cloud IPs
See: http://www.oceanobservatories.org/spaces/display/CIDev/HomeFriday, 23 April 2010
Pubsub?wZ?
copyright (c) VMware Inc.
Friday, 23 April 2010
At scale, coping with changing data can be a problem
copyright (c) VMware Inc.
Friday, 23 April 2010
19
Socialapplica7onsstoredata
copyright (c) VMware Inc.
Friday, 23 April 2010
20
And thereʼs terabytes of it
Socialapplica7onsstoredata
copyright (c) VMware Inc.
Friday, 23 April 2010
21
And thereʼs terabytes of it
And itʼs in the cloud
Socialapplica7onsstoredata
copyright (c) VMware Inc.
Friday, 23 April 2010
Tell me when THIS changes
copyright (c) VMware Inc.
Friday, 23 April 2010
PubsubwinsbecausePollingSucks...“Arewethereyet?”,“Arewethereyet?”,..
Pubsubhubbub provides web pubsub
Pubsub Hubs are Cloud Messaging Technology
Check out RabbitHub on github for more info/code
Check out the Google teamʼs video at
http://www.youtube.com/watch?v=B5kHx0rGkec
copyright (c) VMware Inc.
Friday, 23 April 2010
Monitoringdonewrong
copyright (c) VMware Inc.
Friday, 23 April 2010
Monitoringdoneright
copyright (c) VMware Inc.
Friday, 23 April 2010
Monitoringdoneright
See: Ben Hyde’s post at http://enthusiasm.cozy.org/archives/2009/02/listening-to-the-system
copyright (c) VMware Inc.
Friday, 23 April 2010
Monitoringdoneright
27copyright (c) VMware Inc.
Friday, 23 April 2010
Monitoringdoneright
28Lots more event processing goodness here: http://blog.cloudeventprocessing.com/
copyright (c) VMware Inc.
Friday, 23 April 2010
29
PubsubgetsyouMonitoring‐andifyouaddQueuesyougetLogging
copyright (c) VMware Inc.
Friday, 23 April 2010
Recordinginforma7onisoffundamentalhumanvalue
copyright (c) VMware Inc.
Friday, 23 April 2010
Sowhatismessaging?
Messages
Pubsub
Queues
Log Storage
messagingis‘datainmoSon’anditisreallyimportantand‘themovetocloudcompuSng’willputmessagingeverywhere
copyright (c) VMware Inc.
Friday, 23 April 2010
ThereareLOTSofcloudmessagingtechnologies!
Messages
Pubsub
Queues
Log StorageAMQP, NoSQL, SQL
Routing, transforming, alertingeg SNS, ESBs and Esper CEP
Buffering, caching, filteringeg SQS, Redis
Email, Chat, Comet, BOSH, ..SMS, Twitter, ..
Trading, Cash transferSMTP, HTTP, XMPP, AMQP
AMQP, HTTP PSHB, XMPP
AMQP, (XMPP)
Archiving + searcheg Riak, Cassandra
copyright (c) VMware Inc.
Friday, 23 April 2010
...andRabbitMQ’sgoalistomakeallofthisreallysimple
Messages
Pubsub
Queues
Log StorageAMQP, NoSQL, SQL
Routing, transforming, alertingeg SNS, ESBs and Esper CEP
Buffering, caching, filteringeg SQS, Redis
Email, Chat, Comet, BOSH, ..SMS, Twitter, ..
Trading, Cash transferSMTP, HTTP, XMPP, AMQP
AMQP, HTTP PSHB, XMPP
AMQP, (XMPP)
Archiving + searcheg Riak, Cassandra
Thank you!
Im in yr serverz,queueing yr messagezPhoto credit: http://flickr.com/photos/53366513@N00/67046506/
copyright (c) VMware Inc.
Friday, 23 April 2010
RabbitMQ
TowardsaPLATFORMforCloudMessaging
copyright (c) VMware Inc.
Friday, 23 April 2010
IfcloudrequiresaCloudOS,thenismessagingtheCloudBus?
copyright (c) VMware Inc.
Friday, 23 April 2010
ForInfra,yes.Manyclouds,egNASANebula,haveaRabbitMQcloudbus:
Usecases:Inter‐VMchaIerAndlotsofManagement:RequestcapacityStart100VMs.Shutthemdown.“Iamoverloaded”“Findme‐whoamI?”“Moveme”“Backmeup”Scalebackcapacity
copyright (c) VMware Inc.
Friday, 23 April 2010
That’sgreatbutwealsoneedaPLATFORMifwearetodeployandrunapps
SaaS cloud applications
PaaSeg RabbitMQ on Heroku
IaaSeg Rabbit at NASA
copyright (c) VMware Inc.
Friday, 23 April 2010
PlaZormasaserviceexample:Heroku!
SaaS cloud applications
PaaSeg RabbitMQ on Heroku
IaaSeg Rabbit at NASA
copyright (c) VMware Inc.
Friday, 23 April 2010
Conceptually:aplaZormrepresentsfreedomfromcomplexity
App AppApp
Scalablecloudbus‐runasmanyasyoulike(Rabbitisopensourceandcanrunonanycloudasits‘centralnervoussystem’)
IaaS infra is hidden
copyright (c) VMware Inc.
Friday, 23 April 2010
Pubsubismadesimple‐likeappstwee7ngateachother!
App AppApp
“hey” “hey”“hey”
copyright (c) VMware Inc.
Friday, 23 April 2010
Queuesareeasytoo
App AppApp
“hey”
“hey”
copyright (c) VMware Inc.
Friday, 23 April 2010
Queuesareeasytoo
App AppAppApp
“hey”
copyright (c) VMware Inc.
Friday, 23 April 2010
Bybeing100%open‐wecanalsodointercloudjustassimply!
Intra-App Intra-Cloud Inter-Cloud
Rabbit Cloud Service
Rabbit Cloud Service
Rabbit Cross-cloud Services
Rabbit inside the Cloud VM
RabbitMQ as infra: “Cloud Bus”
Federated RabbitMQIaaS
PaaS
copyright (c) VMware Inc.
Friday, 23 April 2010
44
Tobridgeprivateandpublicclouds,opensourceandopenstandardsarebest
SAY NO TO
CLOUD
LOCK IN
(CC) Giara @flickr.com copyright (c) VMware Inc.
Friday, 23 April 2010
Summary‐cloudsbreakthelinkbetweenapplica7onandloca7on
Can’t predict where apps and VMs are running
Can’t predict scale
Design for DATA IN MOTION
In motion VMs need PUBSUB and ROUTING like with cell phones
VMs suspended or offline need QUEUES
Messaging lets you ‘dial up’ VMs and broadcast changes safely
copyright (c) VMware Inc.
Friday, 23 April 2010
Solu7on‐RabbitMQistheopencloudmessagingplaZorm
Fantastic community support for messaging intra app
Language neutral open protocols for messaging inter app
Federation - bridge private and public ‘intercloud’
Cloud Bus for IaaS
Messaging PaaS
copyright (c) VMware Inc.
Friday, 23 April 2010
Solu7on‐RabbitMQasanopencloudmessagingplaZorm
We’ll manage messaging for you
Scalable, easy to use
Completely portable - no lock in
Pre-provisoned - zero install, pay as you go, self-service
Latency is low: Application logic and data are CO-LOCATED
WIN
copyright (c) VMware Inc.
Friday, 23 April 2010
RichWolski,CTOandFounder,Eucalyptus
“pre-ymucheverythingyouownisgoingtobetryingtosendyoudata”
StefanNorberg,ChiefArchitect,Unibet
“Ifyouremovetheneedtoinvestininfrastructure,theneedtotrainpeopleontheoperaSonalaspectsandthengetexcellentscalabilityandlowlatencyguaranteedbycontract,I’dbuyitinasecond.WhowillprovidemewiththeRealTimeWebasaservice?”
copyright (c) VMware Inc.
Friday, 23 April 2010
Thank‐you
Email:[email protected]
Getstarted:h-p://www.rabbitmq.com/how.html
copyright (c) VMware Inc.
Friday, 23 April 2010