On Oct 20, 2014 11:40 AM, "Magnus Manske" <[email protected]>
wrote:
> So, in essence , it goes through a list of languages, often >100. It
opens a DB connection on Labs to the respective Wikipedia, does some query,
and closes again.

cache a connection per cluster (s1, s2, etc) and then reuse when you need
that cluster again. obviously that's most important for s3. (more DBs than
any other)

there's a DB with a table that maps all DBs to clusters. or use the dblists
in the operations/mediawiki-config gerrit repo.

-Jeremy
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to