GithubHelp home page GithubHelp logo

Comments (8)

tilsammans avatar tilsammans commented on June 20, 2024

Pulled down the memoize-backend branch but that does not fix the issue. After the fifth command still:

cap aborted!
Connection refused - connect(2)

like you would expect.

from sshkit.

tilsammans avatar tilsammans commented on June 20, 2024

I love what Mina was trying to do by queueing commands into a single connection.

Not suggesting anyone rewrite the Capistrano command backend, mind you. 😸 But it seems better to pool the (costly) connection as much as possible.

from sshkit.

leehambley avatar leehambley commented on June 20, 2024

I suggested trying the following to the last person that ran into this: http://www.cyberciti.biz/faq/linux-unix-reuse-openssh-connection/

I'm not sure if Net::SSH is smart enough to do that, but it seems sane to me.

Maybe that's a way to keep this pooling out of SSHKit, and push it down to the layer where I think it belongs.

(I'm not totally surprised that my branch doesn't work, I don't even know if the memoisation is working.

from sshkit.

leehambley avatar leehambley commented on June 20, 2024

In combination with a .ssh/config in the project directory, that would work for SSHKit.

from sshkit.

tilsammans avatar tilsammans commented on June 20, 2024

Inneresting! I am on the go now, but will definitely check that out soon.

Op 5 dec. 2013 om 15:40 heeft Lee Hambley [email protected] het volgende geschreven:

In combination with a .ssh/config in the project directory, that would work for SSHKit.


Reply to this email directly or view it on GitHub.

from sshkit.

tilsammans avatar tilsammans commented on June 20, 2024

Net::SSH doesn't pick that up, regular ssh does though. It's a nice technique, definitely useful. Unfortunately, not for this particular problem.

from sshkit.

leehambley avatar leehambley commented on June 20, 2024

Thanks for checking Net::SSH, maybe @delano has some idea of of we could
support that in netssh?

Sent from my Nexus 4.
On 5 Dec 2013 20:53, "Joost Baaij" [email protected] wrote:

Net::SSH doesn't pick that up, regular ssh does though. It's a nice
technique, definitely useful. Unfortunately, not for this particular
problem.


Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-29931616
.

from sshkit.

Kriechi avatar Kriechi commented on June 20, 2024

I think this can be closed now.
Connection pool is implemented and working.

/cc @leehambley

from sshkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.