Download - Push notifications
Push notifications
A session for developers on a way to push data to mobiles
Dale Lanedalelane.co.uk/blog
Who
are y
ou? http://www.morguefile.com/archive/display/181197
Who am
I?
http://www.flickr.com/photos/johnseb/2457508491/
Polling is bad
Push is good
http://www.flickr.com/photos/audiinsperation/2860226817/
http://www.flickr.com/photos/chanc/1389379381/
http://www.flickr.com/photos/dushaun/3112631370/
http://www.flickr.com/photos/hippie/2475795533/
http://www.flickr.com/photos/hugosimmelink/2252095723/
http://www.flickr.com/photos/amagill/3366720659/
http://www.flickr.com/photos/shawdm/35011861/
http://www.flickr.com/photos/magda_stremeski/3823218572/
messagebroker
MQTTclient
MQTTclient
“publish”
messagebroker
MQTTclient
MQTTclient
payload
topic
Flight Times/LHR/Air Freedom/Arrivals/Flight 1024
messagebroker
MQTTclient
MQTTclient
“subscribe”
messagebroker
MQTTclient
MQTTclient
“publish”
Subscribed to:Flight Times/LHR/Air Freedom/Arrivals/Flight 1024
Flight Times/LHR/Air Freedom/Arrivals/Flight 512
messagebroker
MQTTclient
MQTTclient
“publish”
Subscribed to:Flight Times/LHR/Air Freedom/Arrivals/Flight 1024
Flight Times/LHR/Air Freedom/Arrivals/Flight 1024
# whole subtree
+one level only
wildcards
messagebroker
MQTTclient
MQTTclient
“subscribe”
Flight Times/LHR/+/Arrivals/+
messagebroker
MQTTclient
MQTTclient
“subscribe”
Flight Times/LHR/#
twitter/tweets/dalelane
subscribe to…
twitter/tweets/+
twitter/tweets/TweetDeck/dalelane
subscribe to…
twitter/tweets/twhirl/+
twitter/tweets/+/dalelane
twitter/tweets/#
POLLING
POLLIN
G
PUSH
messagebroker
messagebroker
MQTT
MQTTHTTP? REST?etc.
messagebroker
MQTTclient
MQTTclient
PO
LLIN
G
http://www.flickr.com/photos/oskay/472097903/
C
Java
Delphi Arduino
PerlPython
.NET
Ruby
PHPJ2SE & J2ME
http://www.flickr.com/photos/minxlabs/2297989507/
http://www.flickr.com/photos/minxlabs/2297989507/
http://www.flickr.com/photos/minxlabs/2297989507/
http://www.flickr.com/photos/minxlabs/2297989507/
http://del.icio.us/dalelane/ota09
http://www.flickr.com/photos/13606325@N08/2416993706/
Backup slides
“Really Small Message Broker”
“Micro Broker”
“WebSphere Message Broker”