Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

Commit

Permalink
Re-order the sequence diagram description
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycline committed Feb 8, 2016
1 parent ea5a199 commit bd5f1a3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/dev-guide/design/deferred-download.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ than the component diagram above:
is first passed through a WSGIAccessScript in order to validate the URL signature. Once
validated, Apache uses mod_rewrite to strip the signature from the URL. This occurs so that
the URL does not differ for the same file so that Squid can retrieve the cached content for
subsequent requests. Apache acts as a reverse proxy and makes a plaintext request to Squid
on behalf of the client.
subsequent requests.

#. Apache acts as a reverse proxy and makes a plaintext request to Squid on behalf of the client.

#. Squid performs a cache lookup on the requested content. If it is available, it is served
to Apache, which in turn serves it to the client. If the cache lookup results in a miss,
Expand All @@ -99,11 +100,16 @@ than the component diagram above:
#. The Pulp Streamer determines the correct upstream URL and entitlement certificates by looking
the requested content up in the content catalog in MongoDB.

#. The Pulp Streamer downloads the content and streams it back to Squid.
#. The Pulp Streamer makes a request to the upstream repository, using any entitlement
certificates necessary.

#. The Pulp Streamer forwards the results of the request to Squid as it receives them.

#. Squid streams content received from the Pulp Streamer to Apache and caches the content
for future requests.

#. The Apache reverse proxy streams the content back to the client.

#. The Pulp Streamer adds an entry to the ``DeferredDownload`` database collection to
indicate to the Pulp server that a content unit has been cached and is ready for retrieval
for permanent storage.
Expand Down

0 comments on commit bd5f1a3

Please sign in to comment.