Click here to Skip to main content
15,908,172 members
Home / Discussions / C#
   

C#

 
Question'Most used' queue Pin
Chris Maunder15-Jun-08 5:12
cofounderChris Maunder15-Jun-08 5:12 
AnswerRe: 'Most used' queue [modified] Pin
User 665815-Jun-08 5:43
User 665815-Jun-08 5:43 
GeneralRe: 'Most used' queue Pin
Eslam Afifi15-Jun-08 6:07
Eslam Afifi15-Jun-08 6:07 
GeneralRe: 'Most used' queue Pin
Robert.C.Cartaino15-Jun-08 7:13
Robert.C.Cartaino15-Jun-08 7:13 
QuestionRe: 'Most used' queue Pin
Eslam Afifi15-Jun-08 7:32
Eslam Afifi15-Jun-08 7:32 
GeneralRe: 'Most used' queue Pin
Chris Maunder15-Jun-08 14:46
cofounderChris Maunder15-Jun-08 14:46 
GeneralRe: 'Most used' queue Pin
Eslam Afifi15-Jun-08 20:38
Eslam Afifi15-Jun-08 20:38 
AnswerRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 8:37
mvePete O'Hanlon16-Jun-08 8:37 
Chris - there is a way that you can do this, but it's going to rely on using some technology hacks. Let's assume that each object has a unique identifier. Now, every time the object is accessed, write the id and date/time that the object has been accessed to a message queue. Next, read from the message queue and update a database server based on these values.

Periodically, prune and summarise the values in the database - so, every N minutes, you'll pick the top M objects and write a summary of this information to a table - then delete the old entries. The beauty of this approach is that you can spread the load of this processing.

Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: 'Most used' queue Pin
Chris Maunder16-Jun-08 8:39
cofounderChris Maunder16-Jun-08 8:39 
GeneralRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 8:46
mvePete O'Hanlon16-Jun-08 8:46 
GeneralRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 9:12
mvePete O'Hanlon16-Jun-08 9:12 
GeneralRe: 'Most used' queue Pin
Chris Maunder16-Jun-08 9:18
cofounderChris Maunder16-Jun-08 9:18 
GeneralRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 9:22
mvePete O'Hanlon16-Jun-08 9:22 
QuestionA question, about my project. Pin
new_t15-Jun-08 3:30
new_t15-Jun-08 3:30 
AnswerRe: A question, about my project. PinPopular
Christian Graus15-Jun-08 3:42
protectorChristian Graus15-Jun-08 3:42 
AnswerRe: A question, about my project. [modified] Pin
#realJSOP15-Jun-08 3:43
professional#realJSOP15-Jun-08 3:43 
AnswerRe: A question, about my project. Pin
ginji2015-Jun-08 15:20
ginji2015-Jun-08 15:20 
AnswerRe: A question, about my project. [modified] Pin
Single Step Debugger16-Jun-08 3:47
Single Step Debugger16-Jun-08 3:47 
QuestionProblem in C# urdu [modified] Pin
Shuaib wasif khan15-Jun-08 1:59
Shuaib wasif khan15-Jun-08 1:59 
AnswerRe: Problem in C# urdu Pin
Nouman Bhatti15-Jun-08 23:25
Nouman Bhatti15-Jun-08 23:25 
QuestionNeed Article About Using MSMQ Triggers in .Net 2.0 and Windows XP. Pin
hdv21215-Jun-08 1:58
hdv21215-Jun-08 1:58 
QuestionIncluding WPF Components Pin
Muammar©14-Jun-08 23:12
Muammar©14-Jun-08 23:12 
AnswerRe: Including WPF Components Pin
jamie55015-Jun-08 1:31
jamie55015-Jun-08 1:31 
GeneralRe: Including WPF Components Pin
Muammar©15-Jun-08 1:33
Muammar©15-Jun-08 1:33 
GeneralRe: Including WPF Components Pin
jamie55015-Jun-08 1:53
jamie55015-Jun-08 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.