SlideShare a Scribd company logo
1 of 27
Download to read offline
Value-Based Manufacturing
Optimisation
in Serverless Clouds for Industry 4.0
Piotr Dziurzanski, Jerry Swan,
Leandro Soares Indrusiak
University of York
GECCO 2018 Kyoto, July 15th-19th 2018 1
 Serverless computing
 SAFIRE project
 Industry 4.0
 System architecture
 Problem description
 Implementation issues
 Experimental results
 Conclusion
GECCO 2018 Kyoto, July 15th-19th 2018 2
Agenda
 A misnomer - still requires servers.
 A cloud-computing execution model in
which the cloud provider dynamically
manages the allocation of machine
resources.
 Statelessness.
 Pricing is based on the actual amount
of resources consumed by a function.
GECCO 2018 Kyoto, July 15th-19th 2018 3
Serverless computing (FaaS)
GECCO 2018 Kyoto, July 15th-19th 2018 4
Limits of serverless services in the
most popular public clouds
Limit IBM Cloud
Function (Apache
OpenWhisk)
Amazon lambda Google Cloud
Functions
Azure Functions
(Consumption
plan)
languages &
environments
Docker, JavaScript
(Node.js runtime),
Python, Java, and
Swift
JavaScript
(Node.js runtime),
Python, Java, C#,
Go
JavaScript
(Node.js runtime)
C#, F#, JavaScript
(Node.js runtime),
Java, or PHP
max code size 48MB 50MB 100MB
(compressed)
not documented
max no of
concurrent
execution
1000 1000 (per region) 1000 200
max memory
footprint
512MB 3008MB 500MB 1500MB
max no. of
function
invocations per
time unit
5000 per 60s not documented 1,000,000
per 100 s
not documented
timeout 600s 300s 540s 600s
 Funded under: H2020 -
EU.2.1.1. - Industrial
Leadership
 Reconfiguration-as-a-
Service for dynamic smart
factories and manufactured
smart products.
 Exploits cloud-based
services to continuously
optimise the performance of
production systems and
products.
GECCO 2018 Kyoto, July 15th-19th 2018 5
SAFIRE Project
GECCO 2018 Kyoto, July 15th-19th 2018 6
SAFIRE Architecture
SAFIRE
Manufacturer / Factory
Optimisation &
Reconfiguration
Engine
Situation
Determination
Services
Predictive
Analytics
Engine
Reconfiguration
Quality
Evaluation
Services
Reconfiguration
Interfaces
Secure SAFIRE infrastructure
Connected Product Network
&Event-driven Data Ingestion Situation Monitoring Services
GECCO 2018 Kyoto, July 15th-19th 2018 7
On-demand manufacturing
scheduling optimisation
optimisation of manufacturing
plant that is specified via the
(max,+) algebra
 a ⊕ b = max ( a , b )
 a ⊗ b = a + b
 ⊗ has a higher precedence than ⊕
GECCO 2018 Kyoto, July 15th-19th 2018 8
(max, +)-algebra
 semiring
 associativity of ⊕, ⊗
 commutativity of ⊕, ⊗
 distributivity over ⊕
 zero element
 ε = -∞ (for ⊕) – ”never before”
 unit element
 e = 0 (for ⊗)
 idempotency of ⊕
GECCO 2018 Kyoto, July 15th-19th 2018 9
(max, +)-algebra properties
 A manufacturing process begins at time t1 in state 1.
 t2 = t1 ⊗ dA = t1 + dA
 t3 = t2 ⊗ dB = t2 + dB
 t4 = t3 ⊗ dD = t3 + dD
 t5 = (t2 ⊗ dC) ⊕ (t4 ⊗ dE) = max(t2 + dC, t4 + dE)
 t6 = t5 ⊗ dF = t5 + dF
GECCO 2018 Kyoto, July 15th-19th 2018 10
(max, +)-algebra for Activity on Arrow
(AoA) plant representation - example
 Assumption: both the solution quality and
optimisation time are relevant to the end-user.
 Optimisation time impact: described by a value
curve in a monetary unit.
GECCO 2018 Kyoto, July 15th-19th 2018 11
Value curve of manufacturing order
GECCO 2018 Kyoto, July 15th-19th 2018 12
Architecture
Master Master Master ...
1st stage 2nd stage
Slave
Slave
Slave
Slave
Slave
Slave
... ...
GECCO 2018 Kyoto, July 15th-19th 2018 13
Stopping criterion to maximise
overall profit
 Optimisation cost upperbound: 𝑐𝑖 = 𝛽 ∙ 𝑡𝑖 ∙ 𝑝𝑖
 Manufacturing cost: 𝑓𝑖
 Profit: 𝑃𝑖 = 𝑉𝐶 σ 𝑗=1
𝑖
𝑡𝑗 − σ 𝑗=1
𝑖
𝑐𝑗 − 𝑓𝑖
GECCO 2018 Kyoto, July 15th-19th 2018 14
Time and cost of stage execution
t
i-th stage
slave1
slave2
slave3
slavepi
ti
cost of a single slave
execution per 1 time unit
the lowest value of FF
after the i-th stage
 Prediction (via extrapolation) of profit
improvement
 Stopping criterion:
GECCO 2018 Kyoto, July 15th-19th 2018 15
Stopping criteria
෠𝑃𝑖+1 = 𝑉𝐶 ෍
𝑗=1
𝑖
𝑡𝑗 + Ƹ𝑡𝑖+1 − መ𝑓𝑖+1 − ෍
𝑗=1
𝑖
𝑐𝑗 − Ƹ𝑐𝑖+1.
𝑃𝑖 > ෠𝑃𝑖+1
 Uses jMetal framework
 Stateless
 Placed inside a Docker container
 REST-compliant Web service
 Invoked with Apache OpenWhisk
 Fully documented API
 Communication between the master
and slave nodes is performed via JSON
over HTTP
GECCO 2018 Kyoto, July 15th-19th 2018 16
GA-based optimiser - implementation
issues
 AoA with
 22 nodes
 6 levels
 43 arrows
 Each manufacturing process can be
executed on
 one of 8 machine types
 each machine - from 1 to 9 operating
modes
GECCO 2018 Kyoto, July 15th-19th 2018 17
Experiment
 Value curve parameters
 Initial number of containers run in
parallel is set to p1 = 10
GECCO 2018 Kyoto, July 15th-19th 2018 18
Experiment – parameters
AT = 0 D = 500s Z = 1000s
Vmax = 5000GBP
 the Standard Deviation of population
fitness after the i-th stage, sdi , ≤ 10−6
or
 minimal fitness function value fi was not
improved during the previous 20 stages
or
 the number of stages == 100
GECCO 2018 Kyoto, July 15th-19th 2018 19
Baseline stopping criterion
 Baseline: 71 stages, p71 = 2
 Proposed: 6 stages (the second best, only 2%
worse than the highest possible profit)
 The average profit prediction error - ca. 2%.
GECCO 2018 Kyoto, July 15th-19th 2018 20
Results for β = 0.5 GBP
Max profit
 Baseline: 71 stages, p71 = 2
 Proposed: 41 stages (the highest possible profit)
GECCO 2018 Kyoto, July 15th-19th 2018 21
Results for β = 0 GBP
Max profit
 10 different manufacturing orders (18 to 59
manufacturing processes)
 No influence on the profit yielded by algorithm
 Execution times differ significantly
GECCO 2018 Kyoto, July 15th-19th 2018 22
#GA generations per stage
 AoA instance with 22 nodes, 6 levels
and 43 arrows
GECCO 2018 Kyoto, July 15th-19th 2018 23
Scalability
Profit [GBP]
[GBP]
 30 manufacturing orders (18 to 59 steps),
the maximal possible income – 5000 GBP
 Proposed vs baseline: Optimisation
process 18.5 times faster
 The obtained fitness
function values are
34% worse on
average
GECCO 2018 Kyoto, July 15th-19th 2018 24
Stopping criteria – time and ff value
(lower is better)
 Baseline: 86% of the considered
manufacturing orders lead to financial
loss (cumulative profit: -124497 GBP)
 Proposed: all of the
orders are profitable
(cumulative
profit: 83877 GBP)
GECCO 2018 Kyoto, July 15th-19th 2018 25
Stopping criteria - profit
(higher is better)
 This article describes a serverless, cloud-based
