SlideShare a Scribd company logo
1 of 21
Download to read offline
Imagination at work
CF & IoT Protocol Support
Atul Kshirsagar
Senior Engineer, GE Software
Dedicated Committer, CF Diego Project
May 11, 2015
3
Protocol Landscape – GE Usecase
P
Predix
ERP / CRM
Predix Go
L P F L P
Data
historian
HMI
station
Engineering
workstations
PrinterControl server
(SCADA - MTU)
Serial based radio
Cellular, satellite, mesh, P/
ethernet or
serial communication
Control server
(SCADA - MTU)
P P
PumpValve PumpValve
Pressure
sensor
Flow
sensor
Level
sensor
Pressure
sensor
Flow
sensor
Level
sensor
RTUPLC
Modem
gateway
P
Local
access
Remote
station
Remote
station
Modem
gateway
F
Modem
gateway
HML
station
Corporate enterprise
network
WAN
Primary control center
Backup control center
Regional control center
Data
historian
P
MODBUS OPC-UA OPC-UA MTConnect
DDS
DDS DDS DDS
DDS
MQTT
S2S
XMPP
HTTP
Binary
PROFINET MODBUS
CDMA FDMA
TDMA
HTTPRMI
SFTP SMTP
AMQP
Asset
optimization
Operations
optimization
GE | Non-GE
Predix-ready
MACHINES and industrial
devices
Industrial Internet apps
powered by Predix
Cloud Infrastructure
•  Scalable
•  Elastic
•  Reliable
•  Trusted end-to-end
Cloud Foundry
Industrial Microservices Catalog
Application services
Infrastructure services
•  Built by GE,
customers,
partners
Machine
Embedded
Discover Code Deploy Operate Monetize
•  BizOps
•  DevOps
•  Community
Asset Performance Management (APM) Operations Optimization
Predix* Industrial Internet Platform - Architecture
Predix is a trademark of General Electric Company.
IoT Protocols
IoT Protocols
CF
Go router
App1
App2
App3
mqtt://app1
http://app1
Sensor/Device/
Gateway
Cloud Foundry Protocols
App1
App2
MQTT
Service
Sensor/Device/
Gateway
Go router
App3
http://app1
mqtt://iotservice
Service
Broker
CF Service
Cloud Foundry Services
Option 1 – Layer 7 Router
•  Pluggable architecture for protocol specific
proxies
•  Routes traffic to protocol specific proxies based
on standard ports
•  Protocol proxy then routes traffic to appropriate
app/instance based on routing table
App nApp3App2App1
Layer 7 routerLayer 7 router
MQTT DDS XMPP
App1 App2 App3 App n
Load Balancer
1883 7400 5222
Option 1 – Layer 7 Router
•  Pluggable architecture for protocol specific
proxies
•  Routes traffic to protocol specific proxies based
on standard ports
•  Protocol proxy then routes traffic to appropriate
app/instance based on routing table
Pros
•  Standard ports exposed for protocols
•  Scalable
•  Extensible as more protocol proxies can
be added on needed basis
•  Router services could be developed
Cons
•  Support for each protocol needs to be
developed independently
•  Difficult for protocol proxies to decipher
logical targets
App nApp3App2App1
Layer 7 routerLayer 7 router
MQTT DDS XMPP
App1 App2 App3 App n
Load Balancer
1883 7400 5222
bit 7 6 5 4 3 2 1 0
byte 1 Message type (1) DUP Flag QoS Level RETAIN
byte 2 Remaining length
Fixed Header
Variable Headers for CONNECT
Protocol Name (8 bytes)
Protocol Version (1 byte)
Connect flags (1 byte)
Keep Alive timer (2 bytes)
Header extensions to support protocol specific router plugins requires client-side updates – doesn’t work for IOT!
MQTT Headers
7 6 5 4 3 2 1 0
User
name
flag
Pass
word
flag
Will
RETAIN
Will
QoS
Will
QoS
Will
flag
Clean
Session
Reserved
Option 2 – Layer 4 (TCP) Router
•  Map external port on router to an app
•  Route traffic on mapped port to appropriate app
•  Specify mapping of router port to app as part of
cf cli
•  Mechanisms to detect and report port conflicts
App3 App4App1App1
Layer 4 routerLayer 4 router
Load
Balancer
TCP router - 1
App1 App2 App4
1883 52225222
1883 5222 5222
TCP router - 2
Load
Balancer
App3
5222
51216
Option 2 – Layer 4 (TCP) Router
•  Map external port on router to an app
•  Route traffic on mapped port to appropriate app
•  Specify mapping of router port to app as part of
cf cli
•  Mechanisms to detect and report port conflicts
Pros
•  Ability to support almost all layer 7
protocol (including but not limited
to IoT protocols)
•  Reduced complexity
Cons
•  May have to use of non standard ports
•  Number of apps that can have non-
http traffic is limited
•  Number of ports on router ( ~ 64K)
•  Number of front end IPs
App3 App4App1App1
Layer 4 routerLayer 4 router
Load
Balancer
TCP router - 1
App1 App2 App4
1883 52225222
1883 5222 5222
TCP router - 2
Load
Balancer
App3
5222
51216
Layer 4 (TCP) Router - Architecture
Layer 4 (TCP) Router - Architecture
•  As apps get placed/moved emit the information to router
•  Update the tcp router config to forward the traffic to appropriate
host IP/Port
Route TCP traffic
•  During Config changes
Zero downtime
Rolling deploy
Layer 4 (TCP) Router – Goals
Load balancing among app instances
•  Is the host IP/Port in routing table still reachable
Health checks
•  Simultaneous connections
•  Connection rate
Traffic shaping/limiting
Managing backend ports
Layer 4 (TCP) Router - Goals
•  Cloud controller changes
Reserve front end IP/Port combination
•  CLI changes
Add/Remove/Show mapping
Application manifest to support new mapping
Layer 4 (TCP) Router – Goals
Summary
Layer 4 (TCP) router to provide IoT protocols (and more)
support in CF
1
Will be hosted in cloudfoundry-incubator2
Feedback/contributions are welcome
•  IoT usecases
•  Contact atul.kshirsagar@ge.com or scoen@pivotal.io
3
Imagination at work
Q&A
General Electric Company reserves the right to make changes in specifications and features, or discontinue the product or service described at any time, without notice or obligation. These materials do
not constitute a representation, warranty or documentation regarding the product or service featured. Illustrations are provided for informational purposes, and your configuration may differ.
This information does not constitute legal, financial, coding, or regulatory advice in connection with your use of the product or service. Please consult your professional advisors for any such advice.
No part of this document may be distributed, reproduced or posted without the express written permission of General Electric Company.
GE, Predixand the GE Monogram are trademarks of General Electric Company.
©2015 General Electric Company – All rights reserved.

More Related Content

What's hot

What's hot (20)

PEM2: Control Applications Portfolio from GE Power
PEM2: Control Applications Portfolio from GE PowerPEM2: Control Applications Portfolio from GE Power
PEM2: Control Applications Portfolio from GE Power
 
RA TechED 2019 - SY08 - Developing Information Ready Applications using Smart...
RA TechED 2019 - SY08 - Developing Information Ready Applications using Smart...RA TechED 2019 - SY08 - Developing Information Ready Applications using Smart...
RA TechED 2019 - SY08 - Developing Information Ready Applications using Smart...
 
RA TechED 2019 - CL02 - Integrated Architecture System Software What's New
RA TechED 2019 - CL02 -  Integrated Architecture System Software What's NewRA TechED 2019 - CL02 -  Integrated Architecture System Software What's New
RA TechED 2019 - CL02 - Integrated Architecture System Software What's New
 
RA TechED 2019 - SY07- Next-Gen Device Library of Preconfigured Objects
RA TechED 2019 - SY07- Next-Gen Device Library of Preconfigured ObjectsRA TechED 2019 - SY07- Next-Gen Device Library of Preconfigured Objects
RA TechED 2019 - SY07- Next-Gen Device Library of Preconfigured Objects
 
RA TechED 2019 - IN02 - Empower Your Connected Enterprise with FactoryTalk In...
RA TechED 2019 - IN02 - Empower Your Connected Enterprise with FactoryTalk In...RA TechED 2019 - IN02 - Empower Your Connected Enterprise with FactoryTalk In...
RA TechED 2019 - IN02 - Empower Your Connected Enterprise with FactoryTalk In...
 
