Skip to content

inway/minio-compose-object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test script for MinIO compose object functionality

Simple PoC to test composeObject method from minio-js library.

Setup

Copy .env.example to .env and modify the values accordingly to your MinIO setup.

Usage

First modify index.mjs settings and set desired part count (per S3 specs its maximum of 10000 parts) and then prepare the parts by running:

$ node index.mjs prepare

This will create the parts objects in the specified bucket.

Then run the compose operation:

$ node index.mjs

Test with parallel uploads (with limited concurrency)

Use minio-js from our fork instead to test limited concurrency uploads:

$ npm install https://github.com/inway/minio-js/releases/download/v8.0.7-fix.1/minio-8.0.7.tgz

To switch back to the original minio-js library, run:

$ npm install minio@latest

Trace files

Sample mc admin trace files are included in the traces/ folder for reference.

Traces for compose operation with 1000 parts:

About

PoC for Minio JS `composeObject` implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published