Re: [xSocket-develop] how to sharing worker pool
Status: Inactive
Brought to you by:
grro
|
From: 李洪文 <hon...@16...> - 2010-01-29 08:23:53
|
Gregor,
Thank you.
The class HttpServer need to add a constructor too.
PS. You do a very good job! I think it is better than Apache Mina.
Hongwen
2010-01-29 13:09:20,"Gregor Roth" <gre...@gm...> wrotes:
Hi,
I am going to add the missing constructors.
Gregor
----- Original Message -----
From: Hongwen
Sent: 01/29/10 02:03 AM
To: Gregor Roth
Subject: Re:Re: [xSocket-develop] how to sharing worker pool
Thanks for your reply.
I found it in the constructors of class NonBlockingConnection.
But no constructors supports Executor in class HttpClientConnection of xLightWeb project. So , I cannot do the performance optimization.
Sorry for my pool English.
At 2010-01-28 13:09:32,"Gregor Roth" <gre...@gm...> wrote:
Hi,
the Server class supports constructors which includes a Executor. Create a Executor and pass it over by instantiating your servers.
Gregor
----- Original Message -----
From: 李洪文
Sent: 01/28/10 05:09 AM
To: xso...@li...
Subject: [xSocket-develop] how to sharing worker pool
I'm programming a proxy server,
including http,socks protocol.
so it has more than 3 Server and serveral connectors.
Each has it's owner worker pool.
i think it is not good.
how to share these servers and connectors with one worker pool?
thanks
网易邮箱,没有垃圾邮件的免费电子邮箱!
网易邮箱,没有垃圾邮件的免费电子邮箱!
网易邮箱,没有垃圾邮件的免费电子邮箱!
|