Week 3 Assignment
Application: Data Integrity and Concurrency Control in Threaded Applications
You have had the opportunity to evaluate the performance of a threaded version of a sort algorithm and a non-threaded version of a sort algorithm.
For this Assignment, you will extend your evaluation by examining the implementation with respect to concurrency control issues.
To prepare:
Evaluate the threaded implementation of the sort algorithm relative to data integrity and concurrency control.
By Day 7, write a 2- to 3-page paper evaluating the implementation of the sort algorithm. Answer the following questions:
Is the threaded implementation correct, or are there data integrity concerns due to concurrency control?
If your implementation is correct, what protections are in place to ensure atomicity and consistency? Could a more effective method of ensuring data integrity be implemented in your solution?
If you ran into trouble with your implementation, provide specifics about the data integrity problems you encountered and explain the modifications that will be necessary to correct the data integrity and concurrency issues.
Include in your analysis an explanation of the operation of the threaded implementation, and if there are data integrity issues, suggest one or more modifications to the implementation to resolve these concerns.