SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Predictive System
Performance Data Analysis
Application of machine learning on
performance data
jnakic@salesforce.com
spilipovic@salesforce.com
Jasmin Nakic, Lead Software Engineer
Samir Pilipovic, Senior Software Engineer
Agenda
Presentation and Tutorial
Welcome
Audience: Sysadmins, performance engineers and developers
Level: Beginner
Introduction
Introduction to Predictive Performance Analytics
Data Visualization using Salesforce Wave
Hands-on
Prepare Input Data
Build and Compare Predictive Models
Generate Dynamic Alerts
Summary Q&A
Forward-Looking Statements
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not
be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Challenges in Performance Analytics
Understand
Make predictions using
machine learning
Detect anomalies and
exceptions on current
system performance
data
Generate alerts based
on dynamic thresholds
Estimate impact of
difference between
predicted and real
values
Visualize predictions vs.
real metrics
Deliver data to other
teams and executives
Predict Alert Visualize
Understand short and
long term trends
Find periodic pattern in
performance metrics
Understanding Input Data
 Data show daily and weekly periodic patterns
 Long running trend with gradual increase
 Exceptions from typical daily metric shape
Selecting the Feature Set
Features can be generated or collected from external systems
Timestamp as a string:
2016-05-08 19:00:00
Ordinal date as decimal date
plus time:
736092.791667
Year, Month, Day
Hours, Minutes, Seconds
DayInWeek, WeekInYear
Quarter
isMonday, isTuesday, …,
isSunday
isHour0, isHour1, isHour2, ...,
isHour23
H_di_hj where di is for weekday
in range 0..6 and hj is for hour
in range 0..23
isHoliday
Timestamp Formats Timestamp Components Binary Features
Binary features have values 0 or 1Use ordinal time for long term trends Commonly used in Analytics
A feature is an individual measurable property of a phenomenon being observed. (Wikipedia)
Linear Regression Models
Examples of linear regression models that apply to performance data
Simple linear regression
model:
y = c0 + c1*x
Model with periodic
trigonometric features:
y = c0 + c1*x + c2*sin(x*2*pi/f
+ t)
Where t is time offset and f is
frequency
Model with binary features:
y = c0 + c1*x1 + c2*x2 + … cn*xn
Where xn can be 0 or 1
Linear regression helps you find coefficient values (c0, c1, ... cn)
How Good is the Model?
Generate the “score” for each model to see how well it fits input data
Model Training Score Test Score Comments
Simple Linear 0.0014 -0.0052 Not useful
Trigonometric 0.7284 0.7148 Periodic, but functions are complicated
Prediction Hour/Day 0.8280 0.8048 Each day has the same pattern
Prediction Hour/Week 0.9240 0.8918 Does not make good prediction on holidays
Prediction incl. Holidays 0.9520 0.9444 Does not make good prediction on Sundays
Prediction incl. Sundays 0.9522 0.9504 Optimal
 Models with more relevant features tend to have higher score
 Test data score is the measure of model quality
Visualization in Salesforce Wave
Effective visualization of predictive data
 Compare actual metrics
to prediction
 Display alerts for
detected anomalies
 Correlate performance
metrics with business
data
 Build the dashboard to
share with other teams
and executives
Dynamic Alerts
Anomaly detection for near real time notification
 Typically alerts are based on static
threshold values, for example higher
than 85%.
 If the value is higher (or lower) then
predefined threshold, generate the
alert
 We want to separate data noise from
exception
 Cover false positives and false
negatives if possible
 Define the impact, for example: if a
metric is for three hours more than X in
absolute value and more than Y in
percentage
Machine Learning Development Process
From raw data to predictions
Select
Feature Set
Build the
Model
Validate the
Model
Is
Model
OK?
Model
Extract
Feature Set
Apply the
Model
Training
Data
Test
Data
Predictions
Yes
No
Iterative Process
Convert input
data to a format
accepted by ML
tools
Measure the
model score until
it stops
improving
Load
A feature is an individual measurable
property of a phenomenon being
observed. (Wikipedia)
Implementation Summary
What did we cover today?
• Prepare the training data set,
• Build the predictive model,
• Predict the metric value for the test data set,
• Measure the quality of the predictive model
• Find short and long term performance trends
• Implement a simple alert system
• Visualize data using Salesforce Wave
• Deliver Wave dashboard components to
team members and executives
Develop predictive system applying
machine learning methods
Analyze input data and predictions to
solve business needs
Next Steps and Resources
Get Demo Scripts from GitHub
https://github.com/sfperfdemo/vel2017-ml-wave
Get Salesforce Wave Utilities
https://github.com/forcedotcom/Analytics-Cloud-Dataset-Utils
Visit Salesforce Wave Tutorial
http://www.salesforce.com/analytics-cloud/overview/
Explore Machine Learning in Python (scikit)
http://scikit-learn.org
Questions and Answers
Predictive System Performance Data Analysis

Weitere ähnliche Inhalte

Was ist angesagt?

How to Make Change Management a Reality
How to Make Change Management a RealityHow to Make Change Management a Reality
How to Make Change Management a Realitydreamforce2006
 
Circles of success - How to successfully transition to lightning (2)
Circles of success - How to successfully transition to lightning (2)Circles of success - How to successfully transition to lightning (2)
Circles of success - How to successfully transition to lightning (2)Salesforce - Sweden, Denmark, Norway
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrationsdreamforce2006
 
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)Salesforce Partners
 
Architect and Design Your App for Commercial Success
Architect and Design Your App for Commercial SuccessArchitect and Design Your App for Commercial Success
Architect and Design Your App for Commercial SuccessSalesforce Partners
 
Salesforce Support Services | Etisbew
Salesforce Support Services | EtisbewSalesforce Support Services | Etisbew
Salesforce Support Services | EtisbewEtisbew
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAXdreamforce2006
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceSalesforce Admins
 
How To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global DeploymentHow To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global Deploymentdreamforce2006
 
Packaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App DistributionPackaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App Distributiondreamforce2006
 
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsDreamforce
 
Intelligently transform connected service from the phone to the field
Intelligently transform connected service from the phone to the field Intelligently transform connected service from the phone to the field
Intelligently transform connected service from the phone to the field Salesforce - Sweden, Denmark, Norway
 
Oracle Applications Unlimited
Oracle Applications UnlimitedOracle Applications Unlimited
Oracle Applications UnlimitedChristian Hofer
 
AppExchange for Admins: Apps Every Admin Should Know
AppExchange for Admins: Apps Every Admin Should KnowAppExchange for Admins: Apps Every Admin Should Know
AppExchange for Admins: Apps Every Admin Should KnowCodeScience
 
Architecting Apps for the AppExchange
Architecting Apps for the AppExchangeArchitecting Apps for the AppExchange
Architecting Apps for the AppExchangedreamforce2006
 
Modern Architectures: Building a Sustainable Roadmap
Modern Architectures: Building a Sustainable RoadmapModern Architectures: Building a Sustainable Roadmap
Modern Architectures: Building a Sustainable RoadmapSalesforce Developers
 
Instant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive DashboardsInstant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive Dashboardsdreamforce2006
 
Building a Center of Excellence for your Salesforce crm team
Building a Center of Excellence for your Salesforce crm teamBuilding a Center of Excellence for your Salesforce crm team
Building a Center of Excellence for your Salesforce crm teamBuyan Thyagarajan
 
Improve Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and ReportsImprove Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and Reportsdreamforce2006
 

Was ist angesagt? (20)

How to Make Change Management a Reality
How to Make Change Management a RealityHow to Make Change Management a Reality
How to Make Change Management a Reality
 
Circles of success - How to successfully transition to lightning (2)
Circles of success - How to successfully transition to lightning (2)Circles of success - How to successfully transition to lightning (2)
Circles of success - How to successfully transition to lightning (2)
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrations
 
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
 
Architect and Design Your App for Commercial Success
Architect and Design Your App for Commercial SuccessArchitect and Design Your App for Commercial Success
Architect and Design Your App for Commercial Success
 
Salesforce Support Services | Etisbew
Salesforce Support Services | EtisbewSalesforce Support Services | Etisbew
Salesforce Support Services | Etisbew
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAX
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with Governance
 
How To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global DeploymentHow To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global Deployment
 
Packaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App DistributionPackaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App Distribution
 
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
 
Premier First Call Pitch
Premier First Call Pitch Premier First Call Pitch
Premier First Call Pitch
 
Intelligently transform connected service from the phone to the field
Intelligently transform connected service from the phone to the field Intelligently transform connected service from the phone to the field
Intelligently transform connected service from the phone to the field
 
