GraphQL Live Querying with DynamoDB

08/01/2020
by   Austin Silveria, et al.
0

We present a method of implementing GraphQL live queries at the database level. Our DynamoDB simulation in Go mimics a distributed key-value store and implements live queries to expose possible pitfalls. Two key components for implementing live queries are storing fields selected in a live query and determining which object fields have been updated in each database write. A stream(key, fields) request to the system contains fields to include in the live query stream and on subsequent put(key, object) operations, the database asynchronously determines which fields were updated and pushes a new query view to the stream if those fields overlap with the stream() request. Following a discussion of our implementation, we explore motivations for using live queries such as simplifying software communication, minimizing data transfer, and enabling real-time data and describe an architecture for building software with GraphQL and live queries.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/05/2022

Performing live time-traversal queries via SPARQL on RDF datasets

This article introduces a methodology to perform live time-traversal SPA...
research
08/02/2021

Optimizing Cost per Click for Digital Advertising Campaigns

Cost per click is a common metric to judge digital advertising campaign ...
research
02/01/2023

Streaming Software Development: Accountability, Community, and Learning

People use the Internet to learn new skills, stay connected with friends...
research
11/03/2022

Web Archiving as Entertainment

We want to make web archiving entertaining so that it can be enjoyed lik...
research
05/25/2022

Cryptocurrency Giveaway Scam with YouTube Live Stream

This paper investigates the cryptocurrency giveaway scam with the YouTub...
research
03/17/2022

A Cube Algebra with Comparative Operations: Containment, Overlap, Distance and Usability

In this paper, we provide a comprehensive rigorous modeling for multidim...
research
12/02/2022

Wigner Distribution Deconvolution Adaptation for Live Ptychography Reconstruction

We propose a modification of Wigner Distribution Deconvolution (WDD) to ...

Please sign up or login with your details

Forgot password? Click here to reset