[haXe] hi and chat example

Janko M. janko.m at itmmetelko.com
Thu Apr 5 13:39:33 CEST 2007


Nicolas Cannasse wrote:
Great news :) . Thanks for a very concrete and informative answer. I 
will report if I make anything interesting with it.

best regards,
Janko


>>If I use a VPS to run a server (as a cheapest way t get shell access)
>>(like http://www.vpslink.com/vps-hosting/) what sized package (RAM)
>>should I be looking at if I want to run it like a more or less simple
>>chat with max to 50 silmultaneous users online?
>>Are there any known limits to how many simultaneous users server could
>>take?... I am not an expert but from the code I think it uses async
>>sockets which I think don't use that many resources per connection (if
>>it's not that active) as for example threaded socket...
>>    
>>
>
>The remoting server uses both async sockets and threads. One thread can
>handle several sockets, so you can reduce the number of threads
>(server.nthreads) and increase server.maxSockPerThread before starting it.
>
>The server will then be able to handle up to nthreads * maxSockPerThread
>clients, if you have enough bandwidth/CPU. For example with 50 threads
>it takes 12MB of memory. We have one server with always a few hundreds
>connected users and it doesn't take much CPU or RAM.
>
>Nicolas
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070405/3952237d/attachment.htm


More information about the Haxe mailing list