Exploring the potential of flow-based programming for machine learning deployment in comparison with service-oriented architectures

08/09/2021
by   Andrei Paleyes, et al.
0

Despite huge successes reported by the field of machine learning, such as speech assistants or self-driving cars, businesses still observe very high failure rate when it comes to deployment of ML in production. We argue that part of the reason is infrastructure that was not designed for activities around data collection and analysis. We propose to consider flow-based programming with data streams as an alternative to commonly used service-oriented architectures for building software applications. To compare flow-based programming with the widespread service-oriented approach, we develop a data processing application, and formulate two subsequent ML-related tasks that constitute a complete cycle of ML deployment while allowing us to assess characteristics of each programming paradigm in the ML context. Employing both code metrics and empirical observations, we show that when it comes to ML deployment each paradigm has certain advantages and drawbacks. Our main conclusion is that while FBP shows great potential for providing infrastructural benefits for deployment of machine learning, it requires a lot of boilerplate code to define and manipulate the dataflow graph. We believe that with better developer tools in place this problem can be alleviated, establishing FBP as a strong alternative to currently prevalent SOA-driven software design approach. Additionally, we provide an insight into the trend of prioritising model development over data quality management.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/27/2022

An Empirical Evaluation of Flow Based Programming in the Machine Learning Deployment Context

As use of data driven technologies spreads, software engineers are more ...
research
02/09/2023

Real-world Machine Learning Systems: A survey from a Data-Oriented Architecture Perspective

With the upsurge of interest in artificial intelligence machine learning...
research
08/31/2021

Towards Observability for Machine Learning Pipelines

Software organizations are increasingly incorporating machine learning (...
research
10/01/2018

SmartChoices: Hybridizing Programming and Machine Learning

We present SmartChoices, an approach to making machine learning (ML) a f...
research
06/07/2021

Widening Access to Applied Machine Learning with TinyML

Broadening access to both computational and educational resources is cri...
research
01/03/2022

Supervised Learning based QoE Prediction of Video Streaming in Future Networks: A Tutorial with Comparative Study

The Quality of Experience (QoE) based service management remains key for...
research
01/28/2019

Optimal and Automated Deployment for Microservices

Microservices are highly modular and scalable Service Oriented Architect...

Please sign up or login with your details

Forgot password? Click here to reset