Article delegate-en/2561 of [1-4095] on the server localhost:7119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A2559@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: strange performance problem
07 Mar 2004 03:26:16 GMT Gong Su <p7qeqbdyi-mykgh4y4g4tw.ml@delegate.org>
Computer Science Department, Columbia University

On Saturday, March 6, 2004, 6:54:00 AM, you wrote:

> DeleGate relays most of protocols with parallel process to be able
> to apply "smart", thus take unpredictable time of, processing for each
> connection.  But accepting connection in multiple processes is
> ineffective, especially in DeleGate which runs on multiple platforms
> by a single common code.  "udprelay" is one of exceptional protocol
> which is relayed in a single process of DeleGate.  You can use it to 
> relay TCP connection, specifying accepting by and connecting to TCP
> port like follows:
 
>   % delegated -v -vs -P9999/tcp SERVER=udprelay://host:9999 CONNECT=tcp

> If you need port mapping to relay multiple ports in a single DeleGate
> server, it seems to need to be fixed as enclosed patch.

Hi Yutaka, thank you very much! Using the udprelay I got around
460 transactions per second which is on par with other proxies!
I used two separate delegate daemons for mapping two ports to
(also the same) _two_ ports on the server; since udprelay didn't
seem to understand the "-" port:

-P1234/tcp,1235/tcp SERVER=udprelay://host:- CONNECT=tcp

and the patch you gave me seems to map two ports to _one_ port
on the server?

But all is well, thank you again for your help and the great
program!

-- 
/Gong


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V