Presenting a poor man's persistent messaging scheme
Dave Schere <[email protected]> Fri, 11 Jul 2014 09:23:38 -0400
| Newsgroups | gmane.network.spread.user |
|---|---|
| Message-ID | <CACyMi+jK+ue+thifWHtSu3ex7nt0ozm6=g=XNYtUPeMPmeGLwA@mail.gmail.com> |
--===============3308043797684851571== Content-Type: multipart/alternative; boundary=089e013cbcc670dcd004fdead977 --089e013cbcc670dcd004fdead977 Content-Type: text/plain; charset=UTF-8 This works with the python spread module but could easily ported to other languages or libspread. It implements persistent messages by reserving a special message group name, when a leave event is detected that was caused by a network/disconnect future SAFE/RELIABLE messages are saved that can be recovered by the faulty process when/if it joins the special message group. Here is the python implementation: http://didx.sarse.com/Spread.py --089e013cbcc670dcd004fdead977 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>This works with the python spread module but cou= ld easily ported to other languages or libspread. It implements persistent = messages by reserving a special message group name, when a leave event is d= etected that was caused by a network/disconnect future SAFE/RELIABLE messag= es are saved that can be recovered by the faulty process when/if it joins t= he special message group.<br> <br></div>Here is the python implementation:<br><br></div><a href=3D"http:/= /didx.sarse.com/Spread.py">http://didx.sarse.com/Spread.py</a><br><br>=C2= =A0<br></div> --089e013cbcc670dcd004fdead977-- --===============3308043797684851571== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Spread-users mailing list [email protected] http://lists.spread.org/mailman/listinfo/spread-users --===============3308043797684851571==--