https://bugzilla.wikimedia.org/show_bug.cgi?id=61845

            Bug ID: 61845
           Summary: Flow: Easier batch-loading
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mmul...@wikimedia.org
                CC: ebernhard...@wikimedia.org, mpinc...@wikimedia.org,
                    pandiculat...@gmail.com, sp...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

We have lots of mechanism in place to cache stuff we've fetched from network
resources in memory.

The cool think about this is that we can batch-load a lot of
workflows/posts/... at once, and then just query from them again individually
wherever we need them (e.g. let Collection query for them - if data is in local
cache already, it won't cause additional network roundtrips)

I think we should build some "batchloader" class to make batchloading easier.
We already have lots of batchloading code spread throughout (e.g. the AFAIK
unused AbstractFormatter::loadRevisions * ::loadWorkflows) - I'd love to
consolidate this in one place where all code can call it from

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to