Oracle Applications Unlimited
Oracle Applications UnlimitedOracle Applications Unlimited
Oracle Applications Unlimited
 
AppExchange for Admins: Apps Every Admin Should Know
AppExchange for Admins: Apps Every Admin Should KnowAppExchange for Admins: Apps Every Admin Should Know
AppExchange for Admins: Apps Every Admin Should Know
 
Architecting Apps for the AppExchange
Architecting Apps for the AppExchangeArchitecting Apps for the AppExchange
Architecting Apps for the AppExchange
 
Modern Architectures: Building a Sustainable Roadmap
Modern Architectures: Building a Sustainable RoadmapModern Architectures: Building a Sustainable Roadmap
Modern Architectures: Building a Sustainable Roadmap
 
Instant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive DashboardsInstant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive Dashboards
 
Building a Center of Excellence for your Salesforce crm team
Building a Center of Excellence for your Salesforce crm teamBuilding a Center of Excellence for your Salesforce crm team
Building a Center of Excellence for your Salesforce crm team
 
Improve Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and ReportsImprove Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and Reports
 

Ähnlich wie Predictive System Performance Data Analysis

Build System Performance Data Analytics Using Wave
Build System Performance Data Analytics Using WaveBuild System Performance Data Analytics Using Wave
Build System Performance Data Analytics Using WaveSalesforce Developers
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Studydreamforce2006
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-upsdreamforce2006
 
Essential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsEssential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsSalesforce Admins
 
Partition Your (Apex) Trigger Logic Using Metadata
Partition Your  (Apex) Trigger Logic Using MetadataPartition Your  (Apex) Trigger Logic Using Metadata
Partition Your (Apex) Trigger Logic Using MetadataJames Loghry
 
Orchestrate all of your salesforce automation with the trigger actions framework
Orchestrate all of your salesforce automation with the trigger actions frameworkOrchestrate all of your salesforce automation with the trigger actions framework
Orchestrate all of your salesforce automation with the trigger actions frameworkSudipta Deb ☁
 
Inside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer AppsInside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer Appsdreamforce2006
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managersdreamforce2006
 
Transform Data into Action
Transform Data into ActionTransform Data into Action
Transform Data into ActionWorkday, Inc.
 
Advanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive VisibilityAdvanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive Visibilitydreamforce2006
 
The Path to 100% Adoption
The Path to 100% AdoptionThe Path to 100% Adoption
The Path to 100% Adoptiondreamforce2006
 
Building einstein analytics apps uk-compressed
Building einstein analytics apps   uk-compressedBuilding einstein analytics apps   uk-compressed
Building einstein analytics apps uk-compressedrikkehovgaard
 
Agile Release Management for Fast Moving Enterprises
Agile Release Management for Fast Moving EnterprisesAgile Release Management for Fast Moving Enterprises
Agile Release Management for Fast Moving EnterprisesDreamforce
 
Essential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementEssential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementSalesforce Admins
 
Using AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business ProcessesUsing AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business Processesdreamforce2006
 
AppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend SalesforceAppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend Salesforcedreamforce2006
 
Winter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdfWinter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdfRakshaHegde7
 

Ähnlich wie Predictive System Performance Data Analysis (20)

Build System Performance Data Analytics Using Wave
Build System Performance Data Analytics Using WaveBuild System Performance Data Analytics Using Wave
Build System Performance Data Analytics Using Wave
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Study
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-ups
 
Essential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsEssential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable Analytics
 
Building Reports That Fly
Building Reports That FlyBuilding Reports That Fly
Building Reports That Fly
 
Partition Your (Apex) Trigger Logic Using Metadata
Partition Your  (Apex) Trigger Logic Using MetadataPartition Your  (Apex) Trigger Logic Using Metadata
Partition Your (Apex) Trigger Logic Using Metadata
 
Orchestrate all of your salesforce automation with the trigger actions framework
Orchestrate all of your salesforce automation with the trigger actions frameworkOrchestrate all of your salesforce automation with the trigger actions framework
Orchestrate all of your salesforce automation with the trigger actions framework
 
Inside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer AppsInside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer Apps
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managers
 
Transform Data into Action
Transform Data into ActionTransform Data into Action
Transform Data into Action
 
Advanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive VisibilityAdvanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive Visibility
 
The Path to 100% Adoption
The Path to 100% AdoptionThe Path to 100% Adoption
The Path to 100% Adoption
 
Building einstein analytics apps uk-compressed
Building einstein analytics apps   uk-compressedBuilding einstein analytics apps   uk-compressed
Building einstein analytics apps uk-compressed
 
Winter 22 release
Winter 22 releaseWinter 22 release
Winter 22 release
 
Release Winter 22 FR
Release Winter 22 FRRelease Winter 22 FR
Release Winter 22 FR
 
Agile Release Management for Fast Moving Enterprises
Agile Release Management for Fast Moving EnterprisesAgile Release Management for Fast Moving Enterprises
Agile Release Management for Fast Moving Enterprises
 
Essential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementEssential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data Management
 
Using AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business ProcessesUsing AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business Processes
 
AppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend SalesforceAppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend Salesforce
 
Winter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdfWinter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdf
 

Mehr von Salesforce Engineering

Locker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With WebpackLocker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With WebpackSalesforce Engineering
 
Aspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveAspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveSalesforce Engineering
 
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache CalciteA Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache CalciteSalesforce Engineering
 
Implementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 MilesImplementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 MilesSalesforce Engineering
 
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Engineering
 
Global State Management of Micro Services
Global State Management of Micro ServicesGlobal State Management of Micro Services
Global State Management of Micro ServicesSalesforce Engineering
 
Apache BookKeeper Distributed Store- a Salesforce use case
Apache BookKeeper Distributed Store- a Salesforce use caseApache BookKeeper Distributed Store- a Salesforce use case
Apache BookKeeper Distributed Store- a Salesforce use caseSalesforce Engineering
 

Mehr von Salesforce Engineering (20)

Locker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With WebpackLocker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With Webpack
 
Scaling HBase for Big Data
Scaling HBase for Big DataScaling HBase for Big Data
Scaling HBase for Big Data
 
Apache HBase State of the Project
Apache HBase State of the ProjectApache HBase State of the Project
Apache HBase State of the Project
 
Hit the Trail with Trailhead
Hit the Trail with TrailheadHit the Trail with Trailhead
Hit the Trail with Trailhead
 
HBase/PHOENIX @ Scale
HBase/PHOENIX @ ScaleHBase/PHOENIX @ Scale
HBase/PHOENIX @ Scale
 
Scaling up data science applications
Scaling up data science applicationsScaling up data science applications
Scaling up data science applications
 
Containers and Security for DevOps
Containers and Security for DevOpsContainers and Security for DevOps
Containers and Security for DevOps
 
Aspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveAspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already Have
 
Performance Tuning with XHProf
Performance Tuning with XHProfPerformance Tuning with XHProf
Performance Tuning with XHProf
 
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache CalciteA Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
 
Implementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 MilesImplementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 Miles
 
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
 
Koober Preduction IO Presentation
Koober Preduction IO PresentationKoober Preduction IO Presentation
Koober Preduction IO Presentation
 
Finding Security Issues Fast!
Finding Security Issues Fast!Finding Security Issues Fast!
Finding Security Issues Fast!
 
Microservices
MicroservicesMicroservices
Microservices
 
Global State Management of Micro Services
Global State Management of Micro ServicesGlobal State Management of Micro Services
Global State Management of Micro Services
 
The Future of Hbase
The Future of HbaseThe Future of Hbase
The Future of Hbase
 
Apache BookKeeper Distributed Store- a Salesforce use case
Apache BookKeeper Distributed Store- a Salesforce use caseApache BookKeeper Distributed Store- a Salesforce use case
Apache BookKeeper Distributed Store- a Salesforce use case
 
Content Strategy Workshop
Content Strategy WorkshopContent Strategy Workshop
Content Strategy Workshop
 
Introducing Wordpress Multitenancy
Introducing Wordpress MultitenancyIntroducing Wordpress Multitenancy
Introducing Wordpress Multitenancy
 

Kürzlich hochgeladen

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 

Predictive System Performance Data Analysis

  • 1. Predictive System Performance Data Analysis Application of machine learning on performance data jnakic@salesforce.com spilipovic@salesforce.com Jasmin Nakic, Lead Software Engineer Samir Pilipovic, Senior Software Engineer
  • 2. Agenda Presentation and Tutorial Welcome Audience: Sysadmins, performance engineers and developers Level: Beginner Introduction Introduction to Predictive Performance Analytics Data Visualization using Salesforce Wave Hands-on Prepare Input Data Build and Compare Predictive Models Generate Dynamic Alerts Summary Q&A
  • 3. Forward-Looking Statements Statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 4. Challenges in Performance Analytics Understand Make predictions using machine learning Detect anomalies and exceptions on current system performance data Generate alerts based on dynamic thresholds Estimate impact of difference between predicted and real values Visualize predictions vs. real metrics Deliver data to other teams and executives Predict Alert Visualize Understand short and long term trends Find periodic pattern in performance metrics
  • 5. Understanding Input Data  Data show daily and weekly periodic patterns  Long running trend with gradual increase  Exceptions from typical daily metric shape
  • 6. Selecting the Feature Set Features can be generated or collected from external systems Timestamp as a string: 2016-05-08 19:00:00 Ordinal date as decimal date plus time: 736092.791667 Year, Month, Day Hours, Minutes, Seconds DayInWeek, WeekInYear Quarter isMonday, isTuesday, …, isSunday isHour0, isHour1, isHour2, ..., isHour23 H_di_hj where di is for weekday in range 0..6 and hj is for hour in range 0..23 isHoliday Timestamp Formats Timestamp Components Binary Features Binary features have values 0 or 1Use ordinal time for long term trends Commonly used in Analytics A feature is an individual measurable property of a phenomenon being observed. (Wikipedia)
  • 7. Linear Regression Models Examples of linear regression models that apply to performance data Simple linear regression model: y = c0 + c1*x Model with periodic trigonometric features: y = c0 + c1*x + c2*sin(x*2*pi/f + t) Where t is time offset and f is frequency Model with binary features: y = c0 + c1*x1 + c2*x2 + … cn*xn Where xn can be 0 or 1 Linear regression helps you find coefficient values (c0, c1, ... cn)
  • 8. How Good is the Model? Generate the “score” for each model to see how well it fits input data Model Training Score Test Score Comments Simple Linear 0.0014 -0.0052 Not useful Trigonometric 0.7284 0.7148 Periodic, but functions are complicated Prediction Hour/Day 0.8280 0.8048 Each day has the same pattern Prediction Hour/Week 0.9240 0.8918 Does not make good prediction on holidays Prediction incl. Holidays 0.9520 0.9444 Does not make good prediction on Sundays Prediction incl. Sundays 0.9522 0.9504 Optimal  Models with more relevant features tend to have higher score  Test data score is the measure of model quality
  • 9. Visualization in Salesforce Wave Effective visualization of predictive data  Compare actual metrics to prediction  Display alerts for detected anomalies  Correlate performance metrics with business data  Build the dashboard to share with other teams and executives
  • 10. Dynamic Alerts Anomaly detection for near real time notification  Typically alerts are based on static threshold values, for example higher than 85%.  If the value is higher (or lower) then predefined threshold, generate the alert  We want to separate data noise from exception  Cover false positives and false negatives if possible  Define the impact, for example: if a metric is for three hours more than X in absolute value and more than Y in percentage
  • 11. Machine Learning Development Process From raw data to predictions Select Feature Set Build the Model Validate the Model Is Model OK? Model Extract Feature Set Apply the Model Training Data Test Data Predictions Yes No Iterative Process Convert input data to a format accepted by ML tools Measure the model score until it stops improving Load A feature is an individual measurable property of a phenomenon being observed. (Wikipedia)
  • 12. Implementation Summary What did we cover today? • Prepare the training data set, • Build the predictive model, • Predict the metric value for the test data set, • Measure the quality of the predictive model • Find short and long term performance trends • Implement a simple alert system • Visualize data using Salesforce Wave • Deliver Wave dashboard components to team members and executives Develop predictive system applying machine learning methods Analyze input data and predictions to solve business needs
  • 13. Next Steps and Resources Get Demo Scripts from GitHub https://github.com/sfperfdemo/vel2017-ml-wave Get Salesforce Wave Utilities https://github.com/forcedotcom/Analytics-Cloud-Dataset-Utils Visit Salesforce Wave Tutorial http://www.salesforce.com/analytics-cloud/overview/ Explore Machine Learning in Python (scikit) http://scikit-learn.org