Subject | Re: [IB-Architect] Server Threading Again |
---|---|
Author | Dmitry Yemanov |
Post date | 2000-12-22T14:32:55Z |
Hi Dmitry,
a brief explanation of the server threads and their using by connections?
It seems to be useful. Ann, Jim, Charlie, anyone else?
Best regards,
Dmitry
> Experiments with IB 5.6 shows that:Thanks. I supposed it, but wasn't sure enough. Would anyone like to propose
> 1. at first there are as many threads, as newly connected users.
> 2. after some time threads count begin to shrink
>
> I.e. if there were ~150 threads for 150 clients when server started,
> after an hour there were ~50-70 threads per same 150 client connections.
> All clients during test were busy executing one short query again and again
> (without pauses).
>
> Also some people found that threadvars in UDFs may have the same values
> for different client connections.
>
> I haven't looked sources to clear this issue, but I'm sure that
> IB shares connection between threads. At least nobody refused this yet. :-)
a brief explanation of the server threads and their using by connections?
It seems to be useful. Ann, Jim, Charlie, anyone else?
> I suggest you to test this application with heavy load, I mean a lot ofWill be done without a doubt. When the app will be ready, of course ;-)
> concurrent connections.
Best regards,
Dmitry