I am familiar with the singleton design pattern and how to make it thread-safe etc, but only to the concepts restricted to a single JVM.
Now I am stuck with a task to achieve singleton in a system running multiple pods, without using any application servers. If you could share the code snippet which you had worked on previously would be great.
I am not using spring or any other frameworks currently.
Aucun commentaire:
Enregistrer un commentaire