Solved

Speed up File Transfer with Indy components

Posted on 2004-04-23
6
379 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
  • 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now