SlideShare a Scribd company logo
1 of 28
E2: Predix Data Services
Sanjeev Sayeeraman
Krishna Yelisetti
2PREDIX TRANSFORM
Data Services - what do they do?
Enable
Deep Insights
from
Machine Behavior Data
To Drive
Operational
Efficiencies
3PREDIX TRANSFORM
What Predix Data Services does?
Meet SaaS & SaaS Data Ingestion Data & Model Catalogs
Software as a Service,
Services as a Solution
Time Series, Control
Inputs, Work Orders,
Incidents
Standardized Data Sets
for Geo, Weather,
Demographic, etc. etc.
4PREDIX TRANSFORM
Data Services – Main types
Time Series Blobs Relational
Data00110
10010
11001
01010
5PREDIX TRANSFORM
TIME SERIES
6PREDIX TRANSFORM
Time series | Architecture(what)
1 Time-Series
Query Service
Data ingestion pipeline
and data store
Cloud gateway and
distributed messaging
2 3
SITEASITEBSITEC
Sensor Controller
S2C Collector
OSM
Historian
2
Device Predix Machine
1
4
1
Device
5
2
Device
6
3
Device
Web Portals Dashboards &
Reports
Trends &
Charts
Mobile
Field/Operations
Engineers
Time Series Query API
Interactive sub-
second queries
Time Series
Query Service
Low latency
Columnar Store
Data Ingestion
Pipeline
Distributed
Messaging Layer
Time Series
Cloud
Gateway
S2C
(Websocket)
S2C
(Websocket)
S2C
(Websocket)
7PREDIX TRANSFORM
Use Cases
Statistical analysis,
Machine Learning
Correlate anomalous
Time Series data with
test runs
Monitoring &
Diagnostics: Engineering
Analysis:
Root Cause Analysis
for anomalies
Anomaly detection
using Time Series
modeling
1000s of turbines
Optimal operation of Power
Generation Systems
8PREDIX TRANSFORM
Operation
Efficiencies
Use Cases
X-Axis is
always Time
Forecasting Capacity
Planning
Anomaly
Detection
Machine
Learning
Model Creation
Intelligent (and
dumb) Alerting
Automated
RCA
Advanced
Correlations
9PREDIX TRANSFORM
Using Time-Series -5 Simple Steps
Create Time
Series
instance in
Cloud Foundry
& include Time
Series client in
your project
Download
Time-Series
Client Library
From Predix.io
Configure
Library
Build your
Ingestion
Request
Build your
Query Request
11PREDIX TRANSFORM
Using Time-Series – Step 4
IngestionRequestBuilder ingestionBuilder =
IngestionRequestBuilder.createIngestionRequest()
. withMessageID(MESSAGEID),
. addIngestionTag(INGESTION_TAG
.addDatapointlist (
(Time1, SensorValue1,QUALITY1).
(Time2, SensorValue2,QUALITY2),
(Time3, SensorValue3,QUALITY3)));
String json = ingestionBuilder.build().get(0);
IngestionResponse response =
ClientFactory.ingestionClientForTenant(ingestionTenant).ingest(json);
Build your
Ingestion
Request
12PREDIX TRANSFORM
Using Time-Series – Step 5
QueryBuilder builder = QueryBuilder.createQuery()
. START_TIME
.ENDTIME
.addTags(QueryTag.Builder.createQueryTag()
.withTagNames(Arrays.asList("ALT_SENSOR",
"TEMP_SENSOR"))
QueryResponse response = ClientFactory.queryClientForTenant(tenant)
.query All(builder.build());
Build your
Query
Request
13PREDIX TRANSFORM
LET’S TALK ABOUT BLOB
STORE
14PREDIX TRANSFORM
Scalability
Challenges to manage BLOB data
Durability
Security Cost
High-Availability
15PREDIX TRANSFORM
Predix Blobstore – what do we provide?
Provides a Web
Service interface
(REST)
Allows unlimited
storage of
objects(files)
Objects consists
of the raw object
data and
metadata
S3 API
compatibility
Scalable storage Reliable storage Multi tenancy
support
Secured access
16PREDIX TRANSFORM
Use case – GE HealthCloud
Web app
and ZFP
viewer
• Reads 3000 images of
each 512kb size
• Generates 2D/3D views
• Clinicians receive notifications
• View or CD upload
• Specialists receive
notifications
CLINICIAN REMOTE
ACCESS, ANY DEVICE
SPECIALTY HOSPITAL B
COMMUNITY HOSPITAL A
Predix
Machine
X-Ray MR Ultrasound PathologyCell Analysis CT
User identity
Org Management
2D/3D Visualization
DICOM case
Security
Blobstore
Predix Cloud
• Create a case contains
up to 3000 files of each
size 512kb and uploads
to cloud
Predix Machine
17PREDIX TRANSFORM
Plant/Factory
Predix
Machine
Machines
Blobstore
Timeseries
Asset
Postgres
Business
Apps
Analytics
Dashboards
Secured Network
Write
Read Write
Read
Read
Business
Apps
Legacy Systems
Use case – Oil & Gas
Predix Cloud
Bringing data from legacy systems at plant to cloud
Data Types
Images Acoustic
Data
Asset Timeseries Waveform Alarms
$
18PREDIX TRANSFORM
Using Blobstore
Create Blobstore Instance
cf create-service predix-blobstore
Tiered <service-instance-name>
Bind to an APP
cf bind-service <business-app>
<service-instance-name>
19PREDIX TRANSFORM
UsingBlobstore
VCAP_SERVICES
VCAP_SERVICES": {
"predix-blobstore": [
{
"credentials": {
"access_key_id": "421b19-98c7-440c-98f5-d042fe4",
"bucket_name": "bucket-421b2e-98c7-440c-98f5-d042fe4f",
"host": "storeenc.gecis.io",
"secret_access_key": "d90ea6f4-4a7c-b71a-28a0e8d25d3",
"url": "https://bucket-421b2e-98c7-440c-98f5-d042fe4f.store.gecis.io"
},
"label": "predix-blobstore",
"name": "blob-test-ins",
"plan": "Tiered",
}
20PREDIX TRANSFORM
UsingBlobstore
Read Credentials
Import (“github.com/cloudfoundry-community/go-cfenv”)
appEnv, err := cfenv.Current()
for _, v := range appEnv.Services {
for _, service := range v {
if service.Name == blobstoreServiceInstanceName {
blobstoreAccessKeyID = service.Credentials[accessKeyID].(string)
blobstoreSecretAccessKey = service.Credentials[secretAccessKey].(string)
blobstoreHost = service.Credentials[host].(string)
blobstoreBucketName = service.Credentials[bucketName].(string)
}
}
}
21PREDIX TRANSFORM
UsingBlobstore
Create Session & Handler
Import (“github.com/aws/aws-sdk-go/service/s3”)
awsConfig := aws.Config{
Credentials: credentials.NewStaticCredentials(accessKeyID, secretAccessKey, ""),
Endpoint: &endpoint,
LogLevel: &logLevel,
}
s := session.New(&awsConfig)
svc := s3.New(s)
svc.Handlers.Sign.PushBack(SignV2)
s3Hndler := &S3Handler{
s: s,
svc: svc,
bucketName: bucketName,
}
22PREDIX TRANSFORM
UsingBlobstore
Upload File
uploader := s3manager.NewUploader(s.s)
svc := uploader.S3.(*s3.S3
svc.Handlers.Sign.Clear()
svc.Handlers.Sign.PushBack(SignV2)
result, err := uploader.Upload(&s3manager.UploadInput{
Body: file,
Bucket: &s.bucketName,
Key: &fileName,
})
23PREDIX TRANSFORM
UsingBlobstore
Get & Delete File
input := &s3.GetObjectInput{
Bucket: &s.bucketName,
Key: &fileName,
}
resp, err := s.svc.GetObject(input)
params := &s3.DeleteObjectInput{
Bucket: &s.bucketName,
Key: &fileName,
}
_, err := s.svc.DeleteObject(params)
24PREDIX TRANSFORM
UsingBlobstore
Samples
• Go sample using aws-sdk-go
• Java sample using AWS S3 Client SDK
• Java sample using Apache Jclouds SDK
https://github.com/PredixDev/blobstore-samples
25PREDIX TRANSFORM
DEMO
26PREDIX TRANSFORM
Demo Architecture
Predix Cloud
Raspberry Pi
Blobstore
Timeseries
Browser
Data Types
Images Acoustic
Data
Timeseries Waveform
Authentication Dashboard
App
BlobstoreApp
27PREDIX TRANSFORM
Q & A
28PREDIX TRANSFORM
How does this help you?
We Deliver
Foundational capabilities
All the data in one place
Create Magic
You
With
General Electric 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. GE, Predix and the GE Monogram are
trademarks of General Electric Company. ©2016 General Electric Company – All rights reserved.

More Related Content

More from Predix

IIA4: Open Source and the Enterprise ( Predix Transform 2016)
IIA4: Open Source and the Enterprise ( Predix Transform 2016)IIA4: Open Source and the Enterprise ( Predix Transform 2016)
IIA4: Open Source and the Enterprise ( Predix Transform 2016)Predix
 
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)Predix
 
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)Predix
 
D6: Cloud Directions ( Predix Transform 2016)
D6: Cloud Directions ( Predix Transform 2016)D6: Cloud Directions ( Predix Transform 2016)
D6: Cloud Directions ( Predix Transform 2016)Predix
 
IND3: Predix for Transportation (Predix Transform 2016)
IND3: Predix for Transportation (Predix Transform 2016)IND3: Predix for Transportation (Predix Transform 2016)
IND3: Predix for Transportation (Predix Transform 2016)Predix
 
IIA8: Smartsignal Goes Microservices (Predix Transform 2016)
IIA8: Smartsignal Goes Microservices (Predix Transform 2016)IIA8: Smartsignal Goes Microservices (Predix Transform 2016)
IIA8: Smartsignal Goes Microservices (Predix Transform 2016)Predix
 
IIA3: Coding Like a Unicorn (Predix Transform 2016)
IIA3: Coding Like a Unicorn (Predix Transform 2016)IIA3: Coding Like a Unicorn (Predix Transform 2016)
IIA3: Coding Like a Unicorn (Predix Transform 2016)Predix
 
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)Predix
 
