Current location: Hot Scripts Forums » Programming Languages » Everything Java » Deevelop sotware for thousands of connection

Deevelop sotware for thousands of connection

Reply
  #1  
Old 05-18-09, 11:51 PM
Imaizumi Imaizumi is offline
New Member
 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Deevelop sotware for thousands of connection

If a socket server are to be developed that can support 10000 connection, would it be a good idea to use Java?

I believe Java is the easiest language to implement sockets, portability, multithreading and such, but I am still wondering is it a good idea to use Java in performance term?
How about C or C++. does it support multithreading? socket?
Reply With Quote
  #2  
Old 05-23-09, 05:09 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community VIP
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 2,724
Thanks: 0
Thanked 0 Times in 0 Posts
Since you think Java is the easiest language to implement sockets, I'd say give it a try. Simply start 5000 clients (make sure you can all end them automatically, otherwise you'll be up all night closing connections )

I have never worked with sockets that have more than, let's say, 100 users on it, so I can't really tell you what would happen.

As far as I know there aren't any standard C++ classes that can create sockets. You might be able to find one on the web, or create one yourself using the iostream class, but it's gonna take some work.
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

If you want to add me on any IM, pm me first
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Connection to MS SQL Server 2005 Express cancer10 ASP.NET 1 12-12-08 01:23 PM
MySQL - connect more than once in a page or one connection? j-a-m-i-n Database 1 02-25-08 04:02 PM
PHP sockets - checking connection.. HELP!!! Turboz PHP 1 12-30-05 04:53 PM
ASP syntax error stuckonaproject ASP 8 12-14-04 11:30 AM
Closing a MySQL connection surebetdmg PHP 5 08-15-03 09:37 AM


All times are GMT -5. The time now is 07:43 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 (Unregistered)