Following up T149583 BufferingTermLookup(s) used in client should work with foreign entity ids.
We need to figure out how to handle buffering with multiple repositories.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add DispatchingTermBuffer. | mediawiki/extensions/Wikibase | master | +347 -0 |
Event Timeline
Comment Actions
We should probably use this opportunity to unwind how caching works inside of the various term related services.
You might want to make BufferingTermLookup a general wrapper around another EntityTermLookupBase (instead of it using a TermIndex directly).
Comment Actions
Please keep in mind that the defining feature of BufferingTermIndex is prefetching, not caching. It's related, but different, concern.
Comment Actions
True… the name doesn't really reflect that, though. Often it's enough to have a caching service that allows batch lookups to implement pre-fetching, I guess that is also true here.
Comment Actions
Change 320225 had a related patch set uploaded (by Jakob):
WIP: Add DispatchingTermBuffer.