About the studies I was doing the moment I asked What is a traffic light? , I was informed that , to better understand this term, I should study about Competition Control .
Could anyone explain what it is about?
About the studies I was doing the moment I asked What is a traffic light? , I was informed that , to better understand this term, I should study about Competition Control .
Could anyone explain what it is about?
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 your competition (traffic light is one of them):
Some interesting links about competition and semaphores:
link