Hello samuel,
This seems normal, here is a small test result I did some month ago
when V6 went out.
100 connected users
V5 V6
Handles: 350 352
Threads: 4 4
USER Obj: 142 42
GDI Obj: 49 46
200 connected users
V5 V6
Handles: 649 652
Threads: 4 4
USER Obj: 242 54
GDI Obj: 49 46
As you see, User Obj dropped down as no more Window handles are used
per socket. But there are still at least one basic handle per socket.
Regards.
s> i've tried ICSv6, but there is something that puzzles me.. On startup i
s> created around 1000 twsocket in to be put in a pool, but when i check it
s> using process explorer (freeware from www.sysinternals.com ), the user
s> handle is more than 1000, and when i create only 1 twsocket, the number of
s> handle is only around 30. My question is, shouldn't it be that v6 use only
s> one handle ? am i missing something here ?
s> also, is send, sendto, and sendstr method a "synchronized method" ?, the
s> reason that i asked this is because it calls realsend, which calls something
s> like wsocket_syncrhonized_send in wsocket.pas. I also noticed that
s> wsocket_synchronized_* (replace * with send, connect, etc) is the second
s> procedure beside getmessage that is using the most time (checked using
s> aqtime4 profiler).
s> thx
s> On 9/24/06, Arno Garrels <[EMAIL PROTECTED]> wrote:
>>
>> samuel wrote:
>> > Is there anything else that i miss, that should be noted for high
>> > performance socket apps ? Please share your experience and thoughts..
>>
>> At first you should move to V6. In V6 any TWSocket instances in
>> a thread use the same, single window. If you run TWSocketServer
>> it may also help to cache and reuse client TWSocket instances.
>> Running the listening socket in it's own worker thread _may help
>> as well if clients frequently get 10061 due to a full listenbacklog
>> queue.
>>
>> Arno Garrels
>>
>> --
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be