[REBOL] Re: Google + SOAP
From: andreas:bolka:gmx at: 29-Apr-2002 18:08
Sunday, April 28, 2002, 2:25:04 AM, Petr wrote:
> Christian Langreiter wrote:
>>But there has not been an answer on my high-performance server
>>quetsion yet - I just don't hope because there isn't any ;-)
> You haven't answered why you consider Rugby being blocking one ;-) I
> tried Ruby several times and it does some 250 RPC echos in a sec ...
> So, what is enough for you? :-)
i think chris' considers rugby beeing no option as it is not able to
accept a concurrent call while it is processing one.
250 echo (!!!) calls / sec might be fine, but as soon as the funcs
beeing called actually do something, you'll never get there ;)
consider the following: we have two clients, let's call the peter and
carla and we have a server (a rugby server) which exports a func
called 'long-running-func'. to produce a result, this func takes 10
secs at average.
peter calls long-running-func on server.
1 sec later, carla tries to call long-running-func on server too, but
rugby is not able to accept calls in this stage.
carla has to wait the average 10 seconds until peter's call finished.
only then her call gets processed!
chris' original question:
> "What is the "official RT way" to write high-performance, concurrent
> servers in REBOL?"
the concurrent is the key!
[maarten, no offense intended! i don't want to imply that this
behaviour is rugby's fault]