<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 8:40 AM Ingo Weiss &lt;<a href="mailto:ingo@redhat.com">ingo@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2019-07-30 17:40:52-0500, Brian Stansberry wrote:<br>
&gt; On Tue, Jul 30, 2019 at 12:59 AM Ingo Weiss &lt;<a href="mailto:ingo@redhat.com" target="_blank">ingo@redhat.com</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; Hi Brian, thanks for looking into this.<br>
&gt; &gt;<br>
&gt; &gt; On 2019-07-29 12:17:36-0500, Brian Stansberry wrote:<br>
&gt; &gt; &gt; The Question<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Question is whether to<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; a) have an overall config switch to disable graceful startup across the<br>
&gt; &gt; &gt; board (e.g. a new value for the --start-mode cmd line param passed to<br>
&gt; &gt; &gt; standalone.sh)<br>
&gt; &gt;<br>
&gt; &gt; I think this the better solution based on your pros. Having this<br>
&gt; &gt; limited to only HTTP(S) requests makes it very limiting and ends up<br>
&gt; &gt; not being sufficient in some cases, as you described.<br>
&gt; &gt;<br>
&gt; &gt; Do you think it would be possible to make this configurable per<br>
&gt; &gt; subsystem as well?<br>
&gt; &gt;<br>
&gt; &gt; For some subsystems, like Undertow and EJB, you may want to use as<br>
&gt; &gt; soon as they become available to reach out other systems or even call<br>
&gt; &gt; a servlet on another deployment that has already started, this a case<br>
&gt; &gt; I&#39;ve seen before, while others, like Messaging, you may want to wait<br>
&gt; &gt; for other subsystem, like JCA, to come up first. Does it make sense?<br>
&gt; &gt;<br>
&gt; <br>
&gt; If I understand you correctly, instead of my a) a global flag, or my b) an<br>
&gt; undertow flag, there would be several b)s. One to tell undertow to let<br>
&gt; requests through, one to tell EJB to let requests through,, one to tell<br>
&gt; messaging to let requests through (although that one&#39;s theoretical as<br>
&gt; messaging doesn&#39;t have graceful startup/shutdown anyway.)  Probably one for<br>
&gt; every subsystem that does anything related to graceful. The user then<br>
&gt; toggles the ones they want for their app. They&#39;d have to know which they<br>
&gt; want.<br>
<br>
That&#39;s what I was thinking.<br>
<br>
&gt; That would be a quite big increase in scope.<br>
<br>
Yeah, it was an increase in scope indeed, but I think it might end up<br>
being a better fit for users.<br>
<br>
It could surely be a multiple-phase approach. We start with a, see how<br>
it goes, then move to b * no_of_possible_subsystems.<br></blockquote><div><br></div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif">That&#39;s true; a global switch doesn&#39;t preclude something more fine-grained in the future.</div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt; Not sure it&#39;s worth it, but it&#39;s something to think about while I&#39;m on PTO.<br>
&gt; :)<br>
<br>
Enjoy and don&#39;t think about this. That&#39;s bad for you :)<br></blockquote><div><br></div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif">Thanks. Probably won&#39;t think too much. :) But this is a not small or trivial thing, nor something huge like dealing with javax.* being renamed to jakarta.* so it&#39;s the kind of thing I sometimes find relaxing to think about when I&#39;m chilling out.</div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
Ingo Weiss<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Brian Stansberry<div>Manager, Senior Principal Software Engineer</div><div>Red Hat</div></div></div></div>