Hi Mark, On Wed, Oct 19, 2022 at 4:41 PM Mark Thomas <ma...@apache.org> wrote: > > On 19/10/2022 15:39, ma...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > > > markt pushed a change to branch loom > > in repository https://gitbox.apache.org/repos/asf/tomcat.git > > Sorry for the noise. > > This is a local experimental branch I didn't mean to push.
This is interesting since now is the best time to discuss long term plans. We'll see if there are some scheduling gains with Loom ... But I don't think thread scheduling was the problem in Tomcat. Maybe lock concurrency but it seems these had been eliminated (or improved at least). I still don't understand how it could possibly really work though, right now it feels like asking if Windows 3 cooperative multitasking could work (= it works as long as all apps and libraries are perfectly coded and there's no bug whatsoever). Also having to avoid native code is annoying (just when there's finally something good like Panama ...). I went through the Jakarta Servlet mailing list and there are some discussions about Loom and a possible lower level API. It seems there's a discussion between blocking and non blocking APIs. Well, IMO we need both ... - Blocking: For Loom. And mostly it could simply be ServletRequest/Response/Cookie/IS/OS without any of the other items. So it looks like everything is in there already. - Async: Great if Loom isn't that appropriate for real work. However, the listeners used for the Servlet API are not a very nice async API (of course they are very appropriate as an extension for a blocking API). So maybe that's where the new work is: come up with an async API ? What do you think ? Rémy > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org