Results 1 to 15 of 15
-
04-23-2005, 03:43 PM #1Junior Guru
- Join Date
- Feb 2004
- Location
- NYC
- Posts
- 204
Best language for high traffic chat room?
I've seen chat rooms out there built in everything from java to flash/php and everything else in between. I am wondering which language is best to hold the most amount of concurrent users and effeciently handle the server load for a chat room?
-
04-23-2005, 05:30 PM #2Web Hosting Master
- Join Date
- Dec 2003
- Location
- Miami, FL
- Posts
- 3,262
Java. Php would probably use MySQL which would be slow and would consume a ton of MySQL Connections.
java would be the best choice or a java frontend connected to a IRC Server.
-
04-23-2005, 06:26 PM #3Junior Guru
- Join Date
- Feb 2004
- Location
- NYC
- Posts
- 204
so you are saying flash/php is no good?
-
04-24-2005, 02:18 AM #4Web Hosting Master
- Join Date
- Jan 2003
- Posts
- 1,715
I'm sure you could do it, but I agree that Java would be better server-side. Java and Flash would both do okay on the client side. With Java, all of the requests run as threads in the same memory space, so shared data is easy and efficient. In PHP, each request is run separately, so you need some type of bridge (like MySQL) to keep them in sync with each other.
Rob mentioned a Java client to an IRC server. There are plenty of those wandering around if you don't want to build your own.Game Servers are the next hot market!
Slim margins, heavy support, fickle customers, and moronic suppliers!
Start your own today!
-
04-24-2005, 03:34 AM #5Web Hosting Guru
- Join Date
- Jan 2003
- Location
- USA, FL
- Posts
- 253
Another thought if you want to use php really badly is to use a socket connection that cant time out within an iframe that connects to an IRC or that connections to your own chatroom built application.
I did something similar to the above description for a basic chat I built but my backed was python console which communcated with the socket in the iframe. It is possible to make the backend php too but to have it constantly running slows the a server down quite a bit.
Just another suggestions that might not be the fastest but might work better than flash/php/mysql.
-
04-24-2005, 04:55 AM #6Web Hosting Master
- Join Date
- Jul 2004
- Posts
- 930
I think irc is ok... Or php/mysql... Something fast....
-
04-24-2005, 08:14 AM #7Junior Guru
- Join Date
- Feb 2004
- Location
- NYC
- Posts
- 204
the thing is there's this really hot chat script in flash/php/mysql it was tested with up to 70 users simultaneously but im looking for something that will hold more than that....this chat has a bunch of cool add ons too that i havent seen with any java script so far
-
04-24-2005, 04:05 PM #8Web Hosting Master
- Join Date
- Jul 2003
- Location
- Kuwait
- Posts
- 5,104
All these cool addons that you speak of, these will degrade from the performance of the application. Especially if its entirely web based.
This is partly the reason why IRC is so damn fast. Its doesn't bother with frilly doo-daas like video, avatars, sound, etc.
You might want to look at a custom chat service provider (like digichat).
-
04-24-2005, 04:41 PM #9Newbie
- Join Date
- Apr 2005
- Posts
- 7
I agree, but i've seen some very fancy systems with flash + php + xml
php + mysql + iframe = bad bad bad
-
04-26-2005, 03:56 PM #10Junior Guru
- Join Date
- Feb 2004
- Location
- NYC
- Posts
- 204
Has anyone ever had any experience with
FlashChat:
http://www.tufat.com/script2.htm
This is the chat that I am really considering on using. I obviously would need a dedicated server for it, I've been hearing some pretty good stuff on this chat but the thing is that it has only been tested with up to 70 conncurrent users.
Does anyone have any suggestions on a specific chat room software to use that will allow unlimited user created rooms, integration with a CMS system or forum such as phpBB, able to hold unlimited concurrent users with sleek look & design?
I would have chosen SigmaChat if it werent for the fact that each room is a "sub room" and not really an entire room onto itself somewhat like the FlashChat has.
-
04-27-2005, 08:42 PM #11Junior Guru
- Join Date
- Feb 2004
- Location
- NYC
- Posts
- 204
anyone?.......
-
04-30-2005, 02:31 PM #12Newbie
- Join Date
- Apr 2005
- Posts
- 11
Nope, can't say I have. How much traffic are we talking here? The difference could be negligeable
-
04-30-2005, 02:51 PM #13Junior Guru Wannabe
- Join Date
- Apr 2003
- Posts
- 99
The best (from security and perfomance point) is write chat daemon using C. Check the good example of chat at http://chat.naken.cc/
Try our dedicated windows servers
-
04-30-2005, 07:11 PM #14Web Hosting Master
- Join Date
- Dec 2004
- Location
- Canada
- Posts
- 1,097
Using Java chat is absolutely awful for the user. I can't stand using it, nor do I know anyone that can. Regardless of what you use on the server side, I'd stick to HTML on the client end. See CGI:IRC for an example of how this can be done well.
Using a servlet or a good 'ol IRC server is probably the best way to go on the backend.
-
04-30-2005, 10:54 PM #15Junior Guru Wannabe
- Join Date
- Mar 2005
- Location
- San Antonio, Tx
- Posts
- 30
Originally posted by angelic81
Has anyone ever had any experience with
FlashChat:
http://www.tufat.com/script2.htm
This is the chat that I am really considering on using. I obviously would need a dedicated server for it, I've been hearing some pretty good stuff on this chat but the thing is that it has only been tested with up to 70 conncurrent users.
Does anyone have any suggestions on a specific chat room software to use that will allow unlimited user created rooms, integration with a CMS system or forum such as phpBB, able to hold unlimited concurrent users with sleek look & design?
I would have chosen SigmaChat if it werent for the fact that each room is a "sub room" and not really an entire room onto itself somewhat like the FlashChat has.
I would recommend their software to anyone looking for a chat system.