Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 2

Search results for: Firestore

2 Evaluation of NoSQL in the Energy Marketplace with GraphQL Optimization

Authors: Michael Howard

Abstract:

The growing popularity of electric vehicles in the United States requires an ever-expanding infrastructure of commercial DC fast charging stations. The U.S. Department of Energy estimates 33,355 publicly available DC fast charging stations as of September 2023. In 2017, 115,370 gasoline stations were operating in the United States, much more ubiquitous than DC fast chargers. Range anxiety is an important impediment to the adoption of electric vehicles and is even more relevant in underserved regions in the country. The peer-to-peer energy marketplace helps fill the demand by allowing private home and small business owners to rent their 240 Volt, level-2 charging facilities. The existing, publicly accessible outlets are wrapped with a Cloud-connected microcontroller managing security and charging sessions. These microcontrollers act as Edge devices communicating with a Cloud message broker, while both buyer and seller users interact with the framework via a web-based user interface. The database storage used by the marketplace framework is a key component in both the cost of development and the performance that contributes to the user experience. A traditional storage solution is the SQL database. The architecture and query language have been in existence since the 1970s and are well understood and documented. The Structured Query Language supported by the query engine provides fine granularity with user query conditions. However, difficulty in scaling across multiple nodes and cost of its server-based compute have resulted in a trend in the last 20 years towards other NoSQL, serverless approaches. In this study, we evaluate the NoSQL vs. SQL solutions through a comparison of Google Cloud Firestore and Cloud SQL MySQL offerings. The comparison pits Google's serverless, document-model, non-relational, NoSQL against the server-base, table-model, relational, SQL service. The evaluation is based on query latency, flexibility/scalability, and cost criteria. Through benchmarking and analysis of the architecture, we determine whether Firestore can support the energy marketplace storage needs and if the introduction of a GraphQL middleware layer can overcome its deficiencies.

Keywords: non-relational, relational, MySQL, mitigate, Firestore, SQL, NoSQL, serverless, database, GraphQL

Procedia PDF Downloads 182
1 LabTrack: A Privacy-Preserving, Zero-Cost System for Patient-Facing Laboratory Report Explanation and Longitudinal Health-Trend Tracking

Authors: Taoye Yang

Abstract:

Since regulations such as the United States 21st Century Cures Act have mandated the immediate release of test results to patients, millions of people now read their own blood test reports before – or instead of – speaking to a clinician. Raw laboratory reports are dense tables of analytes, units, and reference ranges that many patients struggle to interpret, producing both unnecessary anxiety and missed follow-up. We present LabTrack, an open, patient-facing web system that ingests laboratory reports as PDFs or photographs, extracts structured biomarker values, classifies each value against its reference range, explains the results in plain language, and visualizes longitudinal health trends. Methodologically, LabTrack couples a robust three-stage text-extraction cascade (native PDF text via PyMuPDF/pdfplumber, with Tesseract optical character recognition as a fallback) to a deterministic, alias-aware regular-expression parser covering 20 common analytes, and a safety-constrained, dual-mode explanation engine that defaults to a free rule-based generator and optionally escalates to a large language model (GPT-4o-mini) under strict guardrails that forbid diagnosis or treatment advice. The architecture is deliberately privacy-preserving and zero-cost: it stores only parsed values rather than raw documents, isolates data per user behind Firebase authentication and Firestore security rules, and runs entirely on free hosting tiers. On a benchmark comprehensive metabolic and lipid panel, the parser extracted 18 of 18 present biomarkers at a confidence of 1.0 and correctly classified every abnormal value; the full automated test suite (16 tests) passes. LabTrack demonstrates that accessible, trustworthy, and inexpensive lab-result explanation can be built from lightweight, auditable components, and that careful engineering of guardrails and data minimization – rather than model scale alone – is central to deploying AI responsibly in consumer health.

Keywords: health informatics, lab report parsing, medical NLP, patient education

Procedia PDF Downloads 52