Posted By: Maddus Mattus | Jul 3rd @ 2:15 AM
page 1 of 1
Comments: 9 | Views: 223
Maddus Mattus
Maddus Mattus
it really does!
Posted By: giovanni | Today @ 10:39 AM 2 0

That shouldn't be possible, should it?

Edit:

I should have made the title more friendly, my apologies.
Duncanma
Duncanma
Just Coding for Fun...

yeah, that's messed up.... we queue up views, so that we don't hit the DB whenever someone views a post, and then batch update them every x minutes... perhaps we have a bug where we can lose that queue from time to time... maybe I should switch from an in memory storage to using MSMQ Smiley

Pace
Pace
In The Mix...
I havent used batch updating for a few years, that brings back some fun time memories. Burning the midnight oil when the batch goes drastically wrong... oh the days of (0NF) Big Smile
jamie
jamie
woohoo themes!
re: "so that we don't hit the DB whenever someone views a post"

sigh... c9 needs a marketing dept...
Duncanma
Duncanma
Just Coding for Fun...
I'm confused... what does this have to do with marketing?

The view #s weren't updating since I pushed out new code last night, there was a bug in the code, which has only been fixed now...

My comment about batching the view counter still stands though, having every user visit to a site cause a database hit isn't a great system, having them update the database every few minutes gives us the benefit of seeing traffic over time (if desired) but reduces the # of inserts.
TommyCarlier
TommyCarlier
Trust me, I'm from the Internets

I think Jamie means that your explanation (hitting the DB) is too technical, and you need a marketing department to explain it clearer, like "to streamline the flow of views in an optimized way".

I disagree with Jamie on this point: I like the fact that we're talking to the developers of C9 and get technical feedback, explaining exactly how and why things are the way they are.

Duncanma
Duncanma
Just Coding for Fun...
I'm glad you disagree, although I'm not sure that is what he meant, but I am intentionally replying with way more technical detail than I would ever post onto the forums on a consumer focused site. This is a developer site, developers like to know details... sometimes they may even learn from these details... or they may have ideas on how we could do it better and we could learn from you.

I'm capable of turning our explanations into what you see on most websites when there is a glitch... which is essentially nothing ("We had some temporary back-end issues that have now been resolved..." ... wow, that's informative. We know you had issues, the site was down... what issues and why won't they happen tomorrow?) but I don't think that would be anywhere near as useful (or entertaining in some cases) as telling you what is actually going on.

Erik (Human Compiler) and Nathan (who you haven't met yet, but we will fire up our videos again now that we have so many things to tell you about) are even working on a plan that would let you switch the site into debug mode to see uncompressed script and uncrunched CSS if you wanted to. I'm not sold on the idea yet, but I think that gives you an idea of how we see the Niners... as developers like us, not like users who have no interest in the development process that goes on behind the scenes.

We aren't the Visual C# team, working all day on the type of code I haven't written since university (like a compiler), we are working on the kinda of code that many of you write all the time.

HumanCompiler
HumanCompiler
Compiling humans...and code
Channel9.Debug="true", FTW!
littleguru
littleguru
allein, allein,... allein, allein!
Do we also get a debugger in Silverlight... one that we can use to debug the errors that appear Smiley only fooling around.
Minh
Minh
WOOH! WOOH!
Duncanma said:

I'm confused... what does this have to do with marketing?

Meaning that you would want your forum to seem lively, popular. Why would you want your forum to seem to have fewer views than it actually does. Before y'all start on the mechanic of caching again, you can at least assume that if there were 2 replies, there were at least 2 views.

Besides the "marketing" view, it just look plain wrong.