fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] SSH compression?


From: Jon Dufresne
Subject: Re: [Fab-user] SSH compression?
Date: Thu, 10 Oct 2013 11:11:50 -0700

It looks like Parmiko can enable compression
<http://www.lag.net/paramiko/docs/paramiko.SSHClient-class.html>. Is
there some way to pass this through Fabric into the connect function?

On Thu, Oct 10, 2013 at 10:59 AM, Brandon Whaley <address@hidden> wrote:
> Hey Jon,
>
> I'm not sure whether it uses compression natively, but you could always pipe
> your dump into gzip on the remote end and ungzip the resulting string when
> it gets to you.  I've never tried this before, so there might be some kind
> of encoding problems that give you issues.  In that case (and if the data
> was particularly compressible) you might want to try piping the gzipped
> stream into base64 for the transit, though that would take more space than
> ideal (you might still get some bandwidth savings depending on your data).
>
>
> On Thu, Oct 10, 2013 at 1:43 PM, Jon Dufresne <address@hidden>
> wrote:
>>
>> Does Fabric support SSH compression? Is this something that I need to
>> configure at the SSH level or the Fabric level?
>>
>> For transmitting large amounts of text. SSH compression would greatly
>> improve performance.
>>
>> I'm doing something like the following:
>>
>> run('mysqldump bigdatabase', stdout=open('local.sql'))
>>
>> Thanks,
>> Jon
>>
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/fab-user
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]