[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [Chicken-users] performance issue in xml-rpc

From: Graham Fawcett
Subject: Re: Re: [Chicken-users] performance issue in xml-rpc
Date: Thu, 7 Dec 2006 12:58:36 -0500

On 12/7/06, Daishi Kato <address@hidden> wrote:
> Does smoke come out of the box when the number of requests increase?
> If so, how much? (Hey, you never know unless you ask.)

Oh, I don't hope it smoke,s by now.

Too bad. I could have helped you with that one! :-)

Well, I can try writing the client side in scheme,
so that you can reproduce the problem. (But you need to wait until
next Monday, since I'll be off for a while.)
Currently, the client is written in Java, and I haven't read the code yet.

Thanks anyway for asking this. Do you happen to know how to run some
kind of profiling on xml-rpc and http eggs?

Not too familiar. :-( Chicken has profiler support; also, the fact
that you can compile to C suggests that C-profiling tools would also
work correctly. But I think I would start with 'top' if you are
running on a Unix box; just watch the processes, their CPU and memory
usage, and hope to discover a clue. Separating the client and server
onto separate machines might also be useful, though it may not uncover
the problem.

In terms of load testing, I'm pretty primitive when it comes to this
kind of thing. I start with apachebench (ab), first from the
localhost, then from a nearby peer. Later if I really need to test
heavy loads, I have access to a lab of workstations; I script them to
attack the server, and watch what happens. It is not like real-world
traffic, though -- the latency is too low and the bandwidth too high
-- you would need to introduce a bottleneck into your network to be
more realistic. But I'm digressing.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]