Skip to content

ENHANCEMENT: Migrate File Uploads to Cloud Storage (S3/Azure Blob) #27

Description

@Aayuiiitmg

Description
Answer scripts and answer keys are stored locally in the /uploads directory, creating scalability and reliability issues.

Current Issue
fileUpload.js stores files locally. This limits deployability (can't use serverless), creates backup issues, and files are lost if the container restarts. Current implementation on Render (a single dyno) has no persistent storage strategy.

Proposed Improvement

Integrate AWS S3 (or Azure Blob Storage) for cloud file storage
Implement secure pre-signed URLs for file access
Add automatic cleanup of uploaded files after processing
Implement virus scanning for uploaded PDFs
Add CDN integration for fast file delivery

Expected Outcomes

Platform can scale across multiple servers/regions
Files are safely persisted with redundancy
Better security with controlled file access
Improved performance with CDN delivery

Please assign me this issue under GSSOC 26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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