HomePhabricator
Diffusion Comm 0c2ea1abaaa5

[blob-service] Implement download logic with new db

Description

[blob-service] Implement download logic with new db

Summary:
Part of ENG-4269.

Most of this code is copy-pasted from http::handlers::blob::get_blob_handler

Decided to create a separate download object, similar to "upload sessions" we already have. The reasoning for this is that we typically have the following workflow:

  1. Get the download object metadata (size etc.)
  2. Set download params (range, format, streaming options)
  3. Stream the data to the client

Depends on D8453.

Test Plan: Tested later in the stack

Reviewers: michal, varun, jon, patryk

Reviewed By: michal, patryk

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8454

Details

Provenance
bartekAuthored on Jul 9 2023, 8:48 AM
Reviewer
michal
Differential Revision
D8454: [blob-service] Implement download logic with new db
Parents
rCOMMff3a70e0cb1e: [blob-service] Create business logic abstraction
Branches
Unknown
Tags
Unknown