Question

What droplet do you recommend to me? I really need help!

I’m creating a giveaway website and want to know that droplet do you recommend to me. I really don’t know anymore what to do after 2 failed attempts. I need to run the website without receive the “508 Resource Limit Reached” or something like this. The traffic isn’t too high at the beginning, but I really want to hang the server up for at least between 500 and 1000 users online simultaneously.

On my first attempt, I created a $5 droplet and created my website. Conclusion: I got the the “508 Resource Limit Reached” error with less than 100 users online at the same time (between 30 and 50 to be more exact). I know that a $5 is a ordinary value and wouldn’t hang a lot of users, but I was surprised when the site went down with so few users. Well, after this, I decided to close the droplet and migrate to something with a better cost benefit. After a lot of searching, I found the hoster FastComet. I saw very good reviews for his services, mainly with Wordpress… I was wrong. Was the worst thing that I did on the last months. I literally ripped $26.

When I searched, I saw that the his specifications were higher than from the $10 droplet, and decided to hire it. BUT… I forgot a simple detail: they work as a shared hosting. It broke me down. I launched the website and got the same error than before… but this time with a help of the support, I saw that the problem was caused by a plugin, and not the server itself. So I had to rework the website without this plugin and today, launched it, I didn’t got anymore the error (The site literally stopped to work until the support make a backup), but I had the same problem of Resource Limit Reached. They gave me 60 Number of Processes and 30 Entry Processes. It increased so fast that when the site reached 50 users online, I got the “Resource Limit Reached” error. Until the users leave the site, and the Processes decreased. I never used a shared host before, and don’t know if this really is normal or if this hosting is a sh**t. But was the cheapest for a beginning for me. I haven’t so much money for a GoDaddy or other shared hosting and don’t know/have experience to judge what host is better.

Well, now that I know that a plugin caused all that problem with my droplet and shared host at the beginning, I want to know if it will fit with what I want. Between 500 and 1000 users online simultaneously. Or if I will need a better droplet, of $10 or even $20. Because in less than 1 week I had the worst service ever on my life and never gotta go back to a shared host.

Please, give me suggestions. Remembering that I’m newbie too, so I don’t know so much things about it. I’m just learning.

If you want more specifications or informations or the plugins that I’m using, just ask me. I need so much of a good and clean answer for it.

Subscribe
Share

My website will work basically as two ways: First- A simple blog and Second- Giveaways of games, what call a lot of users at same time. They will have to do some tasks to unlock the key-code. This tasks was written in JS where you have to click on one button/link to unlock another one. Now imagine 1000 users doing this. Do you think that it’ll use a lot of memory?

Also, has anyway to dribble the excess memory used? Because I read about something called “Swap” that can do it.

And finally: thanks for the suggestion. Of course that at the beginning I’ll not have 1000 users at the same time using the site, but I don’t want that merely 50 users explode the server down. So in the case of at a maximum of 200 users, a $5 can hang it, or I’ll have to use a $10 for now? And I can expand the droplet later without any damage on my files/db? Starting with $5/10, expanding to $20 and so going on?

Another option I thought of after I submitted my first comment is to employ a Content Delivery Network (CDN) to attempt to alleviate some of the traffic slamming your server. An example would be Cloudflare. What would happen is instead of visitors banging on your physical server, they’d instead be hitting caching servers closer to your visitor’s physical location, which could actually give them a better experience since they’d likely be served pages faster.

You could try a $20 droplet but with an estimated max workload of 1000 concurrent users, I think you’ll far exceed the capacity of that sized server. I think you want to look at something more along the lines of 8 GB memory minimum. You said something about Wordpress, so there are some caching plugins you can use to help take off some of the load on the DB side of things.

Think of it this way: each concurrent user will use at least one process. Each process will consume some of your server’s resources (namely memory and CPU). You need to have enough resources to handle what you think your maximum process threshold might be (1k concurrent users or about 1k processes).


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@kaioc Just creating a new thread, since it was getting a little narrow.

You need to make sure that most people are getting the static cache file and that no requests are made to WordPress.

I would always recommend setting up your own server manually - specially when you need to be able to serve the amount of requests per second as you’ve listed.

Nginx could be a replacement for Apache, since it’s faster and uses less resources. MariaDB is a drop-in-replacement of MySQL, I find it better and not controlled by Oracle. phpMyAdmin is a tool, not a service, but I would recommend https://www.adminer.org/

To begin with, just configure it, so it works. Then you need to tweak a lot of configurations to be able to handle the number of requests per second as you want. It’s really hard to pin-point specific settings without knowing the full setup - and that’s usually something you pay big money for, or host everything on a scalable platform like Google Cloud or Amazon AWS, which will be quite expensive if using a lot of resources.

Hi @kaioc

It sounds like you’ve been on an adventure - but not a fun one.

First, I would normally say that it’s difficult to run WordPress on a $5 droplet. Upgrade the droplet to $10, since you’re going to run out of RAM, which will crash your database.

Is the Giveaways part of your site just a simple, static HTML+CSS+JS file? If yes, then you should be able to host 1000 concurrent connections on a $10 droplet easily. But if it involves database queries or other dynamic content (like being a part of WordPress), then the amount of concurrent connections will be limited drastically and I would highly recommend that you use some type of cache.

You can resize the droplet up without any impact to database/etc. If you want to be able to resize down, then make sure you only resized CPU+RAM only, since it’s not possible to scale disk size down without the possibility of losing data. Do not touch SWAP - unless you really know what you’re doing and only using it avoid spikes, then I would recommend that you just buy a bigger droplet.

But I think your problem relates more to configuration and tuning of the services (web server, database, etc). Just adding more CPU+RAM does not change any configurations, which means that most of the services won’t take advantage of the extra resources.

Which services (web server, database, etc) are you using and which versions? Have you tweaked any of the configurations or did you just install-and-run? Also, how are you currently measuring “users online simultaneously”?