Upload
vanphuc
View
229
Download
0
Embed Size (px)
Citation preview
m2m MQTT for Connected Car
Joe Speed
IBM m2m Sales Leader
linkedin.com/in/joespeed
HTTP is last century’s technology
1. not designed for wireless
2. slow, fragile and kills batteries
3. obsolete synchronous request/response model
4. no quality of service (QoS), no reliable messaging
5. poor solution for mobile, push marketing, automotive
6. not green, requires 1,000 HTTP web servers to handle what can
be done w 1 rack of latest technology
Facebook Messenger
(567, 240)
Verizon Wireless Overall Rating
Security
Battery Consumption
Data Usage
600M mobile users, highly rated, very fast, very low battery use
Speed of its user experience is a big competitive advantage source: http://support.verizonwireless.com/information/app_ranking/apps/facebook-messenger.html Source: https://play.google.com/store/apps/details?id=com.facebook.orca Source: https:/facebook.com
“.. performance improvements designed to make your messaging experience even better. To do this without killing battery life, we used a protocol called MQTT … designed to use bandwidth and batteries sparingly… phone-to-phone in hundreds of milliseconds, rather than multiple seconds.”
- Lucy Zhang, Facebook Engineer www.facebook.com/lucyz
• lightweight publish/subscribe with QoS
• Open Standard, Oasis MQTT TC
mqtt.org oasis-open.org
• Open Source, IBM donated
eclipse.org/paho
• 93x higher mobile throughput
• 11.89x less battery to send
• 170.9x less battery to receive
• 8x less wireless bandwidth overhead
• 50µs app-to-app on fast network
Source: http://stephendnicholas.com/archives/1217
m2m MQTT engineered for wireless
HTTPS MQTT
receive / hour 1,708 160,278
% battery / message 0.01709 0.00010
send / hour 1,926 21,685
% battery /message 0.00975 0.00082
m2m MQTT Subscribe topics of interest
Price/Fruit/Apples
Price/Fruit/Oranges
Price/Vegetables/Potatoes
Price/Vegetables/Onions
Price
Fruit
Apples Oranges
Vegetables
Potatoes Onions
m2m MQTT Publish / Subscribe
Few-to-many: Research, news tickers
Many-to-many: Prices and Quotes
Many-to-few: Orders, Telematics, Biometrics
m2m MQTT “Condition Based Maintenance”
17,000km pipeline network with
real-time monitoring and control
Pumps Spill location Refineries Pressure Temperature Storage
30,000 low-power, low bandwidth m2m sensors
operations center
detects, predicts, acts
topics
m2m “Connected Patient” for a better quality of life
St Jude Medical clinicians monitor & manage heart pacemaker patients at home
m2m for fast response to abnormal rhythms and fewer office visits
source: sjm.com
m2m “Connected Soldier” for safety of troops
Command
m2m sensors, medical monitoring, communications
battlefield optimized m2m very low power & bandwidth
auto-discovering, self-correcting m2m “Information Fabric
Demo video
m2m “Connected Car” for telematics, infotainment, mobile
Smartcar
Find my car
Unlock my car
vibration detected, details published
schedules appointment with car owner
predicts part failure
m2m Big Data with InfoSphere Streams Geospatial
• Detect & Respond in µs at millions of events / second
• Correlation, Filtering, Geospatial, Time-series
• Great for mobile offers, location-based notifications
© 2013 IBM Corporation 12
Performance Simple Average Complex
latency 11 µs 38 µs 115 µs
pub / sub
MQTT
HTML5 WebSocket
m2m messaging
Content
Insurers OEM
Apps
MQ
MQTT & WebSocket
InfoSphere
Streams
m2m MQTT for mobile and car
Live Demo Demo video
lightweight pub/sub w QoS Open Standard mqtt.org Open Source eclipse.org/paho
93x higher mobile throughput
11.89x less battery to send
170.9x less battery to receive
8x less wireless overhead
50µs app-to-app on fast network
millions of connections
million of events
high density, very green
Nati
ve
H
TM
L, C
SS
, JavaS
cri
pt
Worklight API
Worklight Hybrid app - HTML5, CSS, JavaScript, Images
Device APIs
Worklight Javascript API
Common
Controls Device API
Worklight API
messaging javascript
MQTT plugin
m2m MQTT PhoneGap plugin built on IBM contributed eclipse paho eclipse.org/paho
MQTT for JavaScript
JavaScript to native Bridge (PhoneGap)
14
m2m MQTT for HTML5 and hybrid apps
m2m MQTT for “Enterprise Grade Push”
Google GCM Apple APNS MQTT
interactive No, push to mobile only No, push to mobile only Yes, push/push, bi-directional
content JSON, plaintext? 4KB max
JSON only, 256 bytes max
any, 256MB max per message
SLA, QoS, latency
None, no assurance, response time varies, no delivery guarantee*
None, low QoS - last msg only, limited retention, time varies*
Yes, you own the SLA, high - QoS[0-2] 20μs on fast network
security Multi-hop, 3rd party, not in your control
Multi-hop, 3rd party, not in your control
end-to-end security is in your control, mutual auth TLS 1.2
publish /subscribe
No. max 1k recipients, must explicitly list each
No. must send per receiver, limit 2k per connection
Yes. pub/sub for large #, 1 to millions. Flexibly subscribe topics
platforms proprietary to Android proprietary to iOS open standard, open source
HTML5, QNX, Linux, WinCE, Android, iOS, et al. 47 clients, Java, C, javascript, PHP, etc
Visit the Industry Zone at the Solution Center
to view demonstrations on lifecycle visibility
and mobile applications that enhance
enterprise agility and outlook towards
customer service / interaction
Explore this exceptional opportunity to meet
client speakers and IBM experts and discuss
the latest trends and developments that are
transforming automotive processes from
manufacturing to back-office automation
and front-end marketing
Learn about the comprehensive suite of IBM
solutions supporting mobility and connectivity
– technologies that are driving the auto
industry into the new era of next generation
Connected Vehicle
Register Today!
ibm.com/impact
#ibmimpact
for Insurance
Learn how you can move faster by putting your business in
motion. IBM clients from all industries are finding ways to stay
ahead of their competition and client needs
•Increased accuracy of production lead time up to 90%
•$30 million saved over 6 month window on warranty claim
processing costs
•$2.5 million in savings on a product lifecycle management (PLM)
product
•Realized process changes of 15 days versus 2 months
•Reduced “engineering” time of designers on car systems by
20% in one year
The question is how did they do it? You can find the answers at
Impact 2013. Attend Impact 2013 and learn how from the experts
themselves.
3 Reasons To Attend Impact for Automotive Solutions
m2m + Big Data
youtube.com/mqontv demos
mqtt.org
eclipse.org/paho MQTT source code
MQTT RSMB micro-server download
MQTT mesh fabric source code�
Big Data Analytics – Streams
Joe Speed
linkedin.com/in/joespeed
17
m2m “Connected Home”
Head Office
Subscribed TV, shows
incoming call
Millions of these homes subscribing
& publishing events to head office
m2m “Connected City” for public’s safety
Demo video
“response time = revenue”
• Amazon says 100ms delay costs 1% revenue
• Google says +0.5 second drops user traffic 20%
• Retailer discovered halving response time
increased online revenue 219%
• Slowdowns cost 2x more revenue than outages
• Marissa Mayer said of Google’s performance:
"Users really respond to speed. Speed matters.
People do not like to wait. Do not make them.”
Latency is everywhere and it costs you sales
sources: gomez, strangeloopnetworks