Clever solution to delaying object creation, so we won’t waste CPU and RAM resources for duplicates. However what I don’t like is the predefined delay — essentially all the requests that hit semaphore (but no instance) will be delayed by 1000 milliseconds. In some cases it’s OK, but in others it might not be acceptable. No perfect solution still.

Father. Husband. Solutions developer profesionally (software quite often). Arsenal supporter. Cyclist.

Father. Husband. Solutions developer profesionally (software quite often). Arsenal supporter. Cyclist.