locked
How to design a Architecture of File System? RRS feed

  • Question

  • User-252718598 posted

    Now, there is a situation as below:

    1. there are many many spiders to search famous books from internet and download, save the books on a machine by using FTP.

    2.only one machine used to store.

    3.all the books(>1TB) are stored in the same folder--we named "Novel"(just only one)

    4. because of above cases, it's very slow to open the folder("Novel").

    so, who can give me a mature solution to resolve the situation?

    PS:Now i want to separate the books to other machines by following the first-name of the book!!! who can give me other suggestions? 

    thanks in advanced!!!

    Monday, May 16, 2016 10:29 AM

Answers

  • User-1596463 posted

    Put the directory name and information into the database table and populate directory listing from this table. Also You can put file name and details to the other table.

    when an user  finally hit the file then made url from these two table and user get the book through this ftp url.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 16, 2016 10:45 AM

All replies

  • User-1596463 posted

    Put the directory name and information into the database table and populate directory listing from this table. Also You can put file name and details to the other table.

    when an user  finally hit the file then made url from these two table and user get the book through this ftp url.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 16, 2016 10:45 AM
  • User-252718598 posted

    yes, it's a cure , but we don't use DB to store the content of the book. just save the content as .txt on local machine!!

    thanks for you, is there any other idea poped up or any useful links for me?Wink

    Tuesday, May 17, 2016 1:13 AM