On contention management for data accesses in parallel and distributed systems