> The only way you're going to achieve a decent speed is by using
> multiple connections. (or changing protocol :)
Or by zipping up all the file before FTP'ing them, assuming this is for a
remote backup application that could unzip them at the other end.
> zlib compression
TFtpCli supports zli
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Arno Garrels
> Sent: 16 October 2007 13:24
> To: ICS support mailing
> Subject: Re: [twsocket] A TFtpCli application performance question
>
> Tobias Rapp wrote:
> > Also do not forget to play with the B
Thanks for your help. It is very useful.
I am using the TWSocketServer and have seen the examples. I have 2 doubts:
- It is necesary to create the ClientThread and TThrdSrvClient. In the first
one, I put the code for receiving data for client, send the server and then
send data that are sende
Tobias Rapp wrote:
>>> Actually, this is a lot of small files (48KB mean size).
>>> Speed is roughly 2 Mbps which is low for a 100 Mbps.
>>
>> Oha, as I read between the lines, I have to rework my code :(
>
> Also do not forget to play with the BufSize and SocketSndBufSize
> settings on tWSocket.
Francois Piette wrote:
>>> Actually, this is a lot of small files (48KB mean size).
>>> Speed is roughly 2 Mbps which is low for a 100 Mbps.
>
>> Oha, as I read between the lines, I have to rework my code :(
>
> You never reach 100 Mbps which is faster than many disks. Once you
> have large data
I have other doubt. The application has data to server and the server has to
send them to the clients. How can i do this?
In the examples, i don't understand how the server send data to clients.
Thanks.
Regards.
Anne.> From: [EMAIL PROTECTED]> To: twsocket@elists.org> Date: Mon, 15 Oct 2007
On Oct 16, 2007, at 07:35, Ana Onarres wrote:
> I am using the TWSocketServer and have seen the examples. I have 2
> doubts:
> - It is necesary to create the ClientThread and TThrdSrvClient. In
> the first one, I put the code for receiving data for client, send the
> server and then send data
Hello Ana,
> I have other doubt. The application has data to server and the
> server has to send them to the clients. How can i do this?
> In the examples, i don't understand how the server send data to clients.
For each client taht connect to the server, TWSocketServer create a data
socket (you
Thanks for your response.
In the example ThrdSrvV2, it is necesary the Synchronization. Why? If every
client has a separate work?
In my application, the server sends data to all clients. How can i do this?
Regards.
Ana
> From: [EMAIL PROTECTED]> To: twsocket@elists.org> Date: Mon, 15 Oct 200
>> Actually, this is a lot of small files (48KB mean size).
>> Speed is roughly 2 Mbps which is low for a 100 Mbps.
>
> Oha, as I read between the lines, I have to rework my code :(
Also do not forget to play with the BufSize and SocketSndBufSize
settings on tWSocket. I made good experiences when
Thank you for your answer,
I did that, and for now (with 2 clients) and putting the thread priority to
tpIdle, is working fine,
Thank once more,
João
-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome
de Francois Piette
Enviada: terça-feira, 16 de Outubro de 2007 0
> > Actually, this is a lot of small files (48KB mean size).
> > Speed is roughly 2 Mbps which is low for a 100 Mbps.
> Oha, as I read between the lines, I have to rework my code :(
You never reach 100 Mbps which is faster than many disks. Once you have
large data size, you overflow the cache mem
>Now I have a form which has TWSocket server and reads the clients data,
When
>this data is something "special" it calls a thread to do the parsing.
>My problem: when the thread it's called it consumes the system resources
and
>the client's data received meanwhile is discarded.
>Can anybody tell me
Hello Arno,
Also avoid/minimize LIST command's use as much as possiblebetween
file's upload, this can take time especially if directory has many
files inside.
regards.
>>> I've written a FTP-uploader without taking much care of speed issues.
>>> It uploads 17000 files with total size of
14 matches
Mail list logo