Cost bound as a mechanism for concurrency control in distributed transaction processing systems