Circular loop data model (CLDM): a novel approach to simplifying data management for rapid prototyping

We introduce the Circular Loop Data Model (CLDM), a lightweight data model and domain-specific language (DSL) for embedded, offline-first applications and rapid prototyping. CLDM organises application state as named loops of parallel string-valued segments, persisted in a single BSON file with file-level locking for cross-process concurrency. The DSL exposes six core commands ( FORGE , SEGMENT , CRAFT , EXTRACT , COMBINE ) that map directly to common application workflows without requiring SQL or upfront schema definition. Here, lightweight refers to deployment and operational overhead: no server process, no schema migration, and single-file distribution. We evaluate CLDM across write, read, aggregation, file-size, and concurrency benchmarks on a commodity laptop. Key results: in-process embedding delivers a mean of 2.3 ms per CRAFT operation; CLI invocation costs approximately 214 ms per command due to Python interpreter startup; and CLDM reads 500,000 records in 0.183 s, competitive with manual BSON file parsing. The primary limitation is O(N 2 ) write complexity under the save-on-write policy: inserting 10,000 records sequentially requires 444 s, approximately \(38{,}000\times\) slower than SQLite with transactions. CLDM is therefore suited to low-volume local workloads and prototyping scenarios, not bulk-insert or high-frequency logging.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-08-21
DOI
https://doi.org/10.1038/s41598-026-56925-4
Primary Topic
Model-Driven Software Engineering Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Circular loop data model (CLDM): a novel approach to simplifying data management for rapid prototyping

Emir Husain, Dev Patel, Vedang Kore, C. A. Rishikeshan et al.
Scientific Reports
Model-Driven Software Engineering Techniques
article

Circular loop data model (CLDM): a novel approach to simplifying data management for rapid prototyping

Emir Husain, Dev Patel, Vedang Kore, C. A. Rishikeshan, R. Jayanthi
article en

Abstract

We introduce the Circular Loop Data Model (CLDM), a lightweight data model and domain-specific language (DSL) for embedded, offline-first applications and rapid prototyping. CLDM organises application state as named loops of parallel string-valued segments, persisted in a single BSON file with file-level locking for cross-process concurrency. The DSL exposes six core commands ( FORGE , SEGMENT , CRAFT , EXTRACT , COMBINE ) that map directly to common application workflows without requiring SQL or upfront schema definition. Here, lightweight refers to deployment and operational overhead: no server process, no schema migration, and single-file distribution. We evaluate CLDM across write, read, aggregation, file-size, and concurrency benchmarks on a commodity laptop. Key results: in-process embedding delivers a mean of 2.3 ms per CRAFT operation; CLI invocation costs approximately 214 ms per command due to Python interpreter startup; and CLDM reads 500,000 records in 0.183 s, competitive with manual BSON file parsing. The primary limitation is O(N 2 ) write complexity under the save-on-write policy: inserting 10,000 records sequentially requires 444 s, approximately \(38{,}000\times\) slower than SQLite with transactions. CLDM is therefore suited to low-volume local workloads and prototyping scenarios, not bulk-insert or high-frequency logging.

Scientific Reports
Vellore Institute of Technology University (IN)
Vellore Institute of Technology, Chennai
Openalex Percentile: Top 6%
Model-Driven Software Engineering Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.