Giter Site home page Giter Site logo

Comments (3)

solracsf avatar solracsf commented on June 29, 2024

You can adjust max_chunk_size server side.
See docs or reach help at https://help.nextcloud.com

from desktop.

joshtrichards avatar joshtrichards commented on June 29, 2024

You can adjust max_chunk_size server side.

AFAIK this only changes it for the Web client.

And businesses cannot be expected to change this for every pc in a large scale deployment.

Businesses often have other preferred ways of mass deploying internal software such as the Desktop client, including config customizations. In addition, as noted, it's not an issue for the Web client.

It's possible the Desktop client is being more aggressive than our Web client at determining maximum chunk size.

I think the uploader in Web most of the time effectively uses the default of 10 MiB (unless the file is particularly large or the admin has changed it from the default).

I haven't fully been through the Desktop client's approach in this area, but I going from memory I got the sense Desktop may start out trying to use as few chunks as possible (and therefore much larger ones), whereas Web kind of does the opposite.

I may be wrong though because I only glanced at the code a bit back and so take with a grain of salt.

https://github.com/search?q=repo%3Anextcloud%2Fdesktop%20maxchunksize&type=code

The Desktop client also has a dynamic mode that adapts based on target duration parameters, which further complicates things (and I'm not aware of the Web client having any such thing).

from desktop.

joshtrichards avatar joshtrichards commented on June 29, 2024

P.S. I apologize for leaning a bit more on speculation than I usually prefer in my response a short bit ago.

My aim was to add a bit to the discussion, but upon reflection I probably should have just left it as a draft for now. :-)

This topic just happens to connect with one I've had on my "to investigate" list for a bit: the behavior of chunking, particularly in a default configuration, in the Desktop versus Web clients.

(Lacking time today to get deeply into this, I'm drawing heavily on memory and an incomplete prior review of the Desktop chunking code).

This is mostly a disclaimer to take my speculation about differences in behavior with a grain of salt for now. :-)

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.