[JIRA] (MDA-244) Stage to permit explicit parallel execution

Ian Young (Jira) jira at shibboleth.atlassian.net
Wed Feb 1 10:25:21 UTC 2023


Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *commented* on MDA-244 ( https://shibboleth.atlassian.net/browse/MDA-244?atlOrigin=eyJpIjoiNzY4YzllMzI3MzFmNDk0MjhhYTdkNGVhNGFkYzRjNzciLCJwIjoiaiJ9 )

Re: Stage to permit explicit parallel execution ( https://shibboleth.atlassian.net/browse/MDA-244?atlOrigin=eyJpIjoiNzY4YzllMzI3MzFmNDk0MjhhYTdkNGVhNGFkYzRjNzciLCJwIjoiaiJ9 )

It’s probably worth noting that the calculus about what is worth doing in this area changes dramatically with the introduction of virtual threads (not available yet, possibly available in Java 21) and structured concurrency (almost certainly the next LTS after that).

Cheap virtual threads argue for not “batching” the work or pooling threads in an ExecutorService but just firing up one thread per Item.

Likewise, structured concurrency is exactly what we want here: all of those things can operate independently but we come back together before proceeding.

So, if we do something like this earlier than those two features are available, we should take them into account in the design.

( https://shibboleth.atlassian.net/browse/MDA-244#add-comment?atlOrigin=eyJpIjoiNzY4YzllMzI3MzFmNDk0MjhhYTdkNGVhNGFkYzRjNzciLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-244#add-comment?atlOrigin=eyJpIjoiNzY4YzllMzI3MzFmNDk0MjhhYTdkNGVhNGFkYzRjNzciLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:06410ea )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/08114aa2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-6a97199c-5aa9-4ee2-9f1b-29ab56b293b3
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/08114aa2/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-d46494c9-f9f5-4124-aa1d-c52ae46c2193
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/08114aa2/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-7cbb5fdf-c418-4d51-a02b-bfdf2e8f9f4b
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230201/08114aa2/attachment-0005.png>


More information about the commits mailing list