Hi Russ,

Thanks for your reply.

On 07/18/2013 01:17 PM, R P Herrold wrote:
> On Thu, 18 Jul 2013, Alan Robertson wrote:
>
>> Hi all,
>>
>> Right now, there is a need for transactions that span both the network
>> (updating the rings) and also the database.  In other words, I need to
>> update the database and the network at the same time - and make sure
>> both parts get completely done.
>
> sounds like a task for a MQ
>
> -- Russ herrold

If you had the opportunity to read the Trello board, you'll see this is
something that I've considered (and others objected to) - and for the
moment have decided not to bring in.  I know there's a lot there - and
certainly don't expect that everyone has read everything...  But this
topic has generated a bit of controversy in the past as well ;-).

A small piece of this work would benefit from an MQ system - maybe
300-500 lines of Python (worst case) could be replaced by 100 lines of
interface code, and a lot of learning.  An MQ is huge amount of code and
dependencies to pull in and work with in order to do this.  Note that I
used the word "persist" in the email.  Currently I plan on it being in
flat files, and eventually if I need to use one for other reasons, I'll
bring in a message queuing system.  MQs do a /lot/ more than this. 
They're cool and all, but they add dependencies and make debugging more
difficult.  The code will be written to not care about what kind of
persistence mechanism is used.  As noted in the email, we may one day
need one anyway.  But I'd rather just do something brain-dead simple to
start with.

Most of the work will be in the transaction object.  Trust me, there's a
lot more to it than I talked about - and MQs don't help with that.  They
just persist the object.  Although I /could/ talk about it, if there is
interest...

There's a good bit of work that has already been done to ensure that
this general approach (regardless of method of persistence) will work.


-- 
    Alan Robertson <[email protected]> - @OSSAlanR

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce

_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to