Learn how Intuit created an application-aware network performance platform
Learn how Intuit created an application-aware network performance platformLearn how Intuit created an application-aware network performance platform
Learn how Intuit created an application-aware network performance platform
 
IIA1: Industrial Control Systems 101 (Predix Transform 2016)
IIA1: Industrial Control Systems 101 (Predix Transform 2016)IIA1: Industrial Control Systems 101 (Predix Transform 2016)
IIA1: Industrial Control Systems 101 (Predix Transform 2016)
 
D02: Performance Engineering and Testing of Predix Apps (Predix Transform 2016)
D02: Performance Engineering and Testing of Predix Apps (Predix Transform 2016)D02: Performance Engineering and Testing of Predix Apps (Predix Transform 2016)
D02: Performance Engineering and Testing of Predix Apps (Predix Transform 2016)
 
Robert Murphy Driving Value from Smart Manufacturing
Robert Murphy Driving Value from Smart ManufacturingRobert Murphy Driving Value from Smart Manufacturing
Robert Murphy Driving Value from Smart Manufacturing
 
Suffering from “Franken” Monitoring?
Suffering from “Franken” Monitoring?Suffering from “Franken” Monitoring?
Suffering from “Franken” Monitoring?
 
Weaving the Future - Enable Networks to Be More Agile for Services
Weaving the Future - Enable Networks to Be More Agile for ServicesWeaving the Future - Enable Networks to Be More Agile for Services
Weaving the Future - Enable Networks to Be More Agile for Services
 
Why and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in AzureWhy and How to Monitor App Performance in Azure
Why and How to Monitor App Performance in Azure
 
RA TechED 2019 - CL01 - Integrated Architecture System Hardware - what's new
RA TechED 2019 -  CL01 - Integrated Architecture System Hardware - what's newRA TechED 2019 -  CL01 - Integrated Architecture System Hardware - what's new
RA TechED 2019 - CL01 - Integrated Architecture System Hardware - what's new
 
RA TechED 2019 - SS08 - What's New and Coming Soon in Safety Automation Archi...
RA TechED 2019 - SS08 - What's New and Coming Soon in Safety Automation Archi...RA TechED 2019 - SS08 - What's New and Coming Soon in Safety Automation Archi...
RA TechED 2019 - SS08 - What's New and Coming Soon in Safety Automation Archi...
 
RA TechED 2019 - PR03 - Implementation of PlantPAx Systems
RA TechED 2019 - PR03 - Implementation of PlantPAx SystemsRA TechED 2019 - PR03 - Implementation of PlantPAx Systems
RA TechED 2019 - PR03 - Implementation of PlantPAx Systems
 
Slash Avionics Integration Costs with DO-178C Certifiable Connectivity Software
Slash Avionics Integration Costs with DO-178C Certifiable Connectivity SoftwareSlash Avionics Integration Costs with DO-178C Certifiable Connectivity Software
Slash Avionics Integration Costs with DO-178C Certifiable Connectivity Software
 
RA TechED 2019 - SS14 - Electronic Lockout Tagout Management Systems
RA TechED 2019 - SS14 - Electronic Lockout  Tagout Management SystemsRA TechED 2019 - SS14 - Electronic Lockout  Tagout Management Systems
RA TechED 2019 - SS14 - Electronic Lockout Tagout Management Systems
 
Riverbed Performance Management
Riverbed Performance ManagementRiverbed Performance Management
Riverbed Performance Management
 
IoTMeetup
IoTMeetupIoTMeetup
IoTMeetup
 
PCF1: Cloud Foundry Diego ( Predix Transform 2016)
PCF1: Cloud Foundry Diego ( Predix Transform 2016)PCF1: Cloud Foundry Diego ( Predix Transform 2016)
PCF1: Cloud Foundry Diego ( Predix Transform 2016)
 

