best way to keep statistics for an EJB method for every cluster node
<p>I have 2 clusters in websphere 8.5 and a frecvent used method in an Ejb 3.1 stateless bean. I want to use a timer that logs every hour the fail and success count and average execution time.It is not important to be very accurate. What is the best/fastest way to keep statistics for every cluster node: EJB singleton, dynacache, class with static or synchronized methods,AtomicLong?</p>