title: Counter in Spring Boot
body: <p>I want to implement a counter in my spring boot application, which is accessed by thousands of users and i need to increment the counter by 1, when a user hits a particular endpoint.</p>
  
  <p>An object gets this value as id and is saved in a NoSQL ( cosmos ) database.</p>
  
  <p>What could be the most efficient implementation ?</p>
  
  <p>Thanks!</p>