<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Distributed transaction - Page 5 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=distributed_transaction&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=distributed_transaction&amp;p=6">3.Next</a>
</p>
<p>is usually applied for updates able to <a href="page.php?w=commit_%28data_management%29">commit</a> in a short period of time, ranging from couple of milliseconds to couple of minutes.</p>

<p>There are also long-lived distributed transactions, for example a transaction to book a trip, which consists of booking a flight, a rental car and a hotel. Since booking the flight might take up to a day to get a confirmation, two-phase commit is not applicable here, it will lock the resources for this long. In this case more sophisticated techniques that</p><p>
<a accesskey="1" href="page.php?w=distributed_transaction&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=distributed_transaction&amp;p=6">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
