Blume Global interview question

optimistic vs pessimistic lock