Archive for the 'Uncategorized' Category

Operational Tools and Habits

Sunday, November 5th, 2006

This is a (partial) list of operational tools and habits that I have found extremely useful in the past:

  1. One Click deployment: Each component of the system must be deployable in a fully automated fashion. There must be NO manual steps, a checklist is not good enough. If you can transparently audit it all the better.
  2. One Click rollback: Your rollback in case of a failure must be fully automated. Again there must be NO manual steps.
    1. The one-click should not require explicit access to the deployment servers.
    2. If multiple components are to be deployed then this should be done by a script.
  3. NEVER give developers write access to the production servers, an accident WILL happen if you do. Read access is fine and as you have one-click, audited, remote deployment they don’t really need it do they?
  4. Everything builds from a tagged source in a source management system or is a third party library of a known version (This may seem obvious but is often not the case).
  5. The separate components in a distributed system must be loosely coupled enough that they can be deployed independently. This is not always possible but it is definitely worth the effort. You want to avoid having to rollback multiple systems supported by different groups because of a single failure.
  6. If you have to deploy a non-backwardly compatible change to the communication protocol (it happens) then do a protocol release on its own.

The one that generally causes the most fuss is 4; but if your system requires regular access by developers you have a problem.

A Woven Web of Guesses

Thursday, April 27th, 2006

The gods did not reveal, from the beginning, all things to us,

But in the course of time through seeking we may learn and know things better.

But as for certain truth, no man has known it,

Nor shall he know it, neither of the gods

Nor yet of all things of which I speak.

For even if by chance he were to utter The final truth, he would himself not know it:

For all is but a woven web of guesses.

Xenophanes (translated by K R Popper)

Here I am at TextDrive

Thursday, April 27th, 2006

I’ve moved to Text Drive. I’m hanging on to my setup at web-mania because they are a brilliant, incredibly cheap, host. They just don’t do all the stuff I want, and TextDrive does. Anyway, one of the strands here is mean’t to be a day book of my adventures with Ruby On Rails. I hope I stick with it, and that it turns out to be useful.