Page MenuHomePhabricator

Add cache to Segmenter
Closed, ResolvedPublic1 Estimated Story Points

Description

For each segmenting call the Segmenter should check the cache and run segmenting if necessary, adding the result to cache. The cache should be connected to a revision id and contain the segments for the content of that page.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kalle removed kalle as the assignee of this task.Mar 9 2020, 1:34 PM
kalle added a project: User-kalle.
kalle added a subscriber: kalle.
Lokal_Profil set the point value for this task to 6.Mar 11 2020, 1:39 PM

Change 579599 had a related patch set uploaded (by Karl Wettin (WMSE); owner: Karl Wettin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Add cache to Segmenter

https://gerrit.wikimedia.org/r/579599

Lokal_Profil changed the point value for this task from 6 to 3.Mar 19 2020, 9:27 AM
kalle changed the point value for this task from 3 to 1.Apr 2 2020, 8:53 AM

Awaiting review response from WMDE in regard to using WAN vs Local cache.

This is now upgrade to use WAN cache rather than local server cache. Time to live set to one hour. Perhaps we could do with just a few minutes? Worth considering how this feature is accessed by users.

Change 579599 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Add cache to Segmenter

https://gerrit.wikimedia.org/r/579599