Viewers also liked

Collaborative software architecture decisions: structure and dynamics
Collaborative software architecture decisions: structure and dynamicsCollaborative software architecture decisions: structure and dynamics
Collaborative software architecture decisions: structure and dynamics
USI
 
E5: Predix Security with ACS & UAA (Predix Transform 2016)
E5: Predix Security with ACS & UAA (Predix Transform 2016)E5: Predix Security with ACS & UAA (Predix Transform 2016)
E5: Predix Security with ACS & UAA (Predix Transform 2016)
Predix
 
第一回Cloudfoundry輪読会資料
第一回Cloudfoundry輪読会資料第一回Cloudfoundry輪読会資料
第一回Cloudfoundry輪読会資料
Toshihiko Ikeda
 

Viewers also liked (20)

GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)
GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)
GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)
 
GE Predix - The IIoT Platform
GE Predix - The IIoT PlatformGE Predix - The IIoT Platform
GE Predix - The IIoT Platform
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and Predix
 
Mobile Convention Amsterdam 2014 - GE - Peter van der Fluit
Mobile Convention Amsterdam 2014 - GE - Peter van der FluitMobile Convention Amsterdam 2014 - GE - Peter van der Fluit
Mobile Convention Amsterdam 2014 - GE - Peter van der Fluit
 
Introduction to Microsoft Azure IoT
Introduction to Microsoft Azure IoTIntroduction to Microsoft Azure IoT
Introduction to Microsoft Azure IoT
 
Predix Builder Roadshow
Predix Builder RoadshowPredix Builder Roadshow
Predix Builder Roadshow
 
(Live Tokyo) 米GEのIoT基盤「Predix」を支えるNoSQL Couchbaseモバイルソリューション
(Live Tokyo) 米GEのIoT基盤「Predix」を支えるNoSQL Couchbaseモバイルソリューション(Live Tokyo) 米GEのIoT基盤「Predix」を支えるNoSQL Couchbaseモバイルソリューション
(Live Tokyo) 米GEのIoT基盤「Predix」を支えるNoSQL Couchbaseモバイルソリューション
 
Asynchronous Web Programming with HTML5 WebSockets and Java
Asynchronous Web Programming with HTML5 WebSockets and JavaAsynchronous Web Programming with HTML5 WebSockets and Java
Asynchronous Web Programming with HTML5 WebSockets and Java
 
Collaborative software architecture decisions: structure and dynamics
Collaborative software architecture decisions: structure and dynamicsCollaborative software architecture decisions: structure and dynamics
Collaborative software architecture decisions: structure and dynamics
 
はじめての Cloud Foundry: .NET アプリケーションのはじめ方
はじめての Cloud Foundry: .NET アプリケーションのはじめ方はじめての Cloud Foundry: .NET アプリケーションのはじめ方
はじめての Cloud Foundry: .NET アプリケーションのはじめ方
 
Solving Industrial Data Integration with Machine Intelligence
Solving Industrial Data Integration with Machine IntelligenceSolving Industrial Data Integration with Machine Intelligence
Solving Industrial Data Integration with Machine Intelligence
 
E5: Predix Security with ACS & UAA (Predix Transform 2016)
E5: Predix Security with ACS & UAA (Predix Transform 2016)E5: Predix Security with ACS & UAA (Predix Transform 2016)
E5: Predix Security with ACS & UAA (Predix Transform 2016)
 
Driving IT Transformation with Agile Analytics
Driving IT Transformation with Agile AnalyticsDriving IT Transformation with Agile Analytics
Driving IT Transformation with Agile Analytics
 
Edge intelligence slide share
Edge intelligence slide shareEdge intelligence slide share
Edge intelligence slide share
 
20111018 1st lt_kom
20111018 1st lt_kom20111018 1st lt_kom
20111018 1st lt_kom
 
Reading NATS
Reading NATSReading NATS
Reading NATS
 
第一回Cloudfoundry輪読会資料
第一回Cloudfoundry輪読会資料第一回Cloudfoundry輪読会資料
第一回Cloudfoundry輪読会資料
 
