Re: Users - entity sync
Posted by
David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/Users-entity-sync-tp139849p139852.html
David Welton wrote:
> Does anyone out there use this? I guess I'm trying to get an idea of
> how safe it is. I suppose the answer is that it isn't really be
> default and that it requires thinking about the data being handled.
> How would it handle something like two orders being placed on two
> different machines? Or something with a sequenceId?
Yes, ID sequencing needs to be pre-planned for data from multiple machines to coexist happily on a single target system. The Entity Engine can put a prefix on all sequenced IDs, configured on the delegator def in entityengine.xml. Of course, it depends on what the systems are for and the data that will be generated and tracked on each one. Usually just a few entities are moved over between the systems, and that should generally be as limited as possible.
Whatever the case, coordinating data between multiple systems is complex and what is being done should be well understood. It's not feasible to cover the potential problems and recommended solutions here, and of course those will change a lot depending on the circumstance.
-David
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users