Web2py: multiple database and distributed transactions
web2py.com