02-12-2012, 08:26 PM
Eru Wrote:I didn't think of JSON. :3 If we do it that way though, I'll need to set up a cron job to update a set of cached pages every 15-30 minutes. Static HTML on the server would be much easier to display to visitors and would get rid of the problem of having someone just refresh a bunch of pages constantly to keep pulling from JSON and lagging the server.
What version of .NET is the server running on? If you host a WCF service inside the server, you can easily cache results with just an attribute. You won't be exposing the server to any less lag potential than the server itself does.
I'd make the page only accessible if you've authenticated into the forums.
I mean, really... over a hundred people are sending at least 10 requests per second to the server... 1 ajax request per two seconds won't do shit to performance if you're careful.