15
About the studies I was doing at the time I asked What is a traffic light?, informed me that, in order to better understand this term, I should study about Control of Competition.
Could someone please explain to me what this is all about?
15
About the studies I was doing at the time I asked What is a traffic light?, informed me that, in order to better understand this term, I should study about Control of Competition.
Could someone please explain to me what this is all about?
4
In a very simple way, competition control aims to manage access to shared resources. The goal is to control how multiple accesses can use a resource without conflicts, because concurrent access is simultaneous can generate data inconsistency.
This is not restricted to databases, but can be memory variables, physical files, threads, etc..
There are different ways to manage the competition (traffic light is one of them):
Some interesting links about competition and traffic lights:
https://www.revista-programar.info/artigos/threads-semaforos-e-deadlocks-o-jantar-dos-filosofos/
https://brizeno.wordpress.com/tag/semaforos/
http://www.inf.ufsc.br/~Frank.Iqueira/INE5645/3. %20Controle%20de%20Concorrencia.pdf
1
Complementing the previous answer, with other words and exemplifying, is what happens on your computer: There are several programs and threads "wanting" to be run by the processor, use the cache data, the RAM memory, access I/O devices, among others. The system needs to manage this in a way that does not create confusion between information, memory addresses, or even when a program/thread enters a critical region. Prevent or free access to devices when they can be used.
Browser other questions tagged terminology competition
You are not signed in. Login or sign up in order to post.
I only found reference to database, Competition Control Techniques (CC)
– Don't Panic
Will the competition control treats problems of the type deadlock?
– Marconi
To wikipedia’s English page on the subject is excellent.
– BrunoRB