From 2a94bb20f8d9f1c9a72400c0a6e10547cf262b50 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 28 Jul 2024 14:04:18 +0800 Subject: [PATCH] :memo: Update README for the future features --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f09d89d..36476f1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,20 @@ It contains file metadata compute, instant upload, calculating hashing, multi de ## Features +Paperclip store and processing uploaded files with pipeline flow. +When a user try to upload files. The file will store in local first for media processing. + +Then the server will publish a message into the message queue. +And the background consumer will start dealing with the uploaded files. + +The background consumer will hash the file and merge the files with same hashcode. +The background consumer will decode the image and generate ratio and read more info from image file too. + +After the processing done. The consumer will upload the file to the persistent storage like a s3 bucket and remove local cache. +While the processing, the file record in database will marked to the temporary and load file from the temporary storage. +When the processing done, the file record will be updated. + ### Supported Destinations - Local filesystem -- S3 compilable bucket \ No newline at end of file +- S3 compilable bucket