I'm looking for a way to avoid race conditions on complicated
transactions. Some transactions I do need to update multiple values in
multiple tables, and create new objects.
It looks like the safest way to do this is to setup a single process
that would just implement these transactions and have the rest of the
application call it for services.
Where can I find some information on how to set it up?
- Create the transaction process
- Communicate to it from the application processes (mongrel cluster)
- Guarantee that this process is up after reboot
Thanks a million,