CWS-CARES Public Library

How Changes to Optimistic Concurrency Elevate Real-Time Teamwork​

What happens when multiple users make edits to the same case at the same time in CWS-CARES?​

One of the many improvements in the new CWS-CARES system is how it handles concurrency—that is, when multiple users are working on the same case at the same time. In the CWS/CMS system, Optimistic Concurrency (OC) is a major challenge: if two people open the same case and make updates, one person’s changes could be lost even if they both save their work. This happens because the system was built on technology that does not allow for real-time collaboration. ​

CWS-CARES alleviates this concern. It’s built on modern, cloud-based technology where updates are completed in real-time. In CWS-CARES, multiple users work on different parts of the same case at the same time — with less likelihood to run into concurrency errors. ​

Even in the rare case where two users try to edit the exact same piece of information at the exact same time, CWS-CARES handles it the same way most modern systems do. If the system detects a conflict where a user might overwrite another user’s changes without reviewing them, it alerts the second user with an error message indicating that there was a conflict and temporarily retains their changes on the screen. The second user can then refresh to get the latest data, review it before re-entering their changes, and then save again. While the second user’s input is preserved temporarily on the screen, they will need to enter their changes again after the screen refresh to ensure data integrity.​

Overall, CWS-CARES reduces optimistic concurrency issues, making it easier for teams to collaborate in real time. It helps avoid delays, protects everyone’s work, and supports a smoother, more efficient workflow. ​

Originally published in the CWS-CARES Explorer.