D4: Predix Cool Features (Predix Transform 2016)
D4: Predix Cool Features (Predix Transform 2016) D4: Predix Cool Features (Predix Transform 2016)
D4: Predix Cool Features (Predix Transform 2016) Predix
 
S1: Predix ISV Partner Program (Predix Transform 2016)
S1: Predix ISV Partner Program (Predix Transform 2016)S1: Predix ISV Partner Program (Predix Transform 2016)
S1: Predix ISV Partner Program (Predix Transform 2016)Predix
 
D2: Predix Migration & IT Integration (Predix Transform 2016)
D2: Predix Migration & IT Integration (Predix Transform 2016)D2: Predix Migration & IT Integration (Predix Transform 2016)
D2: Predix Migration & IT Integration (Predix Transform 2016)Predix
 
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
 
E4: Building Your First Predix App (Predix Transform 2016)
E4: Building Your First Predix App (Predix Transform 2016)E4: Building Your First Predix App (Predix Transform 2016)
E4: Building Your First Predix App (Predix Transform 2016)Predix
 
E3: Edge and Cloud Connectivity (Predix Transform 2016)
E3: Edge and Cloud Connectivity (Predix Transform 2016)E3: Edge and Cloud Connectivity (Predix Transform 2016)
E3: Edge and Cloud Connectivity (Predix Transform 2016)Predix
 
