Wednesday, December 2, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Cloud-Assisted Database Middleware Cuts Mobile Sync Latency in Prototype Tests

December 2, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 6 mins read
0
Cloud-Assisted Database Middleware Cuts Mobile Sync Latency in Prototype Tests

Cloud-Assisted Database Middleware Cuts Mobile Sync Latency in Prototype Tests

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A prototype cloud-assisted database middleware called Asynchronous Concurrent Control (ACC) added 7.17% local write latency over native SQLite while cutting end-to-end synchronization latency by more than 90% compared with the local-first system Triplit under evaluated synthetic workloads. In offline recovery benchmarks, ACC also reduced consistency repair time by up to 96.45% and lowered client-side CPU load by 94.09% relative to a reconstruction-based Merkle-tree baseline. Detailed in a system design and experimental evaluation study published in Data Science and Engineering on December 2, 2026, by Wenbo Zhao, Jiangtao Cui, and colleagues, ACC targets mobile collaborative applications operating under intermittent connectivity. The paper formalizes the middleware’s data structures, logical clock scheme, and synchronization algorithms, evaluating a prototype that synchronizes up to 144 emulated SQLite clients with a central PostgreSQL cloud server using synthetically generated workloads.

Synchronizing collaborative data separately within each mobile application introduces redundant message encapsulation and serialization across protocol layers, raising transmission overhead and development complexity. Moving synchronization to the database layer unifies data sharing, yet weak networks still cause offline write accumulation and synchronization delays on resource-constrained devices. The authors illustrate these demands through two scenarios: remote teams booking meeting rooms or coordinating sequenced projects across devices, and mobile technicians reserving multiple inventory materials in subways or tunnels where concurrent offline reservations can exceed available stock. Existing approaches face steep trade-offs in these settings. Strong consistency methods such as pessimistic locking, Paxos, and Raft stall during disconnections or drain device batteries. Conflict-free Replicated Data Types (CRDTs) lack transaction-level synchronization and incur high communication and memory overhead, while peer-branching systems like TARDiS and recent engines such as PowerSync, Electric Sync, Zero, and LiveStore either burden clients, omit offline writes, or delegate conflict handling to application backends.

To keep client execution lightweight, ACC uses an end-to-cloud star topology in which heterogeneous mobile clients communicate exclusively through a single central cloud assumed to provide reliable database services. The model assumes non-Byzantine clients, persistent local storage, and eventual delivery of retransmitted messages that may be delayed, reordered, or duplicated. Deployed above native databases through database-specific adapters—implemented for SQLite on clients and PostgreSQL on the cloud—ACC translates native updates into database-independent modification records containing object identifiers, operation types, updated fields, and clock metadata. On end devices, an incremental synchronization engine intercepts SQL operations, appends hidden timestamp columns, executes local writes immediately, and queues asynchronous update packets. On the cloud, a conflict handling engine tracks states and resolves write-write conflicts. ACC provides eventual consistency for tentative offline actions such as drafts, task updates, or pending reservations, and does not replace strongly consistent processing for financial transactions or safety-critical commands.

Tracking causality across intermittently connected clients without heavy metadata is central to the design. Physical clocks drift, Network Time Protocol accuracy degrades under latency, hybrid logical clocks remain sensitive to network delays, and vector clocks require O(N) per-clock storage and up to O(N^2) aggregate storage across N nodes. Exploiting the star topology where cross-client causal influence passes through the cloud, the team designed the Simplified Logical Clock Scheme (SLCS), which assigns each operation a fixed-length triplet timestamp stored in four hidden table columns. Each timestamp records the client identifier and monotonic local counter (nid and LC), the highest cloud global counter observed at generation (GC_o), and the cloud’s incremented arrival counter (GC_a, initially nil locally). Same-client operations are ordered by local counters, while cross-client causality is inferred when one operation’s arrival counter precedes another’s generation counter. The authors prove this inference sound while conservatively treating incomparable writes as concurrent.

On the cloud side, ACC models replica evolution using a state-transition Directed Acyclic Graph (DAG) paired with an N-dimensional State Tracking Vector (STV) recording each client’s latest state. The DAG contains three node classes: an initial consistent state, native state nodes created as clients submit atomic multi-row or cross-table transactions (including explicit DELETE records), and merged state nodes formed by fusing batches of native states. During fusion, a causal union operator discards earlier causally superseded modifications to the same primary key. To avoid traversing the entire DAG from the initial state on every merge, the cloud maintains an independent global snapshot of the latest merged state and merges only newer non-ancestor native nodes. Concurrent conflicts pass to a configurable resolution plugin able to consult divergent transactions, timestamps, and predecessor context—using physical-clock Last Write Wins only as an illustrative benchmark policy—while three cloud threads coordinate client requests, anti-entropy generation, and garbage collection.

