Hi, 10x all for all the help.
Let me tell you what I need to implement on my company .NET application:
For every user loged-in to the company website, We want to know on which page he is right now. It means, If user X is now on page “1.html”, I need to save this information somewhere. If user X after 30 seconds going to page “2.html” I want to update it fast where he is now surfing.
I gave the 1 million users just for the worst case. If some day my company website has 1 million user log-in, I am going to save to every one of them where he is surfing right now. Maybe I exaggerated, but we do have 45,000 users at the same time on the company web site and the number is growing. I think big so the solution for this problem will good for a lot of users.
So, my data object for every user should keep this information:
1. User code (User Number).
2. Which page user is now observing (Page Number).
This object is going to update every 30–60 seconds, so it should be updated fast. It is a lot of reading/writing data. If the Admin want to see which users are now on page “3.html” he will be able to read it, just by going through the whole array of objects.
I don’t need this information to be saved in DB, because it doesn’t mean anything. It is temporary and changing A LOT. So, I think the right place to do it is using RAM at the the company server, use the Caching Data option.
What do you think?
Am I wrong?