[wildfly-dev] http-executor

Tomaž Cerar tomaz.cerar at gmail.com
Thu May 8 08:57:54 EDT 2014


Hi,

your question is way to generic to properly answer it.
What I can say is that yes we did add few more options to undertow
listeners and few other areas in undertow subsystem.

But without any concrete example what you would like to have or what does
not work for you I cannot help you.

and please, keep discussion about this on wildfly-dev mailing list as it is
interesting topic for many people.


--
tomaz


On Thu, May 8, 2014 at 9:28 AM, Hamed Hatami <hamedhatami2012 at gmail.com>wrote:

> Hi,
>
> Is it possible that in wildfly 8.1.0 hase more management on websocket
> connection and session at undertow ?
>
> I wanna handle connection timeout to do somethings
>
> Regards,
> Hamed Hatami
> On Feb 18, 2014 1:20 PM, "Tomaž Cerar" <tomaz.cerar at gmail.com> wrote:
>
>> Hi,
>>
>> undertow has completely different semantics to what jboss web had before.
>>
>> Undertow uses XNIO worker(s) which are the ones handling the thread pool
>> and few other things.
>> You can configure workers in IO subsystem and tell http listener which
>> one to use.
>>
>> By default in configuration we ship we have one worker named "default"
>> defined and all listeners use it.
>>
>> But if you want to have separate workers (thread pools) per worker, all
>> you need to do is define new worker in IO subsystem and then reference it
>> in http-listener worker="name-of-your-worker-in-io-subsystem"
>>
>> Just bit of note, we did mistake with default values for default worker
>> in 8.0.0.Final release and will fix that in 8.0.1
>>
>> In our testing we got best performance when io-threads ware set to number
>> of logical cpus * 2 and task-max-threads set to number of cpus * 16.
>> This will be defaults we will probably have in 8.0.1 as they perform
>> optimal.
>>
>>
>> --
>> tomaz
>>
>>
>> On Tue, Feb 18, 2014 at 9:37 AM, Hamed Hatami <hamedhatami2012 at gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I want to use http-executor for my http-listener but it can not possible
>>>
>>> what is the solution?
>>>
>>> Regards,
>>> Hamed Hatami.
>>>
>>> _______________________________________________
>>> wildfly-dev mailing list
>>> wildfly-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140508/75cd0e7d/attachment.html 


More information about the wildfly-dev mailing list