Temperature, periodicity and horizons