Comment 2 for bug 718478

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 718478] Re: should support rate limiting connections to particular servers

On Mon, 18 Apr 2011 12:49:02 -0000, Paul Sokolovsky <email address hidden> wrote:
> I guess we could do following: maintain and check timestamp for each
> server, and by default not repo-sync it if already updated within (say)
> 15mins. And specify list of override servers which should be synced
> every time (git.linaro.org).

Yeah, something like that would be good.

> One problem I have with Twisted is that it's easy to write a server
> which does direct processing, but it becomes increasingly complex to add
> features like logging, error-reporting, auto-retrying, rate limiting,
> etc. - with code become more and more involved and non-obvious. While,
> it would be trivial to add such features to standard synchronous
> (+threading/forking) code ;-).

I'm not at all sure I buy this, but it's more your codebase than mine
now so feel free to stop using Twisted if it will make your life easier!