ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nextcloud sync small files

    IT Discussion
    nextcloud 16 sync issues
    2
    2
    320
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brandon220B
      brandon220
      last edited by

      A friend of mine uses NC to move data from remote users to a shared folder. Works fine. That folder syncs to a local folder on another file server via the sync client. The files are very small and lots of them. The sync client struggles due to have to make mysql database entries for each file (an assumption on my part).

      The local server has a piece of custom software that looks at the folder and creates reports. Would mapping the folder via webdav be a better solution than having the data copied to the local drive? Is there a better option? Nextcloud has solved a lot of issues they were facing. This is an underlying issue. Thoughts?

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        MySQL or MariaDB entries take like a millisecond, literally. It's so blinding fast. It's the same kind of transaction that has to happen when a filesystem writes where a file is. It's tiny and effectively instantaneous. It would be pretty while if the database writing that a file was being stored could be measured in any way through performance, as it would happen at the same time that the file is being transferred.

        Compare it to driving a load of corn from New York to California. And while doing so, needed to make a not in a log book that says "Shipped Corn to California". The one action, the actual moving of the corn, takes like 40 hours. The logging in the book happens in like 15 seconds. And you can make the log entry anytime during the 40 hour process and have it happen simultaneously for zero performance impact on the shipment process.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post