public function computeTTL($ttl = null)
    {
        $ttl = $ttl ?: $this->defaultTTL;
        if ($ttl === null) {
            return null;
        }
        return $ttl + rand(0, $this->ttlVariation);
    }