E1: Building the Digital Twin (Predix Transform 2016)
E1: Building the Digital Twin (Predix Transform 2016)E1: Building the Digital Twin (Predix Transform 2016)
E1: Building the Digital Twin (Predix Transform 2016)Predix
 

More from Predix (15)

IIA4: Open Source and the Enterprise ( Predix Transform 2016)
IIA4: Open Source and the Enterprise ( Predix Transform 2016)IIA4: Open Source and the Enterprise ( Predix Transform 2016)
IIA4: Open Source and the Enterprise ( 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)
 
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)
 
D6: Cloud Directions ( Predix Transform 2016)
D6: Cloud Directions ( Predix Transform 2016)D6: Cloud Directions ( Predix Transform 2016)
D6: Cloud Directions ( Predix Transform 2016)
 
IND3: Predix for Transportation (Predix Transform 2016)
IND3: Predix for Transportation (Predix Transform 2016)IND3: Predix for Transportation (Predix Transform 2016)
IND3: Predix for Transportation (Predix Transform 2016)
 
IIA8: Smartsignal Goes Microservices (Predix Transform 2016)
IIA8: Smartsignal Goes Microservices (Predix Transform 2016)IIA8: Smartsignal Goes Microservices (Predix Transform 2016)
IIA8: Smartsignal Goes Microservices (Predix Transform 2016)
 
