[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Speed up File Transfer with Indy components

Posted on 2004-04-23
6
Medium Priority
?
413 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
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 375 total points
ID: 10933589
Indy 9.0.14
TIdTCPClient/TIdTCPServer.Intercept - TIdCompressionIntercept
TIdTCPConnection - property Intercept: TIdConnectionIntercept read FIntercept write SetIntercept;
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

834 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