On 03-01-2009, Graham Dumpleton wrote:
>
> 2009/1/3 William Dode <[email protected]>:
>>
>> On 02-01-2009, Graham Dumpleton wrote:
>>>
>>> 2009/1/3 William Dode <[email protected]>:
>>>>
>>>> Hi,
>>>>
>>>> I switched an app to multithread. Now i would like to know how many
>>>> threads was used simultaneously. For two reasons. To know if i really
>>>> need multithread and if yes how many thread i must configure. Thought
>>>> i know that i should not choose the minimum...
>>>>
>>>> Is there an easy way to do this ?
>>>
>>> What did you so to switch the app to multithreaded?
>>>
>>> How to configure how many threads are used depends on whether you are
>>> using embedded mode or daemon mode.
>>
>> Sorry, i didn't explain well what i mean...
>> I meant that my app is now thread safe, so i configured the daemon
>> directive to have 15 threads and now i would like to know how many
>> simulnateous threads was actualy used.
>
> Not following exactly what you mean. Are you wanting to know whether
> when subjected to specific traffic, eg. benchmarking, how many
> concurrent requests were handled at any one time and thus how many of
> those 15 threads were actually required in worst case situation?

Yes, exactly that.

>
>> Finally I did something with the module queue.
>
> Don't understand that reference either.

Each time i start a page i add one element in the queue, remove it in 
the end. The number of elements in the queue should give me the number 
of concurrent requests isn'nt it ?

thx to correct my bad english also !

-- 
William Dodé - http://flibuste.net
Informaticien Indépendant


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to