IIA3: Coding Like a Unicorn (Predix Transform 2016)
IIA3: Coding Like a Unicorn (Predix Transform 2016)IIA3: Coding Like a Unicorn (Predix Transform 2016)
IIA3: Coding Like a Unicorn (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)
IIA1: Industrial Control Systems 101 (Predix Transform 2016)
 
D4: Predix Cool Features (Predix Transform 2016)
D4: Predix Cool Features (Predix Transform 2016) D4: Predix Cool Features (Predix Transform 2016)
D4: Predix Cool Features (Predix Transform 2016)
 
S1: Predix ISV Partner Program (Predix Transform 2016)
S1: Predix ISV Partner Program (Predix Transform 2016)S1: Predix ISV Partner Program (Predix Transform 2016)
S1: Predix ISV Partner Program (Predix Transform 2016)
 
D2: Predix Migration & IT Integration (Predix Transform 2016)
D2: Predix Migration & IT Integration (Predix Transform 2016)D2: Predix Migration & IT Integration (Predix Transform 2016)
D2: Predix Migration & IT Integration (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)
E5: Predix Security with ACS & UAA (Predix Transform 2016)
 
E4: Building Your First Predix App (Predix Transform 2016)
E4: Building Your First Predix App (Predix Transform 2016)E4: Building Your First Predix App (Predix Transform 2016)
E4: Building Your First Predix App (Predix Transform 2016)
 
E3: Edge and Cloud Connectivity (Predix Transform 2016)
E3: Edge and Cloud Connectivity (Predix Transform 2016)E3: Edge and Cloud Connectivity (Predix Transform 2016)
E3: Edge and Cloud Connectivity (Predix Transform 2016)
 
E1: Building the Digital Twin (Predix Transform 2016)
E1: Building the Digital Twin (Predix Transform 2016)E1: Building the Digital Twin (Predix Transform 2016)
E1: Building the Digital Twin (Predix Transform 2016)
 

Recently uploaded

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
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
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
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...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

