• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

Speed up File Transfer with Indy components

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
BdLm
Asked:
BdLm
  • 4
  • 2
1 Solution
 
Lee_NoverCommented:
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
 
Lee_NoverCommented:
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
 
BdLmAuthor Commented:
Changing sendBufferSize & receiveBufferSize on the Indy TCP Client component is enough?
Where can I set the Compression Mode ?

0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Lee_NoverCommented:
you chain in a TCompressionIntercept to a TCPConnection.Intercept
0
 
BdLmAuthor Commented:
sorry I did not understand : TCompressionIntercept to a TCPConnection.Intercept,
where can I find this property ?
BdLM
0
 
Lee_NoverCommented:
Indy 9.0.14
TIdTCPClient/TIdTCPServer.Intercept - TIdCompressionIntercept
TIdTCPConnection - property Intercept: TIdConnectionIntercept read FIntercept write SetIntercept;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now