Does anyone know a good resource explaining the most efficient way to setup a read/unread system?
I have a system with about 50 users, and I would like to setup a system where they can view what items are new or unread.
I imagine there a quite a few ways of doing this, and I think I could spend quite a bit of time on this, so I want to make sure I set it up the most efficiently from the start.
Such questions come to mind such as:
Is it best to keep track of the read posts or the unread posts?
I can see if you want to keep track of read posts, and have a table of such, you might end up with a rather large table. Imagine 1.000 users and 10.000 threads, that makes for 10.000.000 entries into the table. That starts to sound a little extreme to me. I know I will have less users, but I expect around the same number of entries. (50 users, 10.000 threads so 500.000 entries in table)
Therefore I was considering if it would be easier/more efficient to simply keep track of the unread posts.
Anyways, Im sure someone has thought alot more about this then I has, and I would appreciate any knowledge/links you guys can provide.
I have a system with about 50 users, and I would like to setup a system where they can view what items are new or unread.
I imagine there a quite a few ways of doing this, and I think I could spend quite a bit of time on this, so I want to make sure I set it up the most efficiently from the start.
Such questions come to mind such as:
Is it best to keep track of the read posts or the unread posts?
I can see if you want to keep track of read posts, and have a table of such, you might end up with a rather large table. Imagine 1.000 users and 10.000 threads, that makes for 10.000.000 entries into the table. That starts to sound a little extreme to me. I know I will have less users, but I expect around the same number of entries. (50 users, 10.000 threads so 500.000 entries in table)
Therefore I was considering if it would be easier/more efficient to simply keep track of the unread posts.
Anyways, Im sure someone has thought alot more about this then I has, and I would appreciate any knowledge/links you guys can provide.
Comment