Updated: 06/16/2017 by Computer Hope

Concurrency may refer to any of the following:

concurrency1. The performance of multiple calculations at the same time on a computer system. The calculations can be separated by using two separate processors, one processor with additional cores, or by using different threads on the processor. The calculations may or may not interact with one another at some point in the process.

2. When working with databases, concurrency controls are used to make sure each transaction on the database takes place in a particular order rather than at the same time. This keeps the transactions from working at the same time, which could cause data to become incorrect or corrupt the database.

For instance, if two transactions are attempting to write data into the same column or row of a database table and they write to it at the same time, one or both entries could be lost. Concurrency controls ensure that each transaction is processed one after the other, so that the data is entered properly.

Programming terms