if a variable is shared by multiple thread, how do you ensure thread safety.
Risposta di colloquio
Anonimo
27 mar 2016
classes like AtomicInteger would be helpful. they are satisfied with my answer, then they go deeper, I said using a independent cache like Redis is helpful