This document discusses converting a two-phase API to a single-phase API using an API facade. A two-phase API requires separate prepare and commit calls, which can be complex for clients. An API facade handles this conversion, exposing a single-phase API to clients while still using the existing two-phase backend services. Benefits include reusing backend systems, simplifying the client experience, and managing distributed transactions. Considerations include potential loss of transaction coordination capabilities.
Related topics: