Re: anybody know how to health check a twisted xmlrpc server?

From: David Birdsong <david.birdsong#gmail.com>
Date: Thu, 24 Dec 2009 00:05:54 -0800


On Wed, Dec 23, 2009 at 11:27 PM, Willy Tarreau <w#1wt.eu> wrote:
> On Wed, Dec 23, 2009 at 10:52:52PM -0800, David Birdsong wrote:
>> this can be dropped for now.  it turns out that twisted doesn't
>> actually return error codes when you instruct it to.  it puts the
>> error codes in the xml response for code to deal with but slaps a http
>> 200 in the headers.
>
> so we really need a working regex-based health check :-/
>
> Willy

i've had coworkers complain about health checks only looking at http response codes.

i'm undecided. i think it's reasonable for proxies/load balancers to work at the protocol level, but i've definitely been hamstrung by it when working with libraries that don't always provide access to the protocol levels without combing through and learning the entire library.

how hard would that be to add? i guess there's not much overhead involved seeing any sane admin runs health checks at most a handful of times in a 3-5 second period.

>
>
Received on 2009/12/24 09:05

This archive was generated by hypermail 2.2.0 : 2009/12/24 09:15 CET