Lith said:Pretty simple, it would basically be like a shoutbox.
Crayo said:Wouldn't it be a stress on the server having this?
Anonymous said:This would be a lot less stressful on the server than people refreshing the page every few seconds, since this would be passing the raw data for only the newest replies, as opposed to having to pass entire templates and the entire thread data to the user.
I can agree that 5 seconds could be a little quick, seeing as people rarely reply in seconds. However that could be upped to about 30 seconds (to a minute) and have a manual 'load new posts' button.
Crayo said:5 seconds would, definitely. Imagine it this way:
10 people taking part in a discussion thread. People post in these threads every time something interesting happens on RAW.
Every 5 seconds it refreshes for those 10 people, 50 refreshes every 5 seconds. 200 refreshes every 20 seconds. 500 refreshes every 50 seconds.
Server would be in tears.
Liked_WWF_Better said:Solidus: the server wouldn't need to query the database for every user, once a request has been made and the database has been queried, that new data will be stored seperately and read from, the database wouldnt be queried again until the time limit (the minute) has passed.
Granted for that to work the reload now button would become obselete.
I once read somewhere that it's easier to hold confidence in one's own opinion, when their knowledge of the subject is lacking. With that I ask why you believe jQuery is a burden; is requesting a php file through javascript any different than requesting it through the browser? Obviously, seeing as it's this late, I couldn't care less about being right, but this thread has simply turned into a competition over who can seem the most confident in their opinions without providing factual evidence.
Crayo: if the thread is under enough demand, you're going to have people refeshing it manually anyway.
Bed time.
Crayo said:Not a competition, just debating what's right really. I don't think anyone cares if they're wrong. I do know most established and experienced web-masters would agree and say it's something not needed and will put strain on the server. Perhaps if we did control our own server then it's not an issue, but people seem to forget we are on shared hosting here with a specific amount of resources we can use. If having this ruins our chances of let's say the notifications plugin, then which would you prefer to have?
Solidus said:You've just said the data will be stored separately, I.E, in its own table. The mybb_posts table is already the largest without duplicating it.
Solidus said:I also meant 10 people reading 10 different threads. It is 100 queries per minute, like I said.
Solidus said:jQuery being a burden is my opinion, and the opinion of many others. I'm not stating facts here.
Oh, and this is not a competition. Don't insult me, I have nothing to prove. This is merely differences of opinion, I've said it is feature that will be harsh on the database server, and you challenged that with some incorrect information.