asadmr's avatar

Pessimistic or Optimistic Locking in Laravel

Hi Friends, I have designed patient appointment system in which sound chance to update same record by many users , I am seeking for export advice which locking mechanization is best to adopt pessimistic or optimistic , I am thinking to give user 10 second for update and refresh the web page in case user not responded please help me

0 likes
5 replies
primordial's avatar

You choice on your locking mechanism but I would be automatically refreshing a web page every 10 seconds. drive your users nuts. Try push notifications with Pusher or similar.

Please or to participate in this conversation.