CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services

Data Write Latency

Open
#483 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The Data Write latency is consistently 3-10x the Data Read latency, which makes it the leading bottleneck. The full write chain (TPEN Services -> TinyPEN -> RERUM -> MongoDB + version management + deep cloning) creates serialized round-trips.

**Recommendation**: Investigate reducing JSON deep clones in RERUM (JSON.parse(JSON.stringify())), batch version management, or async write confirmation.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the full write chain from TPEN Services through TinyPEN and RERUM to MongoDB, including version management and deep cloning. Investigate the JSON.parse(JSON.stringify()) calls in RERUM, batching version management, and asynchronous write confirmation. Done means identifying and validating a change that reduces the documented write-latency bottleneck.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.