architecture that provides general and scalable
support for the ‘Just in Time’ manufacturing
process envisioned for ‘Industry 4.0’.
 The architecture is equipped with a novel adaptive
stopping criterion for optimising Overall Equipment
Effectiveness (OEE), in which the predicted
cost/benefit ratio of performing further
optimisation is grounded in monetary units.
 The method was applied to a collection of case
studies for optimal configuration of manufacturing
plants specified via the (max, +) algebra.
 We deployed stateless, Dockerised containers and
obtained near maximum profit from the resulting
optimisation.
GECCO 2018 Kyoto, July 15th-19th 2018 26
Conclusion
Thank you!
Questions ?
GECCO 2018 Kyoto, July 15th-19th 2018 27

More Related Content

Similar to Value-Based Manufacturing Optimisation in Serverless Clouds for Industry 4.0

HPC on Cloud for SMEs. The case of bolt tightening.
HPC on Cloud for SMEs. The case of bolt tightening.HPC on Cloud for SMEs. The case of bolt tightening.
HPC on Cloud for SMEs. The case of bolt tightening.Andrés Gómez
 
Exposing the Cost of Performance Hidden in the Cloud
Exposing the Cost of Performance Hidden in the CloudExposing the Cost of Performance Hidden in the Cloud
Exposing the Cost of Performance Hidden in the CloudNeil Gunther
 
"Approaches for Energy Efficient Implementation of Deep Neural Networks," a P...
"Approaches for Energy Efficient Implementation of Deep Neural Networks," a P..."Approaches for Energy Efficient Implementation of Deep Neural Networks," a P...
"Approaches for Energy Efficient Implementation of Deep Neural Networks," a P...Edge AI and Vision Alliance
 
How to build an ETL pipeline with Apache Beam on Google Cloud Dataflow
How to build an ETL pipeline with Apache Beam on Google Cloud DataflowHow to build an ETL pipeline with Apache Beam on Google Cloud Dataflow
How to build an ETL pipeline with Apache Beam on Google Cloud DataflowLucas Arruda
 
TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...tdc-globalcode
 
Laura sebu icstcc_merging
Laura sebu icstcc_mergingLaura sebu icstcc_merging
Laura sebu icstcc_merginglaurasebu
 
Crude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationCrude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationBrenno Menezes
 
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputDesigning of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputIRJET Journal
 
OSMC 2011 | Cacti Graphing Solution by Reinhard Scheck
OSMC 2011 | Cacti Graphing Solution by Reinhard ScheckOSMC 2011 | Cacti Graphing Solution by Reinhard Scheck
OSMC 2011 | Cacti Graphing Solution by Reinhard ScheckNETWAYS
 
Bosch Splunk Roundtable: Bosch atmo Performance Center
Bosch Splunk Roundtable: Bosch atmo Performance CenterBosch Splunk Roundtable: Bosch atmo Performance Center
Bosch Splunk Roundtable: Bosch atmo Performance CenterSplunk
 
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...LEGATO project
 
IRJET- Solving Economic Load Dispatch Problem with Valve Point Effect
IRJET- Solving Economic Load Dispatch Problem with Valve Point EffectIRJET- Solving Economic Load Dispatch Problem with Valve Point Effect
IRJET- Solving Economic Load Dispatch Problem with Valve Point EffectIRJET Journal
 
Sprint 44 review
Sprint 44 reviewSprint 44 review
Sprint 44 reviewManageIQ
 
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKApplying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKJeremy Chen
 
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docxFall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docxlmelaine
 
Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...Alexander Decker
 
11.optimization by heuristic procedure of scheduling constraints in manufactu...
11.optimization by heuristic procedure of scheduling constraints in manufactu...11.optimization by heuristic procedure of scheduling constraints in manufactu...
11.optimization by heuristic procedure of scheduling constraints in manufactu...Alexander Decker
 
IRJET- Parallelization of Definite Integration
IRJET- Parallelization of Definite IntegrationIRJET- Parallelization of Definite Integration
IRJET- Parallelization of Definite IntegrationIRJET Journal
 

Similar to Value-Based Manufacturing Optimisation in Serverless Clouds for Industry 4.0 (20)

