Blume Global Interview Question

optimistic vs pessimistic lock