Application: Data Integrity and Concurrency Control in Threaded Applications

You have had the opportunity to evaluate the performance of athreaded version of a sort algorithm and a non-threaded version of asort 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.

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 placeto ensure atomicity and consistency? Could a more effective method ofensuring data integrity be implemented in your solution?
  • If you ran into trouble with your implementation, providespecifics about the data integrity problems you encountered and explainthe modifications that will be necessary to correct the data integrityand concurrency issues.

Include in your analysis an explanation of the operation of thethreaded implementation, and if there are data integrity issues, suggestone or more modifications to the implementation to resolve theseconcerns.

APA citations