Whenever the latest merged state indicator (Nslc) advances, the cloud builds tailored Anti-Entropy Requests for each client by computing the difference between ancestor sets of the target merged state and the client’s tracked state. Each repair packet carries only missing row modifications rather than full states or broadcasts, so when N clients concurrently edit the same row, each receives O(1) repair packets rather than the O(N) traffic of client-side broadcast resolution. Receiving a repair packet, a client drops stale or mismatched messages, returns a NAK if newer unconfirmed local writes have advanced its local counter beyond the packet’s counter, or applies the SQL updates atomically and returns an ACK while updating its observed global counter. Once all tracked clients reach a merged state, the committed indicator (Cslc) advances, persisting updates to the cloud database and reclaiming earlier DAG nodes. Complexity analysis shows per-operation metadata stays O(1), while cloud cost scales primarily with retained history and missing updates.

Intermittent disconnections can stall memory reclamation if the cloud waits indefinitely for unreachable devices. Once ACC detects a communication failure, it excludes the offline client from global-commit tracking while saving its latest clock as an offline checkpoint, allowing online clients to commit and trigger DAG garbage collection. Upon reconnection, ACC handles two cases. If no new cloud commits occurred during the outage, the client sends its offline writes—recovering offline DELETE operations from its persistent write log—so the cloud appends a new native state directly. If the cloud committed newer updates during disconnection, ACC compares cloud-updated rows against offline client writes on disk, resolves overlapping primary-key conflicts, sends a Cloud-to-End override set to update the client, and packages retained client-unique updates into an End-to-Cloud native state returning to the DAG. The protocol also handles dynamic client joins by syncing cloud-disk records before writes, permanent departures via structure reclamation, and cloud middleware crash recovery from retained DAG, STV, snapshot, and counter checkpoints.

The researchers evaluated ACC on two geographically distributed servers communicating via public IP addresses—one running PostgreSQL with cloud ACC and the other running SQLite with emulated client threads—under a default 30 to 35 millisecond random network delay. Workloads simulated edits to a synthetic Inventory table with four hidden SLCS columns. In cloud stress tests where N clients concurrently submitted M row modifications, cloud computation stayed below 1 second for M up to 50 even with 144 clients, and under 500 milliseconds for up to 64 clients regardless of M, processing 14,400 concurrent updates to 100 rows at a 100% conflict ratio. Cloud memory monitoring showed periodic rises and drops as garbage collection reclaimed merged states. Against Triplit under identical client counts, 5-row requests, and 30 to 35 millisecond delays, ACC achieved median end-to-end latency of 109.5 milliseconds versus 2,247 milliseconds at 96 clients, and 550 milliseconds versus 8,384 milliseconds at 144 clients, with 95th-percentile latency at 144 clients below 950 milliseconds versus 42,631 milliseconds. Across 1,000 consecutive local writes, ACC averaged 4,528.623 milliseconds versus 4,225.627 milliseconds for native SQLite, a 7.17% overhead.

Offline recovery benchmarks compared ACC with a Merkle-tree baseline reconstructing hash trees over fixed primary-key ranges after reconnection. With 5,000 offline single-row writes per side on a 100,000-row table and 25% inserts, ACC repaired replicas in 1.22 seconds versus 34.33 seconds for Merkle—a 96.45% reduction—stabilizing around 1.2, 1.7, and 2.2 seconds at 25%, 50%, and 75% inserts, and staying 86.05% faster at 75% inserts. On a 30,000-row table with 5,000 writes and 50% inserts, average client CPU usage dropped from 18.6% to 1.1%, a 94.09% reduction. Across 50 repeated disconnect-reconnect rounds totaling 4,000 transactions (two online clients and two disconnecting for 40 seconds per round), all rounds converged without missing or duplicate transactions, with median post-handshake convergence latency of 70.5 milliseconds (98.1 milliseconds maximum) under baseline delay and 1,051.2 milliseconds (1,872.8 milliseconds maximum) under an injected unstable-latency profile. All 200 reordered and duplicated schedule runs across 2 to 8 clients, four stale feedback cases, and 65 application-level resolver runs across four tables converged cleanly without negative inventory, double bookings, or partial multi-table updates.

The authors note clear architectural trade-offs and evaluation limits. Centralizing conflict resolution, history tracking, and repair computation lowers client overhead at the cost of higher cloud computation, memory, and communication load, greater dependence on cloud availability, and larger retained DAG history during prolonged disconnections. Convergence guarantees exclude permanent partitions, Byzantine clients, or unrecoverable loss of both a local database and its persistent write log. Methodologically, all experiments used synthetic workloads and emulated client threads on two servers rather than external datasets or physical mobile deployments; the Triplit comparison focused on synchronization efficiency across differing data models rather than conflict semantics; the 200 schedule runs do not constitute a general correctness proof for arbitrary network executions; and repeated-execution idempotence applies specifically to the tested resolver. Future work will implement additional database adapters and extend ACC to multi-cloud collaboration.

