• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Hits

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to keep track of number of servlet hits in load balanced environment. If there was single JVM, this was possible by storing the count in an instance variable.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could track this in your load balancer most likely. Otherwise you need to count these at a shared point, such as a in a database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic