Is there a good C ++ framework to implement XA distributed transactions?
The word "good" means mean, simple, simple (does not reflect "easy"), well structured
Due to the study of the reasons, at this time I am proceeding with a personal implementation, X / Open XA spectrope. / P>
Thank you in advance.
I do not know about an open source or a free transaction monitor with no maturity The degree is, although some fans are out, existing business people are Tibako (actually IBM's MQ like Transactional Message Queue Manager) and Transk (now owned by IBM). These systems are all expensive too .
If you fill in a zero in open-source software space, get a copy of your own (and, incidentally, a little bit of a name for yourself)). This transaction is a definite task on the processing system architecture, written by two leading experts in the field.
Interestingly, they claim that someone can implement TP monitors working in almost 10,000 lines of C. It really feels quite right, as it does, it's not all that complicated. On this occasion, I have become enticing to try.
Basically you need to create a distributed transaction coordinator which runs as a daemon process. You will need to get the resource manager protocol from it, so starting with a prototype is probably a good start if you can take it independently or you can make a transaction, then you have the basis of TM-RM interface. .
The XAi API is defined as the API to control the transaction manager. Speaking strictly, you do not need to create a 3-level architecture to use this type of distributed transaction, but they are more or less meaningless without TP monitors how you interact from front-end to mid-level , Can be left as an exercise for the reader. You may be best off using the existing ORB, many of which are good open source implementations available.
Depending on the fact that you want DTC and APS server to create separate processes (which is possibly desirable for stability but not strictly necessary) as the basis for the DCC server, Can also be used.
If you want to create a high-performance middle-level server, check Douglas Schmidt it comes with an ORB called TAO, and it is very flexible for you so that you Use any threading model that fancy takes you. It's a trade-off between learning to use and writing your own and attempts to debug all synchronization and musical issues.
Comments
Post a Comment