Solved

Speed up File Transfer with Indy components

Posted on 2004-04-23
6
398 Views
Last Modified: 2010-04-04
Hi,

i'm working with extremly large files (700 Mbyte).
How to speed up datatransfer between Client and server, can I increase the package size
with indy components ?


best regards

B.
0
Comment
Question by:BdLm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 10907352
I've found best performance with Send/RecvBufferSize of ~1mb
you can also disable Nagle ( does not wait for the ACK response before sending the next packet )
0
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 10907360
oh .. you could also add in the CompressionIntercept .. if you're mainly transferring already compressed files like movies or packed archives then this would only be an overhead
for text files or some docs it really adds a performance boost
0
 
LVL 8

Author Comment

by:BdLm
ID: 10915708
Changing sendBufferSize & receiveBufferSize on the Indy TCP Client component is enough?
Where can I set the Compression Mode ?

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:Lee_Nover
ID: 10916099
you chain in a TCompressionIntercept to a TCPConnection.Intercept
0
 
LVL 8

Author Comment

by:BdLm
ID: 10929897
sorry I did not understand : TCompressionIntercept to a TCPConnection.Intercept,
where can I find this property ?
BdLM
0
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 125 total points
ID: 10933589
Indy 9.0.14
TIdTCPClient/TIdTCPServer.Intercept - TIdCompressionIntercept
TIdTCPConnection - property Intercept: TIdConnectionIntercept read FIntercept write SetIntercept;
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question