Spring right way to track user activity -


i need create key metrics application of company. 1 of these usage of app across day (at time of day requests done), , other active users per day.

my first guess need create spring filter called whenever protected resource accessed, new timestamp added seperate database user logged in. (the db cleared every 24 hours). simple query build stats need.

my concern called every request every user.

are there better, perhaps more scalable alternatives or right way? in advance


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -