CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services
Data Write Latency
- 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
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