AUTHOR

i have a better system

Triscuit quote:
this would be similar to what they do on sodahead.com
it's not excruciatingly difficult, but with a database of this size adding a new attribute to a post is likely to see a measurable performance hit.

adding a new int onto someone's userid that increments upon click is...well, it takes nothing
MCCCXXXVII quote:
i like this idea
+10

MCCCXXXVII quote:
itd work the same way when we were able to rate threads, 1-5 stars, remember?

the difference is there, say your average thread contains 15 replies (16 posts in total)

you're now keeping a tally of "rep points" for 16 objects, as opposed to 1 (as it was with stars)

not only that, but now - unlike with the stars system - the author of the post becomes relevant, as the data has to be aggregated and fed back into the profile's rep count once it breaches a certain threshold.
Hercules quote:
the difference is there, say your average thread contains 15 replies (16 posts in total)

you're now keeping a tally of "rep points" for 16 objects, as opposed to 1 (as it was with stars)

not only that, but now - unlike with the stars system - the author of the post becomes relevant, as the data has to be aggregated and fed back into the profile's rep count once it breaches a certain threshold.
listen Herc enough with the technical jibber jabber just MAKE IT HAPPEN

Smiley
Kimura quote:
listen Herc enough with the technical jibber jabber just MAKE IT HAPPEN

Smiley
tbh i intend to make the suggestion. logically/functionally, it makes more sense that way.

and it may well be trivial, but thinking about the data that would have to be retained within an organized structure, i would think there would be a performance hit incurred.
Hercules quote:
it's not excruciatingly difficult, but with a database of this size adding a new attribute to a post is likely to see a measurable performance hit.

adding a new int onto someone's userid that increments upon click is...well, it takes nothing
true, very true. i guess it all just depends on how much is worth investing in it.

i mean, this IS a free dating site. like we should complain.
Hercules quote:
the difference is there, say your average thread contains 15 replies (16 posts in total)

you're now keeping a tally of "rep points" for 16 objects, as opposed to 1 (as it was with stars)

not only that, but now - unlike with the stars system - the author of the post becomes relevant, as the data has to be aggregated and fed back into the profile's rep count once it breaches a certain threshold.
i know how to do this with php, but i have no idea how it'd work with asp. i assume it'd work similarly, though.

one for one would be more easy. or you could have (invisibly) a tally on the user's profile that is one for one, and the displayed rep would just be that divided by three.

there are many ways one could do it.
Triscuit quote:
i know how to do this with php, but i have no idea how it'd work with asp. i assume it'd work similarly, though.

one for one would be more easy. or you could have (invisibly) a tally on the user's profile that is one for one, and the displayed rep would just be that divided by three.

there are many ways one could do it.
it's one thing to implement it
it's another thing to implement it on say, a 160GB database (in this case, MSSQL)

for example, say you end up having to create a View, containing userid,postid,postrep
drawing data from one table with millions of rows, joined against another table with a few dozen

doing the join itself just to create the view is going to take ages upon ages
then performing an operation against the view to increment/decrement a counter

then flush data from this view back into both tables

...and now think, you're going to have to do this potentially hundreds of times per second.

And from there, should you create new indices? clusters or unclustered? Trust the query optimizer or specify index hints?

I'm not saying that's how it works here, I don't have a database schema nor any code access whatsoever.

But this is a presumably very very large database. Especially, one would think, the tables involved in storing post content. You have to bear in mind performance implications, it's not as simple as ALTER TABLE times two, then write the PHP/ASP/whatever code to craft the totals. Adding a new column is itself a non-trivial operation on a database this size.

...and that's just the database end.

-This message has been edited by Hercules on 8/2/2010 5:17:02 AM

in short: does your implementation scale?

heaps of folks don't take this into account, and end up having to go through a considerable amount of pain down the road once their product becomes larger, and they've realized their database design isnt scalable - often for the simple fact that, they had no idea their product would blow up the way it did.

ideally an operation like this would have a dedicated style team, a dedicated frontend team, a load of hardened database developers, and a competent DBA capable of crafting a sensible maintenance plan.

however, this operation just has 'a dude'.

-This message has been edited by Hercules on 8/2/2010 5:23:20 AM

Hercules quote:
in short: does your implementation scale?

heaps of folks don't take this into account, and end up having to go through a considerable amount of pain down the road once their product becomes larger, and they've realized their database design isnt scalable - often for the simple fact that, they had no idea their product would blow up the way it did.

ideally an operation like this would have a dedicated style team, a dedicated frontend team, a load of hardened database developers, and a competent DBA capable of crafting a sensible maintenance plan.

however, this operation just has 'a dude'.

-This message has been edited by Hercules on 8/2/2010 5:23:20 AM


yes, also true. i do not know the capacity for this website, therefore i can't really project as to the possibilities. but i do understand that such a system, whilst possible, would be quite difficult for just one person to handle implementing, even provided the proper means.

Quick reply

Sign in to post a message.
Smileys

Times shown in Eastern Time (ET).