[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geronimo-dev
Subject:    Re: Safegard status
From:       Romain Manni-Bucau <rmannibucau () gmail ! com>
Date:       2018-11-25 19:15:41
Message-ID: CACLE=7ON6iAaNS_Sg-szuNnQpTrcgmDfa3dQ2B7G00-PR2m=+w () mail ! gmail ! com
[Download RAW message or body]

Hi guys,

Created a quick (actually took me 1h so not that quick :D) PoC to show what
I have in mind for safeguard, long story short i just followed the points
of this mail and put some "mock" code
to illustrate the idea enough (for instance the circuit breaker impl is not
yet ready, it is just a simple fork of commons-lang flavor and all TCK are
not passing).

Here is the branch:
https://gitbox.apache.org/repos/asf?p=geronimo-safeguard.git;a=shortlog;h=refs/heads/api-cdi-tck-refactoring


I really the simplification it brings on the user land since everything
becomes CDI and overriding any part of the runtime becomes easy now.
It also enables you to check why dropping failsafe is not scary.

I will probably try to make this branch passing - note that i upgraded the
spec version so it misses some code, in particular regarding metrics - in
the coming weeks.

Let me know what you think about that path and the alignment with all other
impl we host.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 7 sept. 2018 à 11:30, Bruno Baptista <brunobat@gmail.com> a écrit :

> Thanks Romain!
> Bruno Baptista
> http://twitter.com/brunobat_
> 
> 
> On 07/09/2018 07:57, Romain Manni-Bucau wrote:
> 
> Dropping a lib looks big until it is done ;). Actually it will also allow
> us to drop all the bridge layers and builders which can make the lib way
> simpler for future contribution.
> 
> But no issue supporting 1.2 first.
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github
> <https://github.com/rmannibucau> | LinkedIn
> <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
> 
> 
> Le ven. 7 sept. 2018 Ã  08:50, Bruno Baptista <brunobat@gmail.com> a
> écrit :
> 
> > Hi Romain,
> > 
> > Dropping failsafe altogether seems quite a big task, between
> > re-implementation and testing. Would start on the support of Microprofile
> > Fault Tolerance 1.2 right away and migrate bits of failsafe along the way,
> > work for you guys?
> > 
> > Cheers.
> > Bruno Baptista
> > http://twitter.com/brunobat_
> > 
> > 
> > On 30/08/2018 11:00, Romain Manni-Bucau wrote:
> > 
> > Hi Bruno,
> > 
> > Nothing crazy AFAIK, the only task I have in mind (but is not yet
> > started) was to drop failsafe dependency to align this library on other
> > geronimo ones (dep free)
> > and own the implementation.
> > 
> > Feel free to grab any task you want.
> > 
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github
> > <https://github.com/rmannibucau> | LinkedIn
> > <https://www.linkedin.com/in/rmannibucau> | Book
> > <https://www.packtpub.com/application-development/java-ee-8-high-performance>
> > 
> > 
> > Le jeu. 30 août 2018 à 11:58, brunobat@gmail.com <brunobat@gmail.com> a
> > écrit :
> > 
> > > Hi,
> > > I'm interested in contributing to Geronimo Safegard and help to add the
> > > new features in the upcoming Fault Tolerance 1.2 Spec.
> > > Is there any work being executed or currently planed for this library?
> > > Cheers!
> > > --
> > > Bruno Baptista
> > > http://twitter.com/brunobat_
> > > 
> > 
> > 
> 


[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr">Hi guys,<div><br></div><div>Created a quick (actually \
took me 1h so not that quick :D) PoC to show what I have in mind for safeguard, long \
story short i just followed the points of this mail and put some &quot;mock&quot; \
code</div><div>to illustrate the idea enough (for instance the circuit breaker impl \
is not yet ready, it is just a simple fork of commons-lang flavor and all TCK are not \
passing).</div><div><br></div><div>Here is the branch:  <a \
href="https://gitbox.apache.org/repos/asf?p=geronimo-safeguard.git;a=shortlog;h=refs/h \
eads/api-cdi-tck-refactoring">https://gitbox.apache.org/repos/asf?p=geronimo-safeguard \
.git;a=shortlog;h=refs/heads/api-cdi-tck-refactoring</a></div><div><br></div><div>I \
really the simplification it brings on the user land since everything becomes CDI and \
overriding any part of the runtime becomes easy now.</div><div>It also enables you to \
check why dropping failsafe is not scary.</div><div><br></div><div>I will probably \
try to make this branch passing - note that i upgraded the spec version so it misses \
some code, in particular regarding metrics - in the coming \
weeks.</div><div><br></div><div>Let me know what you think about that path and the \
alignment with all other impl we host.</div><div><div><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><span \
style="font-size:small">Romain Manni-Bucau</span><br><a \
href="https://twitter.com/rmannibucau" target="_blank">@rmannibucau</a> |   <a \
href="https://rmannibucau.metawerx.net/" target="_blank">Blog</a>  | <a \
href="http://rmannibucau.wordpress.com" target="_blank">Old Blog</a> |  <a \
href="https://github.com/rmannibucau" target="_blank">Github</a>  | <a \
href="https://www.linkedin.com/in/rmannibucau" target="_blank">LinkedIn</a>  | <a \
href="https://www.packtpub.com/application-development/java-ee-8-high-performance" \
target="_blank">Book</a></div></div></div></div></div></div></div></div></div></div></ \
div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div \
class="gmail_quote"><div dir="ltr">Le  ven. 7 sept. 2018 Ã   11:30, Bruno Baptista \
&lt;<a href="mailto:brunobat@gmail.com">brunobat@gmail.com</a>&gt; a écrit  \
:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Thanks Romain!<br>
    </p>
    <div class="m_2208979325712140284moz-signature">Bruno Baptista<br>
      <a class="m_2208979325712140284moz-txt-link-freetext" \
href="http://twitter.com/brunobat_" \
target="_blank">http://twitter.com/brunobat_</a><br>  <br>
      <br>
    </div>
    <div class="m_2208979325712140284moz-cite-prefix">On 07/09/2018 07:57, Romain \
Manni-Bucau  wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Dropping a lib looks big until it is done ;).
        Actually it will also allow us to drop all the bridge layers and
        builders which can make the lib way simpler for future
        contribution.
        <div><br>
        </div>
        <div>But no issue supporting 1.2 first.<br clear="all">
          <div>
            <div dir="ltr" class="m_2208979325712140284gmail_signature" \
data-smartmail="gmail_signature">  <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div><br>
                                                  <span \
style="font-size:small">Romain  Manni-Bucau</span><br>
                                                  <a \
                href="https://twitter.com/rmannibucau" \
                target="_blank">@rmannibucau</a>
                                                  |   <a \
                href="https://rmannibucau.metawerx.net/" target="_blank">Blog</a>  |
                                                  <a \
                href="http://rmannibucau.wordpress.com" target="_blank">Old
                                                    Blog</a> |  <a \
                href="https://github.com/rmannibucau" target="_blank">Github</a>  |
                                                  <a \
href="https://www.linkedin.com/in/rmannibucau" target="_blank">LinkedIn</a>  |  <a \
href="https://www.packtpub.com/application-development/java-ee-8-high-performance" \
target="_blank">Book</a></div>  </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">Le  ven. 7 sept. 2018 Ã   08:50, Bruno Baptista &lt;<a \
href="mailto:brunobat@gmail.com" target="_blank">brunobat@gmail.com</a>&gt;  a écrit \
:<br>  </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  <div text="#000000" bgcolor="#FFFFFF">
            <p>Hi Romain,</p>
            <p>Dropping failsafe altogether seems quite a big task,
              between re-implementation and testing. Would start on the
              support of Microprofile Fault Tolerance 1.2 right away and
              migrate bits of failsafe along the way, work for you guys?
              <br>
            </p>
            <p>Cheers. <br>
            </p>
            <div class="m_2208979325712140284m_5524193209911166649moz-signature">Bruno
  Baptista<br>
              <a class="m_2208979325712140284m_5524193209911166649moz-txt-link-freetext" \
href="http://twitter.com/brunobat_" \
target="_blank">http://twitter.com/brunobat_</a><br>  <br>
              <br>
            </div>
            <div class="m_2208979325712140284m_5524193209911166649moz-cite-prefix">On
              30/08/2018 11:00, Romain Manni-Bucau wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Hi Bruno,
                <div><br>
                </div>
                <div>Nothing crazy AFAIK, the only task I have in mind
                  (but is not yet started) was to drop failsafe
                  dependency to align this library on other geronimo
                  ones (dep free)</div>
                <div>and own the implementation.</div>
                <div><br>
                </div>
                <div>Feel free to grab any task you want.<br clear="all">
                  <div>
                    <div dir="ltr" \
class="m_2208979325712140284m_5524193209911166649gmail_signature" \
data-smartmail="gmail_signature">  <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div><br>
                                                          <span \
                style="font-size:small">Romain
                                                          Manni-Bucau</span><br>
                                                          <a \
href="https://twitter.com/rmannibucau" target="_blank">@rmannibucau</a> |   <a \
href="https://rmannibucau.metawerx.net/" target="_blank">Blog</a>  | <a \
href="http://rmannibucau.wordpress.com" target="_blank">Old Blog</a> |  <a \
href="https://github.com/rmannibucau" target="_blank">Github</a>  | <a \
href="https://www.linkedin.com/in/rmannibucau" target="_blank">LinkedIn</a>  | <a \
href="https://www.packtpub.com/application-development/java-ee-8-high-performance" \
target="_blank">Book</a></div>  </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <br>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr">Le  jeu. 30 août 2018 à  11:58, <a \
href="mailto:brunobat@gmail.com" target="_blank">brunobat@gmail.com</a> &lt;<a \
href="mailto:brunobat@gmail.com" target="_blank">brunobat@gmail.com</a>&gt; a  écrit \
:<br>  </div>
                <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>  I&#39;m interested in \
contributing to Geronimo Safegard  and help to add the new features in the upcoming \
Fault  Tolerance 1.2 Spec.<br>
                  Is there any work being executed or currently planed
                  for this library?<br>
                  Cheers!<br>
                  -- <br>
                  Bruno Baptista<br>
                  <a href="http://twitter.com/brunobat_" rel="noreferrer" \
target="_blank">http://twitter.com/brunobat_</a><br>  </blockquote>
              </div>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic