while reading abt singleton pattern I had following query which I need help with: assuming a singleton class contains some state / data it is not an issue coz only a single object will be created but in case of load balanced environments one object would be created for each server in that case state / data inconsistency issue will appear so I want to know if my understanding is correct or not and if it is correct than what is the workaround