HPC on Cloud for SMEs. The case of bolt tightening.
HPC on Cloud for SMEs. The case of bolt tightening.HPC on Cloud for SMEs. The case of bolt tightening.
HPC on Cloud for SMEs. The case of bolt tightening.
 
Exposing the Cost of Performance Hidden in the Cloud
Exposing the Cost of Performance Hidden in the CloudExposing the Cost of Performance Hidden in the Cloud
Exposing the Cost of Performance Hidden in the Cloud
 
"Approaches for Energy Efficient Implementation of Deep Neural Networks," a P...
"Approaches for Energy Efficient Implementation of Deep Neural Networks," a P..."Approaches for Energy Efficient Implementation of Deep Neural Networks," a P...
"Approaches for Energy Efficient Implementation of Deep Neural Networks," a P...
 
How to build an ETL pipeline with Apache Beam on Google Cloud Dataflow
How to build an ETL pipeline with Apache Beam on Google Cloud DataflowHow to build an ETL pipeline with Apache Beam on Google Cloud Dataflow
How to build an ETL pipeline with Apache Beam on Google Cloud Dataflow
 
TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...
TDC2017 | São Paulo - Trilha BigData How we figured out we had a SRE team at ...
 
Laura sebu icstcc_merging
Laura sebu icstcc_mergingLaura sebu icstcc_merging
Laura sebu icstcc_merging
 
Crude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationCrude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimization
 
Control of computing systems
Control of computing systemsControl of computing systems
Control of computing systems
 
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputDesigning of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
 
OSMC 2011 | Cacti Graphing Solution by Reinhard Scheck
OSMC 2011 | Cacti Graphing Solution by Reinhard ScheckOSMC 2011 | Cacti Graphing Solution by Reinhard Scheck
OSMC 2011 | Cacti Graphing Solution by Reinhard Scheck
 
Bosch Splunk Roundtable: Bosch atmo Performance Center
Bosch Splunk Roundtable: Bosch atmo Performance CenterBosch Splunk Roundtable: Bosch atmo Performance Center
Bosch Splunk Roundtable: Bosch atmo Performance Center
 
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
SAMOS 2018: LEGaTO: first steps towards energy-efficient toolset for heteroge...
 
IRJET- Solving Economic Load Dispatch Problem with Valve Point Effect
IRJET- Solving Economic Load Dispatch Problem with Valve Point EffectIRJET- Solving Economic Load Dispatch Problem with Valve Point Effect
IRJET- Solving Economic Load Dispatch Problem with Valve Point Effect
 
Sprint 44 review
Sprint 44 reviewSprint 44 review
Sprint 44 review
 
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKApplying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPK
 
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docxFall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
 
The Glass Wave: V1 Digital Plait
The Glass Wave: V1 Digital Plait The Glass Wave: V1 Digital Plait
The Glass Wave: V1 Digital Plait
 
Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...Optimization by heuristic procedure of scheduling constraints in manufacturin...
Optimization by heuristic procedure of scheduling constraints in manufacturin...
 
11.optimization by heuristic procedure of scheduling constraints in manufactu...
11.optimization by heuristic procedure of scheduling constraints in manufactu...11.optimization by heuristic procedure of scheduling constraints in manufactu...
11.optimization by heuristic procedure of scheduling constraints in manufactu...
 
IRJET- Parallelization of Definite Integration
IRJET- Parallelization of Definite IntegrationIRJET- Parallelization of Definite Integration
IRJET- Parallelization of Definite Integration
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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
 
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
 
🐬 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
 
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
 
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
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
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
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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)
 
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
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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...
 

