📝 Update readme
This commit is contained in:
		
							
								
								
									
										26
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,24 +1,4 @@ | ||||
| # Hypernet.Reader | ||||
| # HyperNet.Reader | ||||
|  | ||||
| Reader is the unified attachment service for all hypernet services. | ||||
| It contains file metadata compute, instant upload, calculating hashing, multi destination, media info and more features! | ||||
|  | ||||
| ## Features | ||||
|  | ||||
| Reader 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 permanent 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 | ||||
| Reader is the way HyperNet dealing with the | ||||
| link expand and fetching external metadata | ||||
|   | ||||
| @@ -1,28 +1,13 @@ | ||||
| id = "reader01" | ||||
|  | ||||
| bind = "0.0.0.0:8004" | ||||
| grpc_bind = "0.0.0.0:7004"/Volumes/video/Anime/Oshi no Ko/Season 1/Oshi no Ko S01E10.ass | ||||
| bind = "0.0.0.0:8005" | ||||
| grpc_bind = "0.0.0.0:7005" | ||||
|  | ||||
| nexus_addr = "localhost:7001" | ||||
|  | ||||
| [workers] | ||||
| files_deletion = 4 | ||||
| files_analyze = 4 | ||||
|  | ||||
| [debug] | ||||
| database = true | ||||
| print_routes = false | ||||
|  | ||||
| [performance] | ||||
| file_chunk_size = 26214400 | ||||
|  | ||||
| [[destinations]] | ||||
| type = "local" | ||||
| path = "uploads" | ||||
| [[destinations]] | ||||
| type = "local" | ||||
| path = "uploads/permanent" | ||||
| access_baseurl = "http://192.168.50.133:8004" | ||||
|  | ||||
| [security] | ||||
| internal_public_key = "keys/internal_public_key.pem" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user