Romain, you may not have seen this, but the OSGi Alliance worked on a (self-implemented) library (yes a non-OSGi library :) ) that might prove useful. It is very tiny so perhaps it could simply be embedded into the geronimo safeguard implementation.
Promises ======= maven dep [1] spec [2] Considering the details of the fault tolerance specification (which honestly I have only read the readme ;) ) - TimeOut: Define a duration for timeout Promises supports timeouts natively - RetryPolicy: Define a criteria on when to retry I think this is pretty easy to implement on Promises using a timeout + a fallback - Fallback: provide an alternative solution for a failed execution. Promises supports fallbacks natively - Bulkhead: isolate failures in part of the system while the rest part of the system can still function. If this is referring to executing tasks without blocking + callbacks + failure states, and such, then this is a native ability of Promises. - CircuitBreaker: offer a way of fail fast by automatically failing execution to prevent the system overloading and indefinite wait or timeout by the clients. Plenty of features to combine for this. Just a thought! - Ray [1] https://search.maven.org/search?q=a:org.osgi.util.promise [2] https://osgi.org/specification/osgi.cmpn/7.0.0/util.promise.html On Thu, Aug 30, 2018 at 6:00 AM, Romain Manni-Bucau <[email protected]> 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, [email protected] <[email protected]> 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_ >> > -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
