Solved

Slow File Transfer via SSL

Posted on 2016-09-07
9
56 Views
Last Modified: 2016-09-13
I have a media stream application that transfers the raw files before they are process via SSL between the servers in the media farm.  On my Windows 2012 R2 servers which have a 10GB NIC, with AV disabled a 3GB files takes 16 minutes to copy. Yet a regualr file copy i.e drag and drop from one server to another takes ~11 seconds...

And thoughts???
0
Comment
Question by:compdigit44
9 Comments
 
LVL 90

Expert Comment

by:John Hurst
ID: 41788905
One reason for the difference is that Video will not be compressed while the file probably was compressed.
0
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
ID: 41788930
@John regular file copy across Windows servers does NOT compress the content of the files being copied. there is a Windowss feature called RDC, Remote Differential Compression introduced with W2K3R2, but it is for content sync between Windows computers. not applicable to file copying.

@compdigit44 it really depends on the specific application that transfers the raw files. with different algorithms, the performance can be varied significantly.

if you really want to compare SSL performance, you may simply create a SSL based VPN across the two servers, then do regular file copy across the servers as what you do usually. there is no application factor in this comparison.
0
 
LVL 38

Expert Comment

by:Adam Brown
ID: 41789098
SSL will always involve a noticeable speed decrease when copying files, because the file has to be encrypted in transit. The application you use to do the transfer is one of the determining factors when transferring data between servers, so you will want to do some research on the media streaming application.

When you transfer files between servers using drag and drop, you're utilizing a completely different application to do so. Windows File sharing uses the SMB protocol, which is fairly lightweight and not encrypted by default. You can enable SMB encryption (https://technet.microsoft.com/en-us/library/dn551363(v=ws.11).aspx for info) to see how that impacts transfer speeds for drag and drop, but the most likely bottleneck is the media stream application. If that application utilizes IIS or another web server to enable the SSL tunnel, you may need to tweak the server settings a good deal to get the best performance out of file transfers. It's also possible that the application has a maximum speed that it will function at. Without knowing the exact application, it's hard to determine cause.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41789597
What is the best way to  optimize IIS for large file transfers.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 37

Expert Comment

by:Bing CISM / CISSP
ID: 41793799
> What is the best way to  optimize IIS for large file transfers.

why IIS?

commonly, it is NOT a best practice to let IIS or a web app running in IIS Application Pool to copy large files. this kind of jobs should be done in background by an utility co-working with front-end web app, then encryption can be conducted before sending the file across the network, this will significantly improve network performance.

BTW, scheduling the jobs to copy large files in non-peak hours will also improve the network performance, additionally.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 41795158
I totally understand but this is all controlled by the application which uses IIS.

No other setting I could check to at least help this??
0
 
LVL 42

Accepted Solution

by:
Davis McCarn earned 500 total points
ID: 41795923
Did you know you could setup a virtual directory which becomes an FTP site on the server?
https://technet.microsoft.com/en-us/library/dd722758(v=ws.10).aspx
Does your IIS application support using FTP for the file transfer?
Creating an FTP site which points to the IIS folder might end run the speed problem and should be just fine if its all on a local LAN.
1
 
LVL 19

Author Comment

by:compdigit44
ID: 41797086
Wow I did not know this was possible... thanks again
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

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

10 Experts available now in Live!

Get 1:1 Help Now