Question d’entretien chez Guidewire

What is difference between optimistic and pessimistic concurrency?