Flex/Air App seeing online status of client from an admin user

RenAndStimpy
RenAndStimpy used Ask the Experts™
on
I have built an Air/Flex app that connects to a web server using ColdFusion and SQL. At the moment admin users can see who and what time a client has logged in by querying the database for this login information. What I really need is to be able to see live who is connected. What would be the most efficient and easy way of doing this?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sr. Software Engineer
Commented:
IMO, the most efficient way of seeing real-time statistics on users visiting the site is using the real time section of google analytics. It scales, it shows you things like location and if you set up your tracking properly, it can show you what content on your app they're viewing. (and it's free!)

In understand that there are other monitoring tools out there like fusion reactor, and even the built-in coldFusion monitoring tools that would allow you to see more in-depth information about your user sessions, in-page performance and other metrics, but they're not recommended to be run in production environments for extended periods of time.

It also depends on the size of your user-base, if it's a very small app that runs in a very contained environment, I would even set up logs that track your user's every request and some other non-google-analytics metrics if I wanted to be that specific. But there are two problems with that approach, one is that it does not scale well, and it's tougher to track if you're sharing loads with multiple servers. and two, because it has the potential of generating so much log data, your garbage collection for expired or logged out users would have to be pretty tight to not cause performance issues if you have a traffic spike.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial