Git Product home page Git Product logo

Comments (10)

kyrofa avatar kyrofa commented on June 12, 2024 1

Yeah, it makes sense that we'd be using redis given our start on the Nextcloud box. However, while I agree with @scubamuc that continuing to support such users is important, I just checked the metrics this morning: literally 95% of our users are amd64. If this would enhance performance for those users, it might be worth investigating as long as we can figure out a way for it to not hurt the other 5%.

from nextcloud-snap.

scubamuc avatar scubamuc commented on June 12, 2024

@pachulo we have a large user base running "limited memory" devices (SBC's) so this should definitely be optional.

I haven't found any real benchmarks or anything, just that it should be faster but consume more RAM, but as it is also the official recommendation, I just wanted to understand better why we use Redis instead.

According to the recommendation, it could increase performance on "enhanced memory" machines. That would be desirable.

from nextcloud-snap.

pachulo avatar pachulo commented on June 12, 2024

OK, I found more information:

Could we configure this based on available RAM?🤔

P.D.
Should we also look to move to NGINX based on this comment @kyrofa ? 😝

from nextcloud-snap.

kyrofa avatar kyrofa commented on June 12, 2024

Should we also look to move to NGINX based on this comment @kyrofa ? 😝

No, only Apache is supported:

Please note that webservers other than Apache 2.x are not officially supported.

That's the reason we went this direction in the first place. NGINX is definitely lighter-weight. That's one of the reasons we've been so careful about not opening up Apache configs: we can switch to NGINX in the future with no one being the wiser if we feel it necessary/worthwhile.

from nextcloud-snap.

scubamuc avatar scubamuc commented on June 12, 2024

checked the metrics this morning: literally 95% of our users are amd64

Only 5% running "limited memory" devices (SBC's), interesting...

we have a large user base running "limited memory" devices (SBC's)

I would be remiss if I hadn't mentioned these users?

from nextcloud-snap.

pachulo avatar pachulo commented on June 12, 2024

@pachulo we have a large user base running "limited memory" devices (SBC's) so this should definitely be optional.

I'm one of such users, so I can't agree more! 😄

Could we configure this based on available RAM?🤔

What do you think would make more sense @kyrofa :

  1. to make it an autoconfig, depending on the amount of RAM?;
  2. or to create a manual knob?

from nextcloud-snap.

alfi4000 avatar alfi4000 commented on June 12, 2024

Um I am a bit confused I am totally unfamiliar with those stuff so is there a way to tune the server performance because I have 256gb ram 24 core but I had closely a crash on my device that was accessing the Nextcloud instance that is on the high performance server it were looking for me that the access device loads the hole stuff not the server where Nextcloud were running on especially when I uploaded 361 images at once my device from where I was uploading were stuck for 20sec! That was mind blowing for me ! :/
Is there something misconfigured on my instance or what is there going on any advice what I can do to improve the performance I have currently 400gb storage in Use and plan to add 1.5tb of data!

from nextcloud-snap.

alfi4000 avatar alfi4000 commented on June 12, 2024

Any advice would be great! :)

from nextcloud-snap.

scubamuc avatar scubamuc commented on June 12, 2024

@alfi4000, you have a powerful machine by the sounds of it...

this PR is a development discussion and is not the right PR for your issue... I guess. @pachulo is considering some default memory cache changes for the Snap.

as far as your performance issues are concerned, its not as simple as tuning here or there... you'd have to study your system logs and performance monitors carefully to pinpoint the bottleneck. That's admin stuff and not necessarily a Nextcloud snap issue. there may be some knobs to turn if we knew more about your system. but we're trying to make Nextcloud snap work for everyone "out of the box". So we're more concerned with stability than performance... especially since we don't know what device is being used.

basically advice for system tuning your machine would be going way beyond what we're trying to do here... also this PR would be wrong for questions about your device. So I'd suggest you make a new PR with your performance issue.

from nextcloud-snap.

alfi4000 avatar alfi4000 commented on June 12, 2024

Ok

from nextcloud-snap.

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.