CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN28

Let's avoid some threads

Open
#510 0 comments 0 reactions 3 assignees Claimed by @Domhnall101 View on GitHub
enhancement
Dominant language
Java
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

While we don't know what is choking TPEN, we do know about threads piling up and that is what causes the actual breakdown. There are a few things that we can eliminate here to prevent so many calls at once.

- `/upgradeManagement`—no one looks at this and we don't keep up with it. The information isn't more clear than the automatic one on the front page, so let's eliminate it. It seems to be called several times in the interface when mousing around and turning pages.
- `/geti`—let's check to make sure we need it. It looks like it might run several times on the transcription page and that might not be necessary.
- `/getHistory`—this runs even when the history tool is not enabled. We can wait to launch it until the splitscreen is opened, it isn't slow, but costs an extra thread.
- `/tagTracker`—if there are no XML tags enabled, there is no reason for the tagTracker to fire. I imagine there are a lot of empty responses from this one.

Are there other simple optimizations?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.