Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some binaries and code to be deployed to various environments. I currently use pexpect library in python to connect and rsync over sash to sync the code. Currently the method uses push mechanism to deploy. Is there a better way to do this? Is pull mechanism better. Any suggestions?

share|improve this question
Could you add more details? What kind of environments? Heterogeneous or not? What code exactly? Mixed hardware architectures? Why sash? – maxschlepzig Sep 1 '11 at 17:28

You may want to look at Fabric or Capistrano.

share|improve this answer

You are probably looking for a distributed revision control system like Git, Mercurial etc.

share|improve this answer


Here's some interesting implementation of Bittorrent protocol for distributed deploy by Twitter guys.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.