Skip to content

Optimize time to first byte (TTFB) for uploads and downloads to ≤100ms in /storage_service #1

@Selfdb-io

Description

@Selfdb-io

Problem

The time it takes for downloads and uploads to start transferring bytes in /storage_service is very slow. This results in a high time to first byte (TTFB) for both uploads and downloads.

Desired Outcome

  • Optimize the system so that the time to first byte (TTFB) for both uploads and downloads is no more than 100ms.

Reference

  • Please refer to the expert report: Storage_Report.md

Files to Update

  • storage_service/app/core/optimized_storage.py
  • storage_service/app/main.py
  • storage_service/app/apis/endpoints/files.py

Acceptance Criteria

  • TTFB for uploads is ≤ 100ms
  • TTFB for downloads is ≤ 100ms
  • All changes are referenced to Storage_Report.md

Please investigate and implement the necessary optimizations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions