Re: [xSocket-develop] how to sharing worker pool
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@gm...> - 2010-01-29 05:09:32
|
Hi, I am going to add the missing constructors. Gregor ----- Original Message ----- From: 李洪文 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 ----------------------------------------------------------------- 网易邮箱,没有垃圾邮件的免费电子邮箱! http://www.yeah.net/?from=o1 ----------------------------------------------------------------- 网易邮箱,没有垃圾邮件的免费电子邮箱! http://www.yeah.net/?from=o1 ----------------------------------------------------------------- 网易邮箱,没有垃圾邮件的免费电子邮箱! http://www.yeah.net/?from=o1 |