Comments (3)
ok this is intresting.
just did my own experiment and indeed increasing those values does speed up the upload!
in theory we can also increase the file download too! so ill look into that
i found setting the value to 65565
is better than 0x100000
because 0x100000
is 1,048,576, and you have to remember this is on the handlebar files which is client side!
so the bigger the buffer the more memory the client side would need in there browser!
but yes indeed just increasing from 16384
to 65565
does make a difference so nice catch!
from meshcentral.
Thanks Simon, that is a significant improvement!
I will say, 1,048,576 is still only 1MB, and by my testing meshcentral itself already takes up ~200MB on the user's device. Since the buffer gets discarded immediately after use and cleaned up by the garbage collector shortly afterward, I don't think that .5% increase during an upload operation should be too much of a burden, and it is much faster. I tried uploading a 10GB file with the 1MB block size and didn't see any noticeable jump in memory usage over the old 16k.
Admittedly, though, that's hardly an exhaustive test, and there could be edge cases I'm missing, hence the deference, just something to think on. Super happy to just have the 65k, though!
from meshcentral.
For my testing, i used my pi zero w (on wifi too) and uploaded a 58mb file. Originally, it took about 10 minutes, but after changing it to the 65565, it only took 3 minutes! Which is a big improvement!
from meshcentral.
Related Issues (20)
- Add Device to Multiple Device Groups HOT 2
- Thermal Alarm - Notification/Email
- MeshCentral ignores meshcentral-web folder HOT 5
- Sorting active rdp sessions upon connection HOT 10
- Docker - Build config.json from Environment Variables at runtime HOT 1
- Star is in my Devices List view in front of the Device Description HOT 9
- RAM leak to the MeshCentral server HOT 29
- Network adapters without IP addresses are not included in networking list HOT 8
- Event filter in 'My Events' does not work for new events
- only working in local network? HOT 2
- Windows installer "MeshCentralInstaller.exe" don´t work for V 1.1.24 HOT 24
- Regression: AMT Agent connectivity not working in v1.1.24, last known working in v1.1.20 HOT 25
- Add a theme switcher (CSS) and perhaps an icon switcher?
- Move to a GitHub community organization
- Changing filter category menu refills the value in the filter field HOT 5
- Entra ID (Azure AD) auth not working - internal server error HOT 4
- Web chat is not available on agent port and will not function if admin / agent ports are segregated.
- AuthLog: Log unauthorized agent connections, not just connections to the WebUI
- Right click no longer works in Microsoft Edge Version 126.0.2592.87 (Official build) (64-bit) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshcentral.