----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I'd like to be able to hold 10,000 (yes 10k) simultaneous long lived TCP 
connections to a jserv server. Running Linux on high end PC (hopefully not 
higher than maxi intel box with lots of memory).

I'd be happy to hold these connections over proprietary TCP sockets with 
flat C/C++ code and maybe Pth for lightweight thread for each connection.

The amount of data actually going over these connections will not be
much. But there has to be a thread or something for each socket ready to 
deal with any data that appears.

But it seems I need to tunnel over HTTP to let people behind proxy
servers connect. So, coding for worst case, I basically need to maintain 10k 
long lived HTTP tunneled connections on one Linux box. That's where I'm 
hoping Apache and Jserv can come in. But Apache seems to use native Linux 
threads and 10k of these is too much. It seems that I can get 10k Green 
threads to instantiate on my 128meg pentium 450 in the Blackdown JVM. No way 
in hell native threads. So that is vaguely good news. Maybe I need a 
lightweight C/C++ HTTP tunneling communication 'concentrator' to simulate 
1000's of full duplex long lived connections into one or more JVMs. 
(bypassing Apache
and serlet api).

That's the goal anyway. Could throw more/bigger hardware at it, but would 
like to hear at least positive noises that I have a chance of this kind of 
scale on a basic 2500$ PC.

Thanks

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to