PEM1: Device Authentication in IIOT ( Predix Transform 2016)
PEM1:  Device Authentication in IIOT ( Predix Transform 2016)PEM1:  Device Authentication in IIOT ( Predix Transform 2016)
PEM1: Device Authentication in IIOT ( Predix Transform 2016)
 
Cloud Foundry構成概要 111018
Cloud Foundry構成概要 111018Cloud Foundry構成概要 111018
Cloud Foundry構成概要 111018
 
Lattice深掘り話
Lattice深掘り話Lattice深掘り話
Lattice深掘り話
 

Similar to Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support

Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming Media
Kaniska Mandal
 

Similar to Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support (20)

Webinar: Comunicação TCP/IP segura
Webinar: Comunicação TCP/IP seguraWebinar: Comunicação TCP/IP segura
Webinar: Comunicação TCP/IP segura
 
Enabling Active Flow Manipulation (AFM) in Silicon-based Network Forwarding E...
Enabling Active Flow Manipulation (AFM) in Silicon-based Network Forwarding E...Enabling Active Flow Manipulation (AFM) in Silicon-based Network Forwarding E...
Enabling Active Flow Manipulation (AFM) in Silicon-based Network Forwarding E...
 
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-basedDesigning an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
 
ADAM-3600 Sales kit_WATER.pptx
ADAM-3600 Sales kit_WATER.pptxADAM-3600 Sales kit_WATER.pptx
ADAM-3600 Sales kit_WATER.pptx
 
[Advantech] ADAM-3600 training kit and Taglink
[Advantech]  ADAM-3600 training kit and Taglink[Advantech]  ADAM-3600 training kit and Taglink
[Advantech] ADAM-3600 training kit and Taglink
 
Datacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptDatacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.ppt
 
Protocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDNProtocol and Integration Challenges for SDN
Protocol and Integration Challenges for SDN
 
SuperConnectivity: One company’s heroic mission to deliver on the promises of...
SuperConnectivity: One company’s heroic mission to deliver on the promises of...SuperConnectivity: One company’s heroic mission to deliver on the promises of...
SuperConnectivity: One company’s heroic mission to deliver on the promises of...
 
Spectra IP Core ORB - high-performance, low-latency solution for FPGA-GPP com...
Spectra IP Core ORB - high-performance, low-latency solution for FPGA-GPP com...Spectra IP Core ORB - high-performance, low-latency solution for FPGA-GPP com...
Spectra IP Core ORB - high-performance, low-latency solution for FPGA-GPP com...
 
Thread SEP2 Talk
Thread SEP2 TalkThread SEP2 Talk
Thread SEP2 Talk
 
Application Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible NetflowApplication Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible Netflow
 
Aplication and Transport layer- a practical approach
Aplication and Transport layer-  a practical approachAplication and Transport layer-  a practical approach
Aplication and Transport layer- a practical approach
 
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
Effective and Secure Scheme for Video Multicasting using Real Time Transport ...
 
Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming Media
 
CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5
 
Packet Guide SONET/SDH
Packet Guide SONET/SDHPacket Guide SONET/SDH
Packet Guide SONET/SDH
 
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
 
Innovation is back in the transport and network layers
Innovation is back in the transport and network layersInnovation is back in the transport and network layers
Innovation is back in the transport and network layers
 
cFrame framework slides
cFrame framework slidescFrame framework slides
cFrame framework slides
 
Engineering The New IP Transport
Engineering The New IP TransportEngineering The New IP Transport
Engineering The New IP Transport
 

More from VMware Tanzu

More from VMware Tanzu (20)

What AI Means For Your Product Strategy And What To Do About It
What AI Means For Your Product Strategy And What To Do About ItWhat AI Means For Your Product Strategy And What To Do About It
What AI Means For Your Product Strategy And What To Do About It
 
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Make the Right Thing the Obvious Thing at Cardinal Health 2023Make the Right Thing the Obvious Thing at Cardinal Health 2023
Make the Right Thing the Obvious Thing at Cardinal Health 2023
 
