<?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>Cloud Computing Archives - PHYSICS</title>
	<atom:link href="https://physics-faas.eu/category/cloud-computing/feed/" rel="self" type="application/rss+xml" />
	<link>https://physics-faas.eu/category/cloud-computing/</link>
	<description>Optimized Hybrid Space-Time Continuum in Faas</description>
	<lastBuildDate>Thu, 27 Jul 2023 10:04:53 +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>Cloud Computing Archives - PHYSICS</title>
	<link>https://physics-faas.eu/category/cloud-computing/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Deploying healthcare ML functions in the PHYSICS way</title>
		<link>https://physics-faas.eu/deploying-healthcare-ml-functions-in-the-physics-way/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Wed, 12 Jul 2023 10:04:27 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Healthcare]]></category>
		<category><![CDATA[FaaS]]></category>
		<category><![CDATA[PHYSICS]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1936</guid>

					<description><![CDATA[<p>Automatic understanding of patients to drive personalized interventions is becoming important in personalized healthcare, especially when patients are suffering from chronic conditions, ideally spending most of their patient journey away from clinical facilities. In most [&#8230;]</p>
<p>The post <a href="https://physics-faas.eu/deploying-healthcare-ml-functions-in-the-physics-way/">Deploying healthcare ML functions in the PHYSICS way</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>Automatic understanding of patients to drive personalized interventions is becoming important in personalized healthcare, especially when patients are suffering from chronic conditions, ideally spending most of their patient journey away from clinical facilities. In most cases using models to infer on patients is a sporadic task, each patient being processed once or a few times per day. Deployed inference services are mostly inactive, occasionally serving bursts of requests. This is a clear indication of benefits that can be achieved if such services are deployed as functions. PHYSICS provides the tools for designing, testing, deploying and evaluating such Functions as a Service (FaaS). Engineers can use the provided Design Environment (DE) to first design their service. The PHYSICS DE integrates Node-RED and extends its palette of nodes, facilitating graphical service implementation as a flow. Some of the nodes do accept Javascript and Python scripts for advanced functionality. The flow can be tested locally, optimized and finalized.</p>



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



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2023/07/image.png" alt="" class="wp-image-1937" width="517" height="305" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image.png 742w, https://physics-faas.eu/wp-content/uploads/2023/07/image-300x177.png 300w" sizes="(max-width: 517px) 100vw, 517px" /><figcaption>An eHealth inference service designed as a Node-RED flow</figcaption></figure></div>



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



<p>The DE then provides the means to build the flow into an action that can be invoked within OpenWhisk. A Jenkins pipeline is executed, and as a result, the engineer comes up with a new action from their flow.</p>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="654" height="322" src="https://physics-faas.eu/wp-content/uploads/2023/07/image-1.png" alt="" class="wp-image-1938" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image-1.png 654w, https://physics-faas.eu/wp-content/uploads/2023/07/image-1-300x148.png 300w" sizes="(max-width: 654px) 100vw, 654px" /><figcaption>An eHealth inference flow converted to actions to be used within OpenWhisk</figcaption></figure></div>



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



<p>The deployed actions are then tested via flows dedicated to invoking deployed actions. The outputs of the deployed actions are compared to those of the local flows.</p>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="812" height="144" src="https://physics-faas.eu/wp-content/uploads/2023/07/qqqq.png" alt="" class="wp-image-1945" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/qqqq.png 812w, https://physics-faas.eu/wp-content/uploads/2023/07/qqqq-300x53.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/qqqq-768x136.png 768w" sizes="(max-width: 812px) 100vw, 812px" /><figcaption>Flow for testing deployed actions</figcaption></figure></div>



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



<p>Finally, deployed actions can be evaluated under different scenarios implemented using dedicated load generator nodes.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2023/07/image-3.png" alt="" class="wp-image-1940" width="803" height="187" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image-3.png 936w, https://physics-faas.eu/wp-content/uploads/2023/07/image-3-300x70.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/image-3-768x179.png 768w" sizes="auto, (max-width: 803px) 100vw, 803px" /><figcaption>Flow for generating and evaluating different load scenarios for deployed actions</figcaption></figure></div>



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



<p>The results of such tests can be as follows, where experiments last 2 minutes continuous requests, each request arriving at a fixed delay after the previous. As long as the delays are larger than the inference time, the achieved rate follows the increase of that of a system with infinite resources. When the delay drops below the execution time, then the achieved rate reaches a plateau. Even more frequent requests push Openwhisk beyond the accepted maximum request level, dropping the requests, resulting to a performance collapse.</p>



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



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2023/07/image-4.png" alt="" class="wp-image-1941" width="482" height="300" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image-4.png 562w, https://physics-faas.eu/wp-content/uploads/2023/07/image-4-300x187.png 300w" sizes="auto, (max-width: 482px) 100vw, 482px" /><figcaption>Evaluating achieved response rate for different inter-request delays</figcaption></figure></div>



<hr class="wp-block-separator"/>
<p>The post <a href="https://physics-faas.eu/deploying-healthcare-ml-functions-in-the-physics-way/">Deploying healthcare ML functions in the PHYSICS way</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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>Patterns</title>
		<link>https://physics-faas.eu/patterns/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Tue, 26 Jul 2022 08:43:25 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[FaaS]]></category>
		<category><![CDATA[Patterns]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1305</guid>

					<description><![CDATA[<p>A pattern is defined as “a proven series of activities which are supposed to overcome a recurring problem in a certain context, particular objective, and specific initial condition”[1] . Patterns have been a very useful [&#8230;]</p>
<p>The post <a href="https://physics-faas.eu/patterns/">Patterns</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>A pattern is defined as “<em>a proven series of activities which are supposed to overcome a recurring problem in a certain context, particular objective, and specific initial condition</em>”[1] . Patterns have been a very useful tool for dictating design principles as well as driving abstract implementations for a specific domain[2], following key guidelines in order to address common issues in that domain[3]. Typically details for a pattern include its design, its parameters, when and how it should be used, benefits and drawbacks etc. For the FaaS domain, an extended list of tailored patterns appears in [4]. In general, a pattern may be driven either by research goals, the peculiarities of a specific domain or the challenges of a specific use case/application. Other example patterns may include parallelization primitives (e.g. from MPI concepts, Map-Reduce model etc.).&nbsp;</p>



<p>In the PHYSICS platform, the main function editing environment used is Node-RED. One of the abilities of the latter is to group a number of functions into subflows that can hide the internal implementation details and appear as regular Node-RED nodes with the parameterizable interfaces. Based on this feature, we have created an extended list of pattern functionalities, providing a parametric, generic implementation that can be dragged and dropped into a developer’s flow in order to speed up development time and reduce the learning curve of FaaS. Examples of such patterns include:</p>



<ul class="wp-block-list"><li>Implementation of the Fork-Join parallelization primitive, including intra and inter-container parallelization abilities</li></ul>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="832" height="426" src="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-1.png" alt="" class="wp-image-1955" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-1.png 832w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-1-300x154.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-1-768x393.png 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /></figure></div>



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



<ul class="wp-block-list"><li>Different means of context management, including means to maintain context in warm function executions (reuse of existing containers) or to clean up context for functional or security purposes</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="686" height="208" src="https://physics-faas.eu/wp-content/uploads/2023/07/Picture2.png" alt="" class="wp-image-1956" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/Picture2.png 686w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture2-300x91.png 300w" sizes="auto, (max-width: 686px) 100vw, 686px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="714" height="226" src="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-2b.png" alt="" class="wp-image-1957" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-2b.png 714w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-2b-300x95.png 300w" sizes="auto, (max-width: 714px) 100vw, 714px" /></figure></div>



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



<ul class="wp-block-list"><li>Intelligent request aggregation patterns for reducing back-end stress and costs in high frequency request rates [5]</li></ul>



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



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="977" height="320" src="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-3.png" alt="" class="wp-image-1958" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-3.png 977w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-3-300x98.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-3-768x252.png 768w" sizes="auto, (max-width: 977px) 100vw, 977px" /></figure>



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



<ul class="wp-block-list"><li>Edge ETL Data Collection</li></ul>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="832" height="432" src="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-4.png" alt="" class="wp-image-1959" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-4.png 832w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-4-300x156.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-4-768x399.png 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /></figure></div>



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



<ul class="wp-block-list"><li>Function-based load generators with support for function chaining</li></ul>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="832" height="314" src="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-5.png" alt="" class="wp-image-1960" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/Picture-5.png 832w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-5-300x113.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/Picture-5-768x290.png 768w" sizes="auto, (max-width: 832px) 100vw, 832px" /></figure></div>



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



<p>The provided PHYSICS patterns are gradually released in a specific collection included in the Node-RED flows repository, including test flows and documentation about their usage [6].</p>



<ol class="wp-block-list"><li><em>A. Wahyudi, G. Kuk, and M. Janssen, “A process pattern model for tackling and improving big data quality,” Information Systems Frontiers, vol. 20, no. 3, pp. 457–469, 2018.</em></li><li><em>P. Jamshidi, C. Pahl, and N. C. Mendonc¸a, “Pattern-based multi-cloud architecture migration,” Software: Practice and Experience, vol. 47, no. 9, pp. 1159–1184, 2017.</em></li><li><em>“Microsoft cloud design patterns catalogue and documentation.” Available at: https: //docs.microsoft.com/en-us/azure/architecture/patterns/index-patterns</em></li><li><em>D. Taibi, N. El Ioini, C. Pahl, and J. R. S. Niederkofler, “Patterns for serverless functions (function-as-a-service): A multivocal literature review,” 2020.</em></li><li><em>G. Kousiouris, “A self-adaptive batch request aggregation pattern for improving resource management, response time and costs in microservice and serverless environments,” in 40th IEEE International Performance Computing and Communications Conference (IPCCC 2021), IEEE, 2021.</em></li><li><em>PHYSICS pattern flows for Cloud/Edge and Openwhisk, available at: <a href="https://flows.nodered.org/collection/HXSkA2JJLcGA">https://flows.nodered.org/collection/HXSkA2JJLcGA</a></em></li></ol>
<p>The post <a href="https://physics-faas.eu/patterns/">Patterns</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ontologies and Semantic Description of Cloud Resources in PHYSICS</title>
		<link>https://physics-faas.eu/ontologies-and-semantic-description-of-cloud-resources-in-physics/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Mon, 20 Jun 2022 07:50:18 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Edge Computing]]></category>
		<category><![CDATA[cloud resources]]></category>
		<category><![CDATA[FaaS]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1265</guid>

					<description><![CDATA[<p>An ontology is a formal description of domain knowledge that encompasses information about categories, entities, their relationships, and properties. This type of structured information representation follows the paradigm of semantic and linked data and allows [&#8230;]</p>
<p>The post <a href="https://physics-faas.eu/ontologies-and-semantic-description-of-cloud-resources-in-physics/">Ontologies and Semantic Description of Cloud Resources in PHYSICS</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div style="height:33px" aria-hidden="true" class="wp-block-spacer"></div>



<p>An ontology is a formal description of domain knowledge that encompasses information about categories, entities, their relationships, and properties. This type of structured information representation follows the paradigm of semantic and linked data and allows machines to read and infer knowledge. Typically, this type of information representation, utilizes triplets in the form of <em>subject, predicate, object</em>.&nbsp; An example of the aforementioned schema is the following, “<em>John is a friend of Sophia</em>”, where “<em>John”</em> is the subject, “<em>is a friend of</em>” the predicate and “Sophia” the object. If in the respective ontology it is explicitly defined that this type of relationship requires the subject and object to be of <em>type</em>: <em>human</em> a typical reasoner would already know that both John and Sophia are humans. Another fact that can be easily inferred is that Sophia is also a friend of John. Through these simple examples we observe some of the potential of ontology usage. Ontologies up until today are widely used in the Semantic Web domain, but recent work emerges in different domains such as the cloud service provisioning, to tackle problems such as vendor differences in service descriptions both in terms of offerings and functional properties.</p>



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



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



<h4 class="wp-block-heading"><br><strong>Semantic description of resources</strong></h4>



<p>Within the PHYSICS platform we use this kind of semantic modelling in two occasions; The first one takes place when an application is modelled while the second when a cluster is registered to the platform. One key aspect of PHYSICS is the utilization of a multi-cluster scenario to optimize application deployments.&nbsp; While the reader can refer to a previous blog post about the semantics block as a whole, in this post we will discuss the specifics of the resources ontology.</p>



<p>To guide our ontology creation, we have based our process on the four key aspects to be described for each cluster:</p>



<ol class="wp-block-list" type="1"><li><strong>Cluster capabilities</strong>: <em>Functional properties of the cluster such as the available nodes at the time of description, their respective available CPU and RAM allocatable values, whether they are GPU enabled etc.</em></li><li><strong>SLA</strong>: <em>The necessary classes and relationships to address SLA terms, the rebate in case of agreement breach and their target values.</em>&nbsp; &nbsp;</li><li><strong>Cost</strong>: &nbsp;<em>A cloud service cost such as the instance maintenance cost or cost per service request.</em></li><li><strong>Energy</strong>:&nbsp; <em>Classes that address how energy efficient are machines are used to comprise a cluster and what percentage of this energy is coming from renewable sources of energy.</em></li></ol>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="695" height="379" src="https://physics-faas.eu/wp-content/uploads/2022/06/image.png" alt="" class="wp-image-1266" srcset="https://physics-faas.eu/wp-content/uploads/2022/06/image.png 695w, https://physics-faas.eu/wp-content/uploads/2022/06/image-300x164.png 300w" sizes="auto, (max-width: 695px) 100vw, 695px" /></figure></div>



<p>These 4 pillars of information provide the necessary knowledge to compare clusters effectively in order to manage them or select one for a specific application that is to be deployed. Several classes, properties and relationships are defined to capture the aforementioned concepts such as in the following picture, where the essentials of SLA terms are captured. </p>



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



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="609" height="431" src="https://physics-faas.eu/wp-content/uploads/2022/06/image-1.png" alt="" class="wp-image-1267" srcset="https://physics-faas.eu/wp-content/uploads/2022/06/image-1.png 609w, https://physics-faas.eu/wp-content/uploads/2022/06/image-1-300x212.png 300w" sizes="auto, (max-width: 609px) 100vw, 609px" /></figure></div>



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



<h4 class="wp-block-heading"><strong>Information Extraction</strong></h4>



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



<p>After the ontology is formulated the next question that arises is: “How are we going to retrieve this kind of information?”.&nbsp; For the Cost and SLA categories we can safely rely on the public documents provided by the cloud vendors in the case of public cloud or apply a formula to calculate an approximation of energy consumption cost if the respective rates are provided for the region where private clouds reside. For the specific case of public SLA documents, pattern matching, and natural language processing techniques have been successfully used previously to automatically extract information directly to the ontology and we will be utilizing this approach. For the energy certificates and information on sources unfortunately there has not been much standardization on how providers list these kinds of details and as a result we can only rely for the time being on getting this information manually.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="904" height="568" src="https://physics-faas.eu/wp-content/uploads/2022/06/image-2.png" alt="" class="wp-image-1268" srcset="https://physics-faas.eu/wp-content/uploads/2022/06/image-2.png 904w, https://physics-faas.eu/wp-content/uploads/2022/06/image-2-300x188.png 300w, https://physics-faas.eu/wp-content/uploads/2022/06/image-2-768x483.png 768w" sizes="auto, (max-width: 904px) 100vw, 904px" /></figure></div>



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



<p>Finally, the cluster capabilities information can be retrieved by the Kubernetes API for any Kubernetes cluster. The various API client libraries provided, allow for configuration from within pod making REST API calls efficient and accessible from the same service that also injects their response information into the defined ontology format. After all the clusters have been described in the ontology context, information is passed to the project&#8217;s knowledge base so it can be examined and reasoned to guide the cluster selection and management process.</p>
<p>The post <a href="https://physics-faas.eu/ontologies-and-semantic-description-of-cloud-resources-in-physics/">Ontologies and Semantic Description of Cloud Resources in PHYSICS</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
