Skip to content

[ChunkedBloscFileDataManager] Save data to disk in a SEPARATE thread as returning data to the user #7

Description

@j6k4m8

Right now we perform the following data flow upon a ChunkedBloscFileDataManager cache miss:

  1. Ask the next layer for data
  2. Save the retrieved data to disk
  3. Return a copy of that retrieved data

In order to improve performance and save roundtrip time on that initial request, we should perform step 2 (saving the data to disk) in parallel with returning it to the user. Or, rather, spawn a routine to save data to disk in parallel (and allow it to finish even once the HTTP request is closed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions