I’m trying to get an idea of how Next Cloud will scale.
What type of specs would I need for this
25 gb of disk space
200,000 user accounts
1,000 active users at a time
mostly just downloads, not much file upload or writing.
Primarily all users using web dav
Can you recommend a host provider that would be best for this?
Also, with 1000 active logged in users doesnt mean they will use much bandwidth and server resources. It depends what they are doing. All 1000 at the same time downloading a file? All at the same time browsing/clicking around in the nextcloud ?
[quote=“Poisony, post:6, topic:7136”]
All 1000 at the same time downloading a file? All at the same time browsing/clicking around in the nextcloud ?
[/quote]A mixture of both.
yes 25gb total. There will not be a lot of uploading and over half the users will probably never log in but they will have accounts. I’m not worried about storage or bandwidth. Just slow performance from 1000 users browsing, sharing, downloading over a 15 minute period.
Has anyone compared the performance of a standard shared host like Hostgator, 1nad1, DreamHost to a specialized NextCloud host like these https://nextcloud.com/providers/ ?
Thats quite some traffic: 2000 users with 50 MB per hour would be about 200 Mbit/s.
I don’t know any of these providers but most of them provide packages for “normal” usage (with such usage you won’t be their client for a long time). This is a very specific case and probably needs a specific configuration and you probably need your own dedicated server(s). If you only want to provide files for download, it’s possible that the apache-webdav module is more performant (as you don’t need all the database stuff, php and so on). Backup & restore or setting up a mirror is much easier.
A server with Gbit network and some TB of traffic…
A dedicated server is cost prohibitive or at least border line prohibitive.
apache webdav does what I need but web-dav clients aren’t reliable enough. I would be swamped with support tickets.
The Next Cloud client doesn’t do exactly what I need, so I would have to make some edits. I wanted to know a shared host could handle it before I start creating my add on.
I have an existing site that is similar. It has 500 active users over 15 minutes on a shared host. There is NOT DAV or Next Cloud - everything just goes through PHP and the browser. It doesn’t have resource problems. I just don’t know the shared host would handle it with growing traffic plus added overhead of Next Cloud.
Maybe a better way to phrase the question is how does Next Cloud compare to something like WordPress or Joomla or similar, as far as server resources?
Shared host is not a fix definition, they run a lot of different environments, so it really depends on the provider. For your usage, it would be good to have a server that supports APCU and redis for caching. If no one can give you specific numbers which can be related to your use case, you could set up a virtual server at your place, make an install and simulate the 1000 downloads in 15 min and check the load. I had a test setup where I did some upload tests, perhaps I can do it the other way round as well. Would just need to create this number of users. Are you authenticating against LDAP?
I just checked and I can’t use the old test session any more. I would need to set up a new one. Such tests would only help you, if you want to know how to scale your virtual or dedicated server. For conclusions on webhosting packages, their environments are too diverse to make any conclusions. You can probably do this tests yourself. Just set up a small Linux image of your favorite distribution and then install Nextcloud. First in the standard settings. Then you can perhaps improve by using nginx instead of apache, tune your database, perhaps put everything into RAMdisk, … It depends how far you want to go.
If you want to distribute a lot of data at very little cost, did you consider using syncthing?