Literature DB >> 36091995

Ephemeral data handling in microservices with Tquery.

Saverio Giallorenzo1,2, Fabrizio Montesi3, Larisa Safina4, Stefano Pio Zingaro1,2.   

Abstract

The adoption of edge and fog systems, along with the introduction of privacy-preserving regulations, compel the usage of tools for expressing complex data queries in an ephemeral way. That is, queried data should not persist. Database engines partially address this need, as they provide domain-specific languages for querying data. Unfortunately, using a database in an ephemeral setting has inessential issues related to throughput bottlenecks, scalability, dependency management, and security (e.g., query injection). Moreover, databases can impose specific data structures and data formats, which can hinder the development of microservice architectures that integrate heterogeneous systems and handle semi-structured data. In this article, we present Jolie/Tquery, the first query framework designed for ephemeral data handling in microservices. Jolie/Tquery joins the benefits of a technology-agnostic, microservice-oriented programming language, Jolie, and of one of the most widely-used query languages for semi-structured data in microservices, the MongoDB aggregation framework. To make Jolie/Tquery reliable for the users, we follow a cleanroom software engineering process. First, we define Tquery, a theory for querying semi-structured data compatible with Jolie and inspired by a consistent variant of the key operators of the MongoDB aggregation framework. Then, we describe how we implemented Jolie/Tquery following Tquery and how the Jolie type system naturally captures the syntax of Tquery and helps to preserve its invariants. To both illustrate Tquery and Jolie/Tquery, we present the use case of a medical algorithm and build our way to a microservice that implements it using Jolie/Tquery. Finally, we report microbenchmarks that validate the expectation that, in the ephemeral case, using Jolie/Tquery outperforms using an external database (MongoDB, specifically). ©2022 Giallorenzo et al.

Entities:  

Keywords:  Edge computing; Ephemeral data; Fog computing; Formal methods; Jolie; Microservices; Query languages; Semi-structured data; Service-oriented computing; e-Health

Year:  2022        PMID: 36091995      PMCID: PMC9454887          DOI: 10.7717/peerj-cs.1037

Source DB:  PubMed          Journal:  PeerJ Comput Sci        ISSN: 2376-5992


  5 in total

1.  Big Data in medical research and EU data protection law: challenges to the consent or anonymise approach.

Authors:  Menno Mostert; Annelien L Bredenoord; Monique C I H Biesaart; Johannes J M van Delden
Journal:  Eur J Hum Genet       Date:  2015-11-11       Impact factor: 4.246

Review 2.  The Human Brain Project: social and ethical challenges.

Authors:  Nikolas Rose
Journal:  Neuron       Date:  2014-06-18       Impact factor: 17.173

3.  Use of Physiological Data From a Wearable Device to Identify SARS-CoV-2 Infection and Symptoms and Predict COVID-19 Diagnosis: Observational Study.

Authors:  Robert P Hirten; Matteo Danieletto; Lewis Tomalin; Katie Hyewon Choi; Micol Zweig; Eddye Golden; Sparshdeep Kaur; Drew Helmus; Anthony Biello; Renata Pyzik; Alexander Charney; Riccardo Miotto; Benjamin S Glicksberg; Matthew Levin; Ismail Nabeel; Judith Aberg; David Reich; Dennis Charney; Erwin P Bottinger; Laurie Keefer; Mayte Suarez-Farinas; Girish N Nadkarni; Zahi A Fayad
Journal:  J Med Internet Res       Date:  2021-02-22       Impact factor: 5.428

4.  Individual differences in compliance and agreement for sleep logs and wrist actigraphy: A longitudinal study of naturalistic sleep in healthy adults.

Authors:  Steven M Thurman; Nick Wasylyshyn; Heather Roy; Gregory Lieberman; Javier O Garcia; Alex Asturias; Gold N Okafor; James C Elliott; Barry Giesbrecht; Scott T Grafton; Sara C Mednick; Jean M Vettel
Journal:  PLoS One       Date:  2018-01-29       Impact factor: 3.240

5.  Current State of Commercial Wearable Technology in Physical Activity Monitoring 2015-2017.

Authors:  Jennifer A Bunn; James W Navalta; Charles J Fountaine; Joel D Reece
Journal:  Int J Exerc Sci       Date:  2018-01-02
  5 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.