Value-Based Manufacturing Optimisation in Serverless Clouds for Industry 4.0

  • 1. Value-Based Manufacturing Optimisation in Serverless Clouds for Industry 4.0 Piotr Dziurzanski, Jerry Swan, Leandro Soares Indrusiak University of York GECCO 2018 Kyoto, July 15th-19th 2018 1
  • 2.  Serverless computing  SAFIRE project  Industry 4.0  System architecture  Problem description  Implementation issues  Experimental results  Conclusion GECCO 2018 Kyoto, July 15th-19th 2018 2 Agenda
  • 3.  A misnomer - still requires servers.  A cloud-computing execution model in which the cloud provider dynamically manages the allocation of machine resources.  Statelessness.  Pricing is based on the actual amount of resources consumed by a function. GECCO 2018 Kyoto, July 15th-19th 2018 3 Serverless computing (FaaS)
  • 4. GECCO 2018 Kyoto, July 15th-19th 2018 4 Limits of serverless services in the most popular public clouds Limit IBM Cloud Function (Apache OpenWhisk) Amazon lambda Google Cloud Functions Azure Functions (Consumption plan) languages & environments Docker, JavaScript (Node.js runtime), Python, Java, and Swift JavaScript (Node.js runtime), Python, Java, C#, Go JavaScript (Node.js runtime) C#, F#, JavaScript (Node.js runtime), Java, or PHP max code size 48MB 50MB 100MB (compressed) not documented max no of concurrent execution 1000 1000 (per region) 1000 200 max memory footprint 512MB 3008MB 500MB 1500MB max no. of function invocations per time unit 5000 per 60s not documented 1,000,000 per 100 s not documented timeout 600s 300s 540s 600s
  • 5.  Funded under: H2020 - EU.2.1.1. - Industrial Leadership  Reconfiguration-as-a- Service for dynamic smart factories and manufactured smart products.  Exploits cloud-based services to continuously optimise the performance of production systems and products. GECCO 2018 Kyoto, July 15th-19th 2018 5 SAFIRE Project
  • 6. GECCO 2018 Kyoto, July 15th-19th 2018 6 SAFIRE Architecture SAFIRE Manufacturer / Factory Optimisation & Reconfiguration Engine Situation Determination Services Predictive Analytics Engine Reconfiguration Quality Evaluation Services Reconfiguration Interfaces Secure SAFIRE infrastructure Connected Product Network &Event-driven Data Ingestion Situation Monitoring Services
  • 7. GECCO 2018 Kyoto, July 15th-19th 2018 7 On-demand manufacturing scheduling optimisation optimisation of manufacturing plant that is specified via the (max,+) algebra
  • 8.  a ⊕ b = max ( a , b )  a ⊗ b = a + b  ⊗ has a higher precedence than ⊕ GECCO 2018 Kyoto, July 15th-19th 2018 8 (max, +)-algebra
  • 9.  semiring  associativity of ⊕, ⊗  commutativity of ⊕, ⊗  distributivity over ⊕  zero element  ε = -∞ (for ⊕) – ”never before”  unit element  e = 0 (for ⊗)  idempotency of ⊕ GECCO 2018 Kyoto, July 15th-19th 2018 9 (max, +)-algebra properties
  • 10.  A manufacturing process begins at time t1 in state 1.  t2 = t1 ⊗ dA = t1 + dA  t3 = t2 ⊗ dB = t2 + dB  t4 = t3 ⊗ dD = t3 + dD  t5 = (t2 ⊗ dC) ⊕ (t4 ⊗ dE) = max(t2 + dC, t4 + dE)  t6 = t5 ⊗ dF = t5 + dF GECCO 2018 Kyoto, July 15th-19th 2018 10 (max, +)-algebra for Activity on Arrow (AoA) plant representation - example
  • 11.  Assumption: both the solution quality and optimisation time are relevant to the end-user.  Optimisation time impact: described by a value curve in a monetary unit. GECCO 2018 Kyoto, July 15th-19th 2018 11 Value curve of manufacturing order
  • 12. GECCO 2018 Kyoto, July 15th-19th 2018 12 Architecture Master Master Master ... 1st stage 2nd stage Slave Slave Slave Slave Slave Slave ... ...
  • 13. GECCO 2018 Kyoto, July 15th-19th 2018 13 Stopping criterion to maximise overall profit
  • 14.  Optimisation cost upperbound: 𝑐𝑖 = 𝛽 ∙ 𝑡𝑖 ∙ 𝑝𝑖  Manufacturing cost: 𝑓𝑖  Profit: 𝑃𝑖 = 𝑉𝐶 σ 𝑗=1 𝑖 𝑡𝑗 − σ 𝑗=1 𝑖 𝑐𝑗 − 𝑓𝑖 GECCO 2018 Kyoto, July 15th-19th 2018 14 Time and cost of stage execution t i-th stage slave1 slave2 slave3 slavepi ti cost of a single slave execution per 1 time unit the lowest value of FF after the i-th stage
  • 15.  Prediction (via extrapolation) of profit improvement  Stopping criterion: GECCO 2018 Kyoto, July 15th-19th 2018 15 Stopping criteria ෠𝑃𝑖+1 = 𝑉𝐶 ෍ 𝑗=1 𝑖 𝑡𝑗 + Ƹ𝑡𝑖+1 − መ𝑓𝑖+1 − ෍ 𝑗=1 𝑖 𝑐𝑗 − Ƹ𝑐𝑖+1. 𝑃𝑖 > ෠𝑃𝑖+1
  • 16.  Uses jMetal framework  Stateless  Placed inside a Docker container  REST-compliant Web service  Invoked with Apache OpenWhisk  Fully documented API  Communication between the master and slave nodes is performed via JSON over HTTP GECCO 2018 Kyoto, July 15th-19th 2018 16 GA-based optimiser - implementation issues
  • 17.  AoA with  22 nodes  6 levels  43 arrows  Each manufacturing process can be executed on  one of 8 machine types  each machine - from 1 to 9 operating modes GECCO 2018 Kyoto, July 15th-19th 2018 17 Experiment
  • 18.  Value curve parameters  Initial number of containers run in parallel is set to p1 = 10 GECCO 2018 Kyoto, July 15th-19th 2018 18 Experiment – parameters AT = 0 D = 500s Z = 1000s Vmax = 5000GBP
  • 19.  the Standard Deviation of population fitness after the i-th stage, sdi , ≤ 10−6 or  minimal fitness function value fi was not improved during the previous 20 stages or  the number of stages == 100 GECCO 2018 Kyoto, July 15th-19th 2018 19 Baseline stopping criterion
  • 20.  Baseline: 71 stages, p71 = 2  Proposed: 6 stages (the second best, only 2% worse than the highest possible profit)  The average profit prediction error - ca. 2%. GECCO 2018 Kyoto, July 15th-19th 2018 20 Results for β = 0.5 GBP Max profit
  • 21.  Baseline: 71 stages, p71 = 2  Proposed: 41 stages (the highest possible profit) GECCO 2018 Kyoto, July 15th-19th 2018 21 Results for β = 0 GBP Max profit
  • 22.  10 different manufacturing orders (18 to 59 manufacturing processes)  No influence on the profit yielded by algorithm  Execution times differ significantly GECCO 2018 Kyoto, July 15th-19th 2018 22 #GA generations per stage
  • 23.  AoA instance with 22 nodes, 6 levels and 43 arrows GECCO 2018 Kyoto, July 15th-19th 2018 23 Scalability Profit [GBP] [GBP]
  • 24.  30 manufacturing orders (18 to 59 steps), the maximal possible income – 5000 GBP  Proposed vs baseline: Optimisation process 18.5 times faster  The obtained fitness function values are 34% worse on average GECCO 2018 Kyoto, July 15th-19th 2018 24 Stopping criteria – time and ff value (lower is better)
  • 25.  Baseline: 86% of the considered manufacturing orders lead to financial loss (cumulative profit: -124497 GBP)  Proposed: all of the orders are profitable (cumulative profit: 83877 GBP) GECCO 2018 Kyoto, July 15th-19th 2018 25 Stopping criteria - profit (higher is better)
  • 26.  This article describes a serverless, cloud-based architecture that provides general and scalable support for the ‘Just in Time’ manufacturing process envisioned for ‘Industry 4.0’.  The architecture is equipped with a novel adaptive stopping criterion for optimising Overall Equipment Effectiveness (OEE), in which the predicted cost/benefit ratio of performing further optimisation is grounded in monetary units.  The method was applied to a collection of case studies for optimal configuration of manufacturing plants specified via the (max, +) algebra.  We deployed stateless, Dockerised containers and obtained near maximum profit from the resulting optimisation. GECCO 2018 Kyoto, July 15th-19th 2018 26 Conclusion
  • 27. Thank you! Questions ? GECCO 2018 Kyoto, July 15th-19th 2018 27