E2: Data Services in Predix (Predix Transform 2016)

  • 1. E2: Predix Data Services Sanjeev Sayeeraman Krishna Yelisetti
  • 2. 2PREDIX TRANSFORM Data Services - what do they do? Enable Deep Insights from Machine Behavior Data To Drive Operational Efficiencies
  • 3. 3PREDIX TRANSFORM What Predix Data Services does? Meet SaaS & SaaS Data Ingestion Data & Model Catalogs Software as a Service, Services as a Solution Time Series, Control Inputs, Work Orders, Incidents Standardized Data Sets for Geo, Weather, Demographic, etc. etc.
  • 4. 4PREDIX TRANSFORM Data Services – Main types Time Series Blobs Relational Data00110 10010 11001 01010
  • 6. 6PREDIX TRANSFORM Time series | Architecture(what) 1 Time-Series Query Service Data ingestion pipeline and data store Cloud gateway and distributed messaging 2 3 SITEASITEBSITEC Sensor Controller S2C Collector OSM Historian 2 Device Predix Machine 1 4 1 Device 5 2 Device 6 3 Device Web Portals Dashboards & Reports Trends & Charts Mobile Field/Operations Engineers Time Series Query API Interactive sub- second queries Time Series Query Service Low latency Columnar Store Data Ingestion Pipeline Distributed Messaging Layer Time Series Cloud Gateway S2C (Websocket) S2C (Websocket) S2C (Websocket)
  • 7. 7PREDIX TRANSFORM Use Cases Statistical analysis, Machine Learning Correlate anomalous Time Series data with test runs Monitoring & Diagnostics: Engineering Analysis: Root Cause Analysis for anomalies Anomaly detection using Time Series modeling 1000s of turbines Optimal operation of Power Generation Systems
  • 8. 8PREDIX TRANSFORM Operation Efficiencies Use Cases X-Axis is always Time Forecasting Capacity Planning Anomaly Detection Machine Learning Model Creation Intelligent (and dumb) Alerting Automated RCA Advanced Correlations
  • 9. 9PREDIX TRANSFORM Using Time-Series -5 Simple Steps Create Time Series instance in Cloud Foundry & include Time Series client in your project Download Time-Series Client Library From Predix.io Configure Library Build your Ingestion Request Build your Query Request
  • 10. 11PREDIX TRANSFORM Using Time-Series – Step 4 IngestionRequestBuilder ingestionBuilder = IngestionRequestBuilder.createIngestionRequest() . withMessageID(MESSAGEID), . addIngestionTag(INGESTION_TAG .addDatapointlist ( (Time1, SensorValue1,QUALITY1). (Time2, SensorValue2,QUALITY2), (Time3, SensorValue3,QUALITY3))); String json = ingestionBuilder.build().get(0); IngestionResponse response = ClientFactory.ingestionClientForTenant(ingestionTenant).ingest(json); Build your Ingestion Request
  • 11. 12PREDIX TRANSFORM Using Time-Series – Step 5 QueryBuilder builder = QueryBuilder.createQuery() . START_TIME .ENDTIME .addTags(QueryTag.Builder.createQueryTag() .withTagNames(Arrays.asList("ALT_SENSOR", "TEMP_SENSOR")) QueryResponse response = ClientFactory.queryClientForTenant(tenant) .query All(builder.build()); Build your Query Request
  • 13. 14PREDIX TRANSFORM Scalability Challenges to manage BLOB data Durability Security Cost High-Availability
  • 14. 15PREDIX TRANSFORM Predix Blobstore – what do we provide? Provides a Web Service interface (REST) Allows unlimited storage of objects(files) Objects consists of the raw object data and metadata S3 API compatibility Scalable storage Reliable storage Multi tenancy support Secured access
  • 15. 16PREDIX TRANSFORM Use case – GE HealthCloud Web app and ZFP viewer • Reads 3000 images of each 512kb size • Generates 2D/3D views • Clinicians receive notifications • View or CD upload • Specialists receive notifications CLINICIAN REMOTE ACCESS, ANY DEVICE SPECIALTY HOSPITAL B COMMUNITY HOSPITAL A Predix Machine X-Ray MR Ultrasound PathologyCell Analysis CT User identity Org Management 2D/3D Visualization DICOM case Security Blobstore Predix Cloud • Create a case contains up to 3000 files of each size 512kb and uploads to cloud Predix Machine
  • 16. 17PREDIX TRANSFORM Plant/Factory Predix Machine Machines Blobstore Timeseries Asset Postgres Business Apps Analytics Dashboards Secured Network Write Read Write Read Read Business Apps Legacy Systems Use case – Oil & Gas Predix Cloud Bringing data from legacy systems at plant to cloud Data Types Images Acoustic Data Asset Timeseries Waveform Alarms $
  • 17. 18PREDIX TRANSFORM Using Blobstore Create Blobstore Instance cf create-service predix-blobstore Tiered <service-instance-name> Bind to an APP cf bind-service <business-app> <service-instance-name>
  • 18. 19PREDIX TRANSFORM UsingBlobstore VCAP_SERVICES VCAP_SERVICES": { "predix-blobstore": [ { "credentials": { "access_key_id": "421b19-98c7-440c-98f5-d042fe4", "bucket_name": "bucket-421b2e-98c7-440c-98f5-d042fe4f", "host": "storeenc.gecis.io", "secret_access_key": "d90ea6f4-4a7c-b71a-28a0e8d25d3", "url": "https://bucket-421b2e-98c7-440c-98f5-d042fe4f.store.gecis.io" }, "label": "predix-blobstore", "name": "blob-test-ins", "plan": "Tiered", }
  • 19. 20PREDIX TRANSFORM UsingBlobstore Read Credentials Import (“github.com/cloudfoundry-community/go-cfenv”) appEnv, err := cfenv.Current() for _, v := range appEnv.Services { for _, service := range v { if service.Name == blobstoreServiceInstanceName { blobstoreAccessKeyID = service.Credentials[accessKeyID].(string) blobstoreSecretAccessKey = service.Credentials[secretAccessKey].(string) blobstoreHost = service.Credentials[host].(string) blobstoreBucketName = service.Credentials[bucketName].(string) } } }
  • 20. 21PREDIX TRANSFORM UsingBlobstore Create Session & Handler Import (“github.com/aws/aws-sdk-go/service/s3”) awsConfig := aws.Config{ Credentials: credentials.NewStaticCredentials(accessKeyID, secretAccessKey, ""), Endpoint: &endpoint, LogLevel: &logLevel, } s := session.New(&awsConfig) svc := s3.New(s) svc.Handlers.Sign.PushBack(SignV2) s3Hndler := &S3Handler{ s: s, svc: svc, bucketName: bucketName, }
  • 21. 22PREDIX TRANSFORM UsingBlobstore Upload File uploader := s3manager.NewUploader(s.s) svc := uploader.S3.(*s3.S3 svc.Handlers.Sign.Clear() svc.Handlers.Sign.PushBack(SignV2) result, err := uploader.Upload(&s3manager.UploadInput{ Body: file, Bucket: &s.bucketName, Key: &fileName, })
  • 22. 23PREDIX TRANSFORM UsingBlobstore Get & Delete File input := &s3.GetObjectInput{ Bucket: &s.bucketName, Key: &fileName, } resp, err := s.svc.GetObject(input) params := &s3.DeleteObjectInput{ Bucket: &s.bucketName, Key: &fileName, } _, err := s.svc.DeleteObject(params)
  • 23. 24PREDIX TRANSFORM UsingBlobstore Samples • Go sample using aws-sdk-go • Java sample using AWS S3 Client SDK • Java sample using Apache Jclouds SDK https://github.com/PredixDev/blobstore-samples
  • 25. 26PREDIX TRANSFORM Demo Architecture Predix Cloud Raspberry Pi Blobstore Timeseries Browser Data Types Images Acoustic Data Timeseries Waveform Authentication Dashboard App BlobstoreApp
  • 27. 28PREDIX TRANSFORM How does this help you? We Deliver Foundational capabilities All the data in one place Create Magic You With
  • 28. General Electric 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. GE, Predix and the GE Monogram are trademarks of General Electric Company. ©2016 General Electric Company – All rights reserved.