Hosted Storage Archive Extraction for Single-Object API
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Hosted storage systems that only support a single object per storage or access message face challenges in efficiently handling and storing multiple files, as they must conform to APIs that restrict messages to a single object.
Innovation Solution
The method involves receiving a storage request with a single object that is an archive file containing multiple bundled files, extracting these files, and storing them separately in the hosted storage system, allowing each file to be accessed individually.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the hosted storage system stores multiple files as a single archive object, then the API message format is maintained (single object per message), but the flexibility and ease of accessing individual files is reduced
Solution Approach 1:
The archive file is segmented into multiple individual file objects within the hosted storage system. Each file within the archive is extracted and stored as a separate object, allowing independent access and manipulation while maintaining the single archive object interface for uploads and downloads.
Solution Approach 2:
The system introduces an intermediary layer between the archive file and individual files. The hosted storage system acts as a mediator that receives the single archive object, extracts individual files, stores them separately, and can re-package them into archives for download, thus bridging the gap between API constraints and flexible file access needs.
2Ease of operation
If the hosted storage system extracts and stores multiple files separately from an archive, then file accessibility and management is improved, but the system complexity increases
Solution Approach 1:
The system performs preliminary extraction and processing of the archive file when it is uploaded. The archive is decompressed and individual files are extracted and stored in advance, so that when files are needed, they are already available as separate objects without requiring complex real-time processing.
Solution Approach 2:
The hosted storage system automatically handles the extraction and storage of individual files from archives without requiring manual intervention. The system self-manages the complexity of archive processing, file extraction, and individual file storage, abstracting the complexity from the user interface.
3Loss of energy
If the hosted storage system processes archive files by extracting and storing individual files, then network usage is reduced through efficient batching, but the processing time and duration of action increase
Solution Approach 1:
Multiple file operations are merged into a single archive upload operation. The system accepts multiple files as a single archive object in one network request, processes them internally by extracting and storing individually, and then can efficiently serve them in subsequent requests, reducing overall network usage compared to multiple separate upload operations.
Data Source
AI summary
A hosted storage system receives a storage request that includes a single object and conforms to an API implemented by the hosted storage system. The API is designed to only support a single object in a storage request. The hosted storage system, in response to determining that the single object is an archive file, extracts each of the bundled files from the archive file and stores each of the extracted files in the hosted storage system such that each of the extracted files is separately accessible by the client system over the network.