Enhancing DevEx and Simplifying Operations at Scale
Enhancing DevEx and Simplifying Operations at ScaleEnhancing DevEx and Simplifying Operations at Scale
Enhancing DevEx and Simplifying Operations at Scale
 
Spring Update | July 2023
Spring Update | July 2023Spring Update | July 2023
Spring Update | July 2023
 
Platforms, Platform Engineering, & Platform as a Product
Platforms, Platform Engineering, & Platform as a ProductPlatforms, Platform Engineering, & Platform as a Product
Platforms, Platform Engineering, & Platform as a Product
 
Building Cloud Ready Apps
Building Cloud Ready AppsBuilding Cloud Ready Apps
Building Cloud Ready Apps
 
Spring Boot 3 And Beyond
Spring Boot 3 And BeyondSpring Boot 3 And Beyond
Spring Boot 3 And Beyond
 
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdfSpring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
 
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
 
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
 
tanzu_developer_connect.pptx
tanzu_developer_connect.pptxtanzu_developer_connect.pptx
tanzu_developer_connect.pptx
 
Tanzu Virtual Developer Connect Workshop - French
Tanzu Virtual Developer Connect Workshop - FrenchTanzu Virtual Developer Connect Workshop - French
Tanzu Virtual Developer Connect Workshop - French
 
Tanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - EnglishTanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - English
 
Virtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - EnglishVirtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
 
Tanzu Developer Connect - French
Tanzu Developer Connect - FrenchTanzu Developer Connect - French
Tanzu Developer Connect - French
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
 
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring BootSpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
 
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: The Influential Software EngineerSpringOne Tour: The Influential Software Engineer
SpringOne Tour: The Influential Software Engineer
 
SpringOne Tour: Domain-Driven Design: Theory vs Practice
SpringOne Tour: Domain-Driven Design: Theory vs PracticeSpringOne Tour: Domain-Driven Design: Theory vs Practice
SpringOne Tour: Domain-Driven Design: Theory vs Practice
 
SpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
SpringOne Tour: Spring Recipes: A Collection of Common-Sense SolutionsSpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
SpringOne Tour: Spring Recipes: A Collection of Common-Sense Solutions
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support

  • 1.
  • 2. Imagination at work CF & IoT Protocol Support Atul Kshirsagar Senior Engineer, GE Software Dedicated Committer, CF Diego Project May 11, 2015
  • 3. 3 Protocol Landscape – GE Usecase P Predix ERP / CRM Predix Go L P F L P Data historian HMI station Engineering workstations PrinterControl server (SCADA - MTU) Serial based radio Cellular, satellite, mesh, P/ ethernet or serial communication Control server (SCADA - MTU) P P PumpValve PumpValve Pressure sensor Flow sensor Level sensor Pressure sensor Flow sensor Level sensor RTUPLC Modem gateway P Local access Remote station Remote station Modem gateway F Modem gateway HML station Corporate enterprise network WAN Primary control center Backup control center Regional control center Data historian P MODBUS OPC-UA OPC-UA MTConnect DDS DDS DDS DDS DDS MQTT S2S XMPP HTTP Binary PROFINET MODBUS CDMA FDMA TDMA HTTPRMI SFTP SMTP AMQP Asset optimization Operations optimization
  • 4. GE | Non-GE Predix-ready MACHINES and industrial devices Industrial Internet apps powered by Predix Cloud Infrastructure •  Scalable •  Elastic •  Reliable •  Trusted end-to-end Cloud Foundry Industrial Microservices Catalog Application services Infrastructure services •  Built by GE, customers, partners Machine Embedded Discover Code Deploy Operate Monetize •  BizOps •  DevOps •  Community Asset Performance Management (APM) Operations Optimization Predix* Industrial Internet Platform - Architecture Predix is a trademark of General Electric Company.
  • 9. Option 1 – Layer 7 Router •  Pluggable architecture for protocol specific proxies •  Routes traffic to protocol specific proxies based on standard ports •  Protocol proxy then routes traffic to appropriate app/instance based on routing table App nApp3App2App1 Layer 7 routerLayer 7 router MQTT DDS XMPP App1 App2 App3 App n Load Balancer 1883 7400 5222
  • 10. Option 1 – Layer 7 Router •  Pluggable architecture for protocol specific proxies •  Routes traffic to protocol specific proxies based on standard ports •  Protocol proxy then routes traffic to appropriate app/instance based on routing table Pros •  Standard ports exposed for protocols •  Scalable •  Extensible as more protocol proxies can be added on needed basis •  Router services could be developed Cons •  Support for each protocol needs to be developed independently •  Difficult for protocol proxies to decipher logical targets App nApp3App2App1 Layer 7 routerLayer 7 router MQTT DDS XMPP App1 App2 App3 App n Load Balancer 1883 7400 5222
  • 11. bit 7 6 5 4 3 2 1 0 byte 1 Message type (1) DUP Flag QoS Level RETAIN byte 2 Remaining length Fixed Header Variable Headers for CONNECT Protocol Name (8 bytes) Protocol Version (1 byte) Connect flags (1 byte) Keep Alive timer (2 bytes) Header extensions to support protocol specific router plugins requires client-side updates – doesn’t work for IOT! MQTT Headers 7 6 5 4 3 2 1 0 User name flag Pass word flag Will RETAIN Will QoS Will QoS Will flag Clean Session Reserved
  • 12. Option 2 – Layer 4 (TCP) Router •  Map external port on router to an app •  Route traffic on mapped port to appropriate app •  Specify mapping of router port to app as part of cf cli •  Mechanisms to detect and report port conflicts App3 App4App1App1 Layer 4 routerLayer 4 router Load Balancer TCP router - 1 App1 App2 App4 1883 52225222 1883 5222 5222 TCP router - 2 Load Balancer App3 5222 51216
  • 13. Option 2 – Layer 4 (TCP) Router •  Map external port on router to an app •  Route traffic on mapped port to appropriate app •  Specify mapping of router port to app as part of cf cli •  Mechanisms to detect and report port conflicts Pros •  Ability to support almost all layer 7 protocol (including but not limited to IoT protocols) •  Reduced complexity Cons •  May have to use of non standard ports •  Number of apps that can have non- http traffic is limited •  Number of ports on router ( ~ 64K) •  Number of front end IPs App3 App4App1App1 Layer 4 routerLayer 4 router Load Balancer TCP router - 1 App1 App2 App4 1883 52225222 1883 5222 5222 TCP router - 2 Load Balancer App3 5222 51216
  • 14. Layer 4 (TCP) Router - Architecture
  • 15. Layer 4 (TCP) Router - Architecture
  • 16. •  As apps get placed/moved emit the information to router •  Update the tcp router config to forward the traffic to appropriate host IP/Port Route TCP traffic •  During Config changes Zero downtime Rolling deploy Layer 4 (TCP) Router – Goals
  • 17. Load balancing among app instances •  Is the host IP/Port in routing table still reachable Health checks •  Simultaneous connections •  Connection rate Traffic shaping/limiting Managing backend ports Layer 4 (TCP) Router - Goals
  • 18. •  Cloud controller changes Reserve front end IP/Port combination •  CLI changes Add/Remove/Show mapping Application manifest to support new mapping Layer 4 (TCP) Router – Goals
  • 19. Summary Layer 4 (TCP) router to provide IoT protocols (and more) support in CF 1 Will be hosted in cloudfoundry-incubator2 Feedback/contributions are welcome •  IoT usecases •  Contact atul.kshirsagar@ge.com or scoen@pivotal.io 3
  • 21. General Electric Company reserves the right to make changes in specifications and features, or discontinue the product or service described at any time, without notice or obligation. These materials do not constitute a representation, warranty or documentation regarding the product or service featured. Illustrations are provided for informational purposes, and your configuration may differ. This information does not constitute legal, financial, coding, or regulatory advice in connection with your use of the product or service. Please consult your professional advisors for any such advice. No part of this document may be distributed, reproduced or posted without the express written permission of General Electric Company. GE, Predixand the GE Monogram are trademarks of General Electric Company. ©2015 General Electric Company – All rights reserved.