On Tue, May 25, 2010 at 5:50 PM, Platonides <platoni...@gmail.com> wrote: > There are imho fewer variables set by the caller wiki, which could be > passed with the query.
I don't get what you're saying here. > For intra-Wikimedia query, they could directly ask an apache. They can > even send the query to localhost. > Using the api seems the completely right approach for remote users, it > can be later refined to add more backends. > > Anyway, I don't think api request would be cacheable by squids, so it > would be directly passed to an application server. That's even worse. At least if it's cacheable, you have a *chance* of not hitting an Apache or the DB. > That's how I'd deploy it. But the code should be robust enough to handle > the infinite loops that Peter presents. I don't object to that, but I don't think it's essential. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l