<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Node-Red Archives - PHYSICS</title>
	<atom:link href="https://physics-faas.eu/tag/node-red/feed/" rel="self" type="application/rss+xml" />
	<link>https://physics-faas.eu/tag/node-red/</link>
	<description>Optimized Hybrid Space-Time Continuum in Faas</description>
	<lastBuildDate>Mon, 05 Dec 2022 09:43:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://physics-faas.eu/wp-content/uploads/2021/02/cropped-cropped-PHYSICS-logo-32x32.png</url>
	<title>Node-Red Archives - PHYSICS</title>
	<link>https://physics-faas.eu/tag/node-red/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>PHYSICS Design Environment</title>
		<link>https://physics-faas.eu/physics-design-environment/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Mon, 05 Dec 2022 09:43:08 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Edge Computing]]></category>
		<category><![CDATA[Node-Red]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1518</guid>

					<description><![CDATA[<p>The Design Environment is a graphical user interface (GUI) with the aim of helping users to get in touch with the PHYSICS solution framework, providing the tools and a GUI to simplify the development, testing [&#8230;]</p>
<p>The post <a href="https://physics-faas.eu/physics-design-environment/">PHYSICS Design Environment</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The Design Environment is a graphical user interface (GUI) with the aim of helping users to get in touch with the PHYSICS solution framework, providing the tools and a GUI to simplify the development, testing and management of FaaS applications, all in one place.</p>



<p>The Design Environment is a graphical user interface (GUI) with the aim of helping users to get in touch with the PHYSICS solution framework, providing the tools and a GUI to simplify the development, testing and management of FaaS applications, all in one place.</p>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2022/12/Picture-1-1-1024x427.jpg" alt="" class="wp-image-1520" width="784" height="326" srcset="https://physics-faas.eu/wp-content/uploads/2022/12/Picture-1-1-1024x427.jpg 1024w, https://physics-faas.eu/wp-content/uploads/2022/12/Picture-1-1-300x125.jpg 300w, https://physics-faas.eu/wp-content/uploads/2022/12/Picture-1-1-768x320.jpg 768w, https://physics-faas.eu/wp-content/uploads/2022/12/Picture-1-1.jpg 1384w" sizes="(max-width: 784px) 100vw, 784px" /><figcaption><em>Figure 1: Design Environment GUI</em><br><br><br></figcaption></figure></div>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The <strong>GUI is a downloadable packaged</strong> solution running as docker container on the user client device. Such solution gives to the user the flexibility, at the start up of the project, to leverage the user resources and don’t necessary rely on the cloud environment, with an approach of <em>EDGE computing</em><a href="#_ftn1">[1]</a> architecture.</p>



<p>The GUI is divided in two main sections: the first one is dedicated to the <strong>Node-RED</strong><a href="#_ftn2">[2]</a> application that provides a browser-based editor that makes easier to wire together flows using the wide range of available nodes, even custom PHYSICS’s nodes; the second one is the Admin Panel where the tools for managing the deployed Node-RED flows are located.</p>



<p>In the “Admin Panel” the user can proceed to the <strong>build</strong> of the deployed Node-RED flow to make it ready for the execution in the PHYSICS platform. Then, in the “Test” section, the flow can be tested from both logical and performance point of views. The last section (“Graph”) is dedicated to the creation of the graph where the user can define an application that includes one or more flows.</p>



<p>The application also gives to the user the possibility to load the (not generated) custom images into the integrated Node-RED environment, which can also be located in a user’s custom repository.</p>



<p>The Design Environment integrates a login system based on Keycloak<a href="#_ftn3">[3]</a>, which provides an all-in-one solution to manage the user’s Single Sign-On (SSO) to the application, i.e. the capabilities of authentication, authorization and segregation of the user workspace. The SSO feature enables the future opportunity of enforcing the security of the PHYSICS resources.</p>



<div style="height:26px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://physics-faas.eu/wp-content/uploads/2022/12/aa.png" alt="" class="wp-image-1521" width="709" height="452" srcset="https://physics-faas.eu/wp-content/uploads/2022/12/aa.png 904w, https://physics-faas.eu/wp-content/uploads/2022/12/aa-300x191.png 300w, https://physics-faas.eu/wp-content/uploads/2022/12/aa-768x489.png 768w" sizes="(max-width: 709px) 100vw, 709px" /><figcaption><em>Figure 2: Design Environment Components and Interactions with other elements of the PHYSICS platform</em></figcaption></figure></div>



<div style="height:41px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The application interacts with the other components of the PHYSICS environment, to enable the build, testing and management of the related flow. In Figure 2, a high-level diagram of the interactions of the GUI with the other PHYSICS components is represented.</p>



<div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator"/>



<div style="height:11px" aria-hidden="true" class="wp-block-spacer"></div>



<p><a href="#_ftnref1">[1]</a> <em>Edge computing is a distributed computing paradigm that brings computation and data storage closer to the sources of data. (<a href="https://en.wikipedia.org/wiki/Edge_computing">https://en.wikipedia.org/wiki/Edge_computing</a>)</em></p>



<p><a href="#_ftnref2">[2]</a> Node-<em>RED (<a href="https://nodered.org/">https://nodered.org/</a>)</em></p>



<p><a href="#_ftnref3">[3]</a> <em>Keycloak (<a href="https://www.keycloak.org/">https://www.keycloak.org/</a>)</em></p>
<p>The post <a href="https://physics-faas.eu/physics-design-environment/">PHYSICS Design Environment</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Taking advantage of PHYSICS to implement reliable data collection pipelines on the edge</title>
		<link>https://physics-faas.eu/taking-advantage-of-physics-to-implement-reliable-data-collection-pipelines-on-the-edge/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Thu, 17 Nov 2022 12:06:44 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[data collection]]></category>
		<category><![CDATA[Edge-ETL]]></category>
		<category><![CDATA[Node-Red]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1481</guid>

					<description><![CDATA[<p>Plant growth and production are the outcome of complex interactions between the plant and its environment. To setup the devices controlling the environment in the greenhouses with optimal efficiency, these interactions must be accounted for. [&#8230;]</p>
<p>The post <a href="https://physics-faas.eu/taking-advantage-of-physics-to-implement-reliable-data-collection-pipelines-on-the-edge/">Taking advantage of PHYSICS to implement reliable data collection pipelines on the edge</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Plant growth and production are the outcome of complex interactions between the plant and its environment. To setup the devices controlling the environment in the greenhouses with optimal efficiency, these interactions must be accounted for. Cybeletech develops biophysical plant growth models, which coupled with environmental models, allow to anticipate the impact of management scenarios on greenhouses outcome. To accurately estimate the current status of the plants and anticipate their development in different scenarios it is necessary to have access to the full history of environmental conditions in the greenhouse.</p>



<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>



<p>In most of the greenhouses these environmental data are monitored by a set of sensors. The data collected by the sensors are made available through a so-called supervisor, which is often a desktop computer with dedicated software for greenhouse monitoring and management, located in the greenhouse. According to the greenhouse equipment the data may be temporarily saved on this computer or not. To enable the plant growth models to access the full history about environmental conditions, there is a need for reliable data collection pipeline with the following requirements:</p>



<div style="height:27px" aria-hidden="true" class="wp-block-spacer"></div>



<ol class="wp-block-list" type="1"><li>The data collection pipeline must be resilient to connexion failures, which are happening regularly in greenhouses;</li><li>The pipeline must be easily adaptable to integrate new and different kind of environmental data sources;</li><li>The pipeline must be easily deployable on different kind of infrastructure.</li></ol>



<div style="height:26px" aria-hidden="true" class="wp-block-spacer"></div>



<p>A generic data collection pipeline has been implemented in a Node-Red flow and packaged as a pattern (Figure A). It integrates a getaway to temporarily saved the environmental data in a local database in case of connexion failure as well as a retry procedure to send them in distant database as soon as connexion is restored. The procedure to retrieve and pre-process the data collected by the sensors can be implemented in a Python script which is given as input of the pattern (Figure B). The deployment of the pipeline has been done on the supervisor using the Design Environment developed in PHYSICS.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full is-resized is-style-default"><img decoding="async" src="https://physics-faas.eu/wp-content/uploads/2022/11/image.png" alt="" class="wp-image-1482" width="852" height="681" srcset="https://physics-faas.eu/wp-content/uploads/2022/11/image.png 864w, https://physics-faas.eu/wp-content/uploads/2022/11/image-300x240.png 300w, https://physics-faas.eu/wp-content/uploads/2022/11/image-768x613.png 768w" sizes="(max-width: 852px) 100vw, 852px" /><figcaption><br></figcaption></figure>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The deployment from scratch on the test greenhouse supervisor took less than half a day. It allows to collect the data measured by sensors over a month without any data lost despite several connexion failures in the greenhouse. Moreover, the Python script for data collection and pre-processing has been adapted to integrate a novel temperature sensor. With the Edge-ETL pattern enabling to abstract from the overall logic, and the Design Environment for deployment on the edge, this update takes less than a day.</p>



<p>The PHYSICS development environment enables a smoother deployment and adaptation of the pipeline for data collection on the edge, while the dedicated pattern increases the reliability of this pipeline.</p>
<p>The post <a href="https://physics-faas.eu/taking-advantage-of-physics-to-implement-reliable-data-collection-pipelines-on-the-edge/">Taking advantage of PHYSICS to implement reliable data collection pipelines on the edge</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>FaaS-ification in Health Care</title>
		<link>https://physics-faas.eu/faas-ification-in-health-care/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Tue, 18 Oct 2022 08:44:27 +0000</pubDate>
				<category><![CDATA[FaaS]]></category>
		<category><![CDATA[Healthcare]]></category>
		<category><![CDATA[Node-Red]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1426</guid>

					<description><![CDATA[<p>Personalized healthcare requires decision support systems that can help healthcare professionals to manage large volumes of patients. </p>
<p>The post <a href="https://physics-faas.eu/faas-ification-in-health-care/">FaaS-ification in Health Care</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Why and how?</p>



<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Personalized healthcare requires decision support systems that can help healthcare professionals to manage large volumes of patients. Care for chronic conditions requires doing so for patients at their everyday setting, outside the clinical environment. These needs can only be addressed with AI systems, at the core of which models trained by ML can be found. Such systems are deployed to offer diverse services, such as model inference for patient outcomes’ prediction, patient clustering into phenotypes and dataset augmentation with synthetic arms.</p>



<p>The traditional deployments of such systems in healthcare suffer from scaling. Deployment is a lengthy procedure, certainly aided by modern CI/CD pipelines, but the resulting systems are quite static in terms of resources, while occupying them even during quiet times.</p>



<p></p>



<p>PHYSICS facilitates the design and deployment of these services. It provides a design environment to implement and deploy the services. The starting point is an AI function implemented in Python at the core, which constitutes a node in complete Node-RED flows built around it using more (Javascript) functions and PHYSICS patterns to handle input and output.</p>



<p>Node-RED offers developers the means to locally test the flow, using additional nodes for user input, and invocation. Local testing is handy during the implementation phase.</p>



<p>Still using the design environment, locally tested flows are then deployed as functions to expose the health care services. PHYSICS annotation nodes control the deployment options at the flow level.</p>



<p>Thus, the flows employed for defining testing and deploying healthcare services are usually split in three sections. The endpoints definition section defines two POST endpoints, the /run with the service core, and the /init for any initialization. The manual invocation section facilitates local testing by sending a request to the /run endpoint. Finally, the annotations section controls the deployment options. The sections are shown in the flow depicted below:</p>



<div style="height:23px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2022/10/image-5.png" alt="" class="wp-image-1427" width="822" height="627" srcset="https://physics-faas.eu/wp-content/uploads/2022/10/image-5.png 936w, https://physics-faas.eu/wp-content/uploads/2022/10/image-5-300x229.png 300w, https://physics-faas.eu/wp-content/uploads/2022/10/image-5-768x586.png 768w" sizes="auto, (max-width: 822px) 100vw, 822px" /></figure></div>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The healthcare services being implemented in the PHYSICS FaaS way are:</p>



<ul class="wp-block-list"><li>Predictive model inference: Load feature vectors and a predictive model into an inference engine to get inference results.</li><li>Patient phenotyping: Load feature vectors and a set of generative models (describing patient clusters) into a system that return the model best describing each vector.</li><li>Data synthesis: Load a set of generative models and a model transition probability matrix into a system that draws vectors from the generative models, following a model activation pattern as described by the transition probability.</li></ul>



<p>Currently, the first flow is implemented, tested and deployed. It is now undergoing testing to showcase the benefits of the PHYSICS approach in terms of handling rapid small requests by merging them into larger ones. The rest of the flows are under initial implementation. Stay tuned for more news on our progress!</p>
<p>The post <a href="https://physics-faas.eu/faas-ification-in-health-care/">FaaS-ification in Health Care</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
