Yes, i'm using the thread-per-connection mode and works fine for me. I have
a TCP server,using synapse, that uses this model and as an improvement I
created a pool of threads in order to get a faster answer from server (the
requests made are very short).

Regards

 Ing. Alejandro Casagrande
Advenio Software
http://www.advenio.com.ar
[EMAIL PROTECTED]



2008/5/20, Lukas Gebauer <[EMAIL PROTECTED]>:
>
> > I want to use synapse in TCP Server(Such as FTPServer,HTTPServer,MAIL
> > Server),and i know use thread .my question:if there are too many
> > clients(1000+) Concurrent connections,and my server will create 1000+
> > threads to deal with.this OS support?or there are other way do it.
>
> Count of threads is not case... case is what these threads doing, and
> how many context switches you have.
>
> If major count of threads just waiting for data and when it have
> data, request is processed shortly, then you probably not have any
> problem with thread-per-connection model.
>
>
>
> --
> Lukas Gebauer.
>
> E-mail: [EMAIL PROTECTED]
> http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> synalist-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to