<p dir="ltr">On Oct 20, 2014 11:40 AM, "Magnus Manske" <<a href="mailto:magnusmanske@googlemail.com">magnusmanske@googlemail.com</a>> wrote:<br>
> 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.</p>
<p dir="ltr">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)</p>
<p dir="ltr">there's a DB with a table that maps all DBs to clusters. or use the dblists in the operations/mediawiki-config gerrit repo.</p>
<p dir="ltr">-Jeremy</p>