The invention relates to the technical field of
file storage, and discloses a method and a
system for storing multiple concurrent large files. According to the method and the
system, the format and the size of a file are verified, a unique file name is generated and used for identifying
metadata of a storage file and outputting the file, each small block of the file is divided into a fixed size and is divided into small blocks, a
unique identifier is generated for each small block, a
database is connected, and the
metadata of the file is stored in the
database. Then traversing each small block, selecting a storage node for each small block, uploading the small blocks by using multiple threads, setting a
request queue,
processing file uploading and downloading requests in sequence, avoiding concurrent write-in conflicts of the same file by using a lock mechanism for file uploading, and reading and controlling a read request through a read-write lock; and acquiring the information of the storage file from the
database, acquiring each small block by utilizing a concurrent downloading mode, recombining the small blocks into an original file in sequence after downloading is completed, and performing integrity
verification after file recombining.