Emmanuel Lecharny-3 wrote:
>
> pietry wrote:
>> But this shouldnt be happening right ?
> What should not happen ? he 100% CPU usage? certainly. Biut the
> interesting question is 'why does _your_ server use 100% of the CPU. In
> other terms, what is your server doing ?
>
> As i said, my server accepts connections from a large number of clients,
> and sends either messages from one to another, or broadcast messages to
> all clients. Text messages, at a rate of 3-10 messages per second ( the
> number grows with clients )
>> So mina supports what i want for my
>> server.
>> Did i choose the right settings?
>>
> No idea. Again, it all depends on what your server is doing, and we have
> no clue about that.
>
>> I tried to create an executor filter with a different thread pool, but no
>> difference
>> When i rapidly broadcast messages, the cpu grows to 100 % and if stop, it
>> drops to 0.
>>
> Which kind of messages ? Which size? Which treatment are you doing on
> those messages? These are the key questions...
>
> Can you provide a little bit more context?
> Text messages, size varies from 20 bytes to even 2 kBytes, im doing no
> treatment.
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>
>
--
View this message in context:
http://www.nabble.com/Performance-problem-tf4783282s16868.html#a13689158
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.