<div dir="ltr"><div><div><div><div>Hi,<br><br>your question is way to generic to properly answer it.<br></div>What I can say is that yes we did add few more options to undertow listeners and few other areas in undertow subsystem.<br>
<br></div>But without any concrete example what you would like to have or what does not work for you I cannot help you.<br><br></div>and please, keep discussion about this on wildfly-dev mailing list as it is interesting topic for many people.<br>
<br><br>--<br></div>tomaz<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 9:28 AM, Hamed Hatami <span dir="ltr">&lt;<a href="mailto:hamedhatami2012@gmail.com" target="_blank">hamedhatami2012@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,</p>
<p dir="ltr">Is it possible that in wildfly 8.1.0 hase more management on websocket connection and session at undertow ?</p>
<p dir="ltr">I wanna handle connection timeout to do somethings</p>
<p dir="ltr">Regards,<br>
Hamed Hatami</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Feb 18, 2014 1:20 PM, &quot;Tomaž Cerar&quot; &lt;<a href="mailto:tomaz.cerar@gmail.com" target="_blank">tomaz.cerar@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>undertow has completely different semantics to what jboss web had before.<br><br></div>Undertow uses XNIO worker(s) which are the ones handling the thread pool and few other things.<br>


</div>You can configure workers in IO subsystem and tell http listener which one to use.<br><br></div>By default in configuration we ship we have one worker named &quot;default&quot; defined and all listeners use it.<br>

<br>
</div>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=&quot;name-of-your-worker-in-io-subsystem&quot;<br>


<br></div><div>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<br><br></div><div>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.<br>


</div><div>This will be defaults we will probably have in 8.0.1 as they perform optimal.<br></div><div><br><br>--<br></div>tomaz<br><div><div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 9:37 AM, Hamed Hatami <span dir="ltr">&lt;<a href="mailto:hamedhatami2012@gmail.com" target="_blank">hamedhatami2012@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>I want to use http-executor for my http-listener but it can not possible<br>

<br>
what is the solution?<br><br></div>Regards,<br>Hamed Hatami.</div>
<br>_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>