Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Is there any fundamental difference in the Threading Architecture between Jetty 9 and Jetty 12?


Gabriel,

There is no fundamental change in the threading model between jetty-9 and jetty-12.   We still use the EatWhatYouKill strategy, but it has been renamed to AdaptiveExecutionStrategy.

There have been refinements and some changes (especially with regards to threading when handling errors, when we now try not to defer error handling and may even spawn a new thread if there is no other option).







On Thu, 19 Dec 2024 at 23:48, Gabriel Giussi via jetty-users <jetty-users@xxxxxxxxxxx> wrote:
Hello folks, I need to migrate from Jetty 9 to Jetty 12 and I'm checking the documentation about the threading model for Jetty 12 https://jetty.org/docs/jetty/12/programming-guide/arch/threads.html#thread-pool-virtual-threads but I don't have a similar documentation for Jetty 9 so I would like to know if there are fundamental differences in this area between these two versions.
I understand Jetty 9 used the EatWhatYouKill strategy (https://webtide.com/eat-what-you-kill/) and I see that is described as Execute-Produce-Consume in the documentation I linked, but I don't know if the other consumption modes were also available, or any of the other parts, e.g. the TryExecutor (to ask "whether a thread can be immediately and exclusively allocated to run a task") or the Invocable interface ("to indicate the behavior of the task (in particular, whether the task may block or not)").

If there is equivalent documentation for Jetty 9 it would be very helpful, plus any additional comment to have in mind around the threading model when migrating.

Thanks.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users


--

Back to the top