Qbasicnews.com

Full Version: ChatNet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Quote:Seph, you can also decrease the bandwidth A LOT if you only refresh the messages. Use a hidden IFRAME with javascript and iframe.contentwindow.location.href = "mycgi.php?TIME=something&DATE=something", strap an onload event that would grab the messages once it's loaded and the php script would only return those messages that have occured since then. This would mean that every time you refresh, you'd only be downloading the necessary header and messages. Then you could insert the node at the top of the message page. I think this is how AIM's javascript client works (though they probably use a more elegant xml solution).

BUT - this is still not a perfect solution, and it's going to suck both bandwith and the server's processor. Maybe the best solution would be some kind of custom chat plugin that wouldn't start up with that ugly grey java box. Jesus H, I hate that grey box.

after reading only your first few words, ive decided to reply and THEN continue reading: i do that. using PHP. there is a hidden iframe with an automatic refresh sent in the header for every 15 seconds. no javascript needed Wink... ok now to the rest of your post...

okay now i see what your getting at... yeah it could be done, if i knew a little more about JS.. but i dont. so oh well, i think this way works fine Smile

also im planning on adding a who's on list to the right side, like a normal chatter, and then also different colour themes for people to choose from. Smile
Quote:Good hosts provide unlimited bandwidth unless your site is distributing large files(s/ws, streaming video, audio etc...).

Good hosts do NOT provide unlimited bandwidth. Unlimited bandwidth is easily abused by clients, which leads to down time and lost business. Good hosts control the amount of bandwidth used in order to maintain an efficient and stable server and service.
Quote:Oracle, what if all you had to do was link to a "room" on my chatnet, like http://chat.blissdev.com/qbn/ which would link to your own personal "room" on the chatnet, complete with your own logs, own messages, and own skin even! it would use no bandwidth, so what would you guys say!

Does this mean using your bandwidth instead of the bandwidth at QBN? I think that's what you're saying, that might be an option. I'll "awake" the others and see what they think. Though you should implement a little demo to show us how it would work Wink
absolutely Wink i plan on doin this and a lot of other changes to it tonight when nikki goes to bed (thats when ill be coding from now on) cuz i think of all my ideas while at my boring as.s job. Smile

also, like all the messages will be erased tonight when i redo the logging script, so dont post anytihng until the thing looks completely different Wink
Quote:
TheBigBasicQ Wrote:Good hosts provide unlimited bandwidth unless your site is distributing large files(s/ws, streaming video, audio etc...).

Good hosts do NOT provide unlimited bandwidth. Unlimited bandwidth is easily abused by clients, which leads to down time and lost business. Good hosts control the amount of bandwidth used in order to maintain an efficient and stable server and service.
My ISP has "unlimited" bandwidth for the sites they host.

I've never had any downtime with them (sure, they are stupid mofo's, and require two weeks to change a rights error on a folder, but no downtime)

Only bad thing is that you must talk to them before you can use any database, script and so on, and you only start with 100Mb.


But it comes free with my internet connection so... I'm happy...


Point, unlimited bandwidth, doesent mean lot's of downtime.
Perhaps, if for example, geocities, had unlimited bandwidth, they would be raped. Cause then people don't pay for it.

But if, "muffa", a host that take $20 for unlimited bandwidth, then I don't think people would "abuse" it.


Btw, my host/ISP could handle Nightwalkers script, although, they did call me and ask me to remove a counter from the site, as it keept crashing (it reached 500'000 hits in under a minute, hehe)
But no downtime, aso.
Your isp offers 'unlimited bandwidth"(proper word is unmetered) for you because your up/download is strictly limited. You have maximum what, an mbit? That's really nothing compared to the speed and robustness of what some datacenters offers (OC-12, 48, etc)

And people do abuse hosting accounts, all the time. Spammers love them, and dont care to go thru hosting accts as if they were cheap chocolate bars since a lot of the time they are using stolen credit cards and someone else is picking up the tab. IRC servers are also bandwidth abusers when not monitored correctly. Hell, let's take AAP's host for example. They offer 300 GB of bandwidth (!) with their accts. That's unrealistic, especially considering where they are hosting, which is full of IRC servers which congest the datacenter's (FDCservers) very cheap datalines. As you have noted, they are down more than up. They have probably crammed so many accts on a server that the poor server cant hold up any more. Any host that gives you "unlimited" bandwidth is a host to stay the hell away from.

As for nightwalker's script, that has more to do with the server's ability to hold up abuse rather than the pipeline's speed. A single CPU server will tolerate much less abuse than a quad cpu server. Also some processes are more vunerable to crash than others. It's a complicated mess.
It's unmetered.



And to take the AAP hots example, 300GB, for a free hosting, I don't think they know what they are doing.



They have manual confirmation of FTP access.
Rhia, unmetered bandwidth is the right word for it =). Yes, there are hosts providing it and they do have strict vigilance on those sites using 'high bandwidth'. If they find that those accounts are abusing the priviledge then they simply discontinue their services. No one in their right mind would leave their bandwidths unmonitored =P, again spam, internet crimes and all, you know =P.
This looks like a good solution, guys. I suggest you guys use this if you want QBN-chat.
Pages: 1 2 3 4 5