Subject of Research: Cloud-assisted database synchronization middleware for intermittently connected mobile collaboration

Article Title: ACC: Cloud-Assisted Database Synchronization for End-to-Cloud Mobile Collaboration under Intermittent Connectivity

Article References: Zhao, W., Li, L., Li, H., Chen, M., Gu, K., Sun, H., Chang, Y., Wang, M., & Cui, J. (2026). ACC: Cloud-Assisted Database Synchronization for End-to-Cloud Mobile Collaboration under Intermittent Connectivity. Data Science and Engineering. https://doi.org/10.1007/s41019-026-00377-3

Image Credits: AI Generated

DOI: 10.1007/s41019-026-00377-3

Keywords: Asynchronous Concurrent Control, database synchronization, mobile collaboration, intermittent connectivity, eventual consistency, cloud-assisted replication, logical clocks, directed acyclic graph, anti-entropy repair, conflict resolution, SQLite, PostgreSQL, CRDT, Triplit, Merkle tree, offline recovery, local-first databases, distributed systems

Cite Scienmag News

Denise Maddox. (December 2, 2026). Cloud-Assisted Database Middleware Cuts Mobile Sync Latency in Prototype Tests. Scienmag. https://scienmag.com/cloud-assisted-database-middleware-cuts-mobile-sync-latency-in-prototype-tests/

Denise Maddox. "Cloud-Assisted Database Middleware Cuts Mobile Sync Latency in Prototype Tests." Scienmag, 2 December 2026, https://scienmag.com/cloud-assisted-database-middleware-cuts-mobile-sync-latency-in-prototype-tests/. Accessed 2 December 2026.

Denise Maddox. "Cloud-Assisted Database Middleware Cuts Mobile Sync Latency in Prototype Tests." Scienmag. December 2, 2026. https://scienmag.com/cloud-assisted-database-middleware-cuts-mobile-sync-latency-in-prototype-tests/

Tags: anti-entropy repairAsynchronous Concurrent Controlcloud-assisted replicationconflict resolutionCRDTdatabase synchronizationdirected acyclic graphdistributed systemseventual consistencyintermittent connectivitylocal-first databaseslogical clocksMerkle treemobile collaborationoffline recoveryPostgreSQLSQLiteTriplit
Share26Tweet16
Previous Post

TPIT-Lineage Nonfunctioning Pituitary Tumors Linked to Higher Invasion, Lower Resection

Next Post

Clinical-MRI Model Stratifies Surgical Bleeding Risk in Retrospective Placenta Accreta Study

Related Posts

Review Maps Competing Nitrogen Emission Pathways in Ammonia Dual-Fuel Engines
Technology and Engineering

Review Maps Competing Nitrogen Emission Pathways in Ammonia Dual-Fuel Engines

December 2, 2026
Single Pattern-Perceptive Transformer Detects Relational Database Errors Across Twelve Datasets
Technology and Engineering

Single Pattern-Perceptive Transformer Detects Relational Database Errors Across Twelve Datasets

December 2, 2026
Dutch Clinicians Report Simpler Decisions, Declining Relevance Using AI Evidence Tool
Technology and Engineering

Dutch Clinicians Report Simpler Decisions, Declining Relevance Using AI Evidence Tool

December 2, 2026
Risk model finds weather and process uncertainties lengthen offshore wind decommissioning
Technology and Engineering

Risk model finds weather and process uncertainties lengthen offshore wind decommissioning

December 2, 2026
Multimodal attention model predicts depression and anxiety on public interview datasets
Technology and Engineering

Multimodal attention model predicts depression and anxiety on public interview datasets

December 2, 2026
Hyperspectral deep learning classifies peanut maturity with 96.3% lab test accuracy
Technology and Engineering

Hyperspectral deep learning classifies peanut maturity with 96.3% lab test accuracy

December 2, 2026
Next Post
Clinical-MRI Model Stratifies Surgical Bleeding Risk in Retrospective Placenta Accreta Study

Clinical-MRI Model Stratifies Surgical Bleeding Risk in Retrospective Placenta Accreta Study

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1062 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    683 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Ice Deformation Outpaces Melt to Fill Thwaites Eastern Ice Shelf Channel
  • Two NF1 mutations found in two Chinese families with spinal deformities
  • Cryopreserved Cells and First Karyotype Described for Critically Endangered Spider Tortoise
  • Meta-analysis finds chemo-immunotherapy modestly improves survival in platinum-resistant ovarian cancer

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,152 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading