concurrency
Overlapping execution in computing
the way a computer system works on several tasks at the same time or during overlapping time periods
[system/software] supports/uses concurrency; concurrency in [program/system]
- Modern web servers use concurrency to handle thousands of requests at once.
- The bug appeared only under high concurrency, when several threads updated the same record.
- Go and Erlang provide different approaches to concurrency.
- Concurrency lets the server work on many requests at once.
- The program has a concurrency bug.
Happening at same time
the situation in which two or more things happen or exist at the same time
the concurrency of [things]; concurrency between [things]
- The concurrency of heat, drought, and high winds made the fire season unusually dangerous.
- The study examined the concurrency between unemployment and poor health.
- The scheduling tool shows the concurrency of tasks on a timeline.
- The concurrency of the storms caused delays.
- Concurrency means the events happened together.
Agreement of views or decisions
agreement between people, ideas, or decisions, though agreement or concurrence is usually more natural
concurrency of [views/opinions]; concurrency between [positions/decisions]
- Despite their different methods, the two reviews showed a strong concurrency of judgment.
- The meeting produced an unusual concurrency of views across the departments.
- There was little concurrency between the minister's statement and the agency's recommendations.
- The managers showed concurrency of views on the plan.
- Base: concurrency
- Plural: concurrencies, concurrency
concurrency control
1Coordinating simultaneous data access
ways to stop simultaneous computer operations from damaging or mixing up data
- The database relies on concurrency control to keep transactions from corrupting shared data.
- Good concurrency control lets many users edit records without overwriting each other.
- The team added concurrency control after two updates were sometimes saved in the wrong order.
concurrency issue
1Bug from overlapping operations
a computer bug caused by several tasks happening at the same time
- The duplicate charges were traced to a concurrency issue in the payment service.
- Concurrency issues are hard to reproduce because they depend on timing.
- The developers fixed a concurrency issue that occurred when two users edited the same file.
concurrency limit
1Maximum simultaneous operations
the largest number of things a system lets run at the same time
- The API has a concurrency limit of 20 requests per account.
- We raised the concurrency limit during the sale to reduce waiting times.
- If you exceed the concurrency limit, new jobs stay in the queue until one finishes.
concurrency model
1System for managing concurrent work
the method a programming system uses to organize several tasks at the same time
- Actors, threads, and async/await represent different concurrency models.
- Choosing the right concurrency model can make the code easier to reason about.
- JavaScript's event loop is a central part of its concurrency model.
high concurrency
1Many simultaneous system operations
a situation where many computer tasks or users are active at the same time
- The server stayed stable under high concurrency during the ticket sale.
- High concurrency can expose timing bugs that never appear in simple tests.
- The new architecture was designed to handle high concurrency with fewer machines.
optimistic concurrency control
1Conflict checking without early locks
a way to allow edits first and check later whether another edit caused a conflict
- With optimistic concurrency control, the system checks the row version before saving.
- Optimistic concurrency control worked well because most users edited different records.
- The update failed because optimistic concurrency control detected a newer version of the document.
pessimistic concurrency control
1Conflict prevention with locks
a way to stop conflicts by locking data before people or programs change it
- The bank used pessimistic concurrency control for transfers that changed account balances.
- Pessimistic concurrency control can reduce conflicts, but it may slow the system down.
- The application locked the record as part of its pessimistic concurrency control strategy.