On 09/12/2018 12:31 AM, Aurelien Bompard wrote:
> Could this caching proxy just use EmpyDir (ie, only for the life
of that
> pod) and just refresh when it restarts? If it really needs disk, might
> be better to do on a vm at this point.
Since it's just caching, I guess that would be sufficient, unless we
cycle the pod frequently. It would be Really Bad Luck if the pod and
PyPI went down at the same time, right?
Indeed. Another possible option to look at is that openshift can also
save the last artifacts and reuse them if you are doing a layered s2i
image. That of course doesn't help for new items if pypi was down or
something, but it would at least mean fetching the things that didn't
change would be fast.
kevin