503 - temporarily unavailable due to excessive load
-
@pichalite said in 503 - temporarily unavailable due to excessive load:
I think you should at least get more memory. based on your stats... at 400+ posts a day you will need more memory to keep using redis as it's more of a in-memory database.
Is 1 GB enough? I can't find a rule of thumb kind of guide for x posts -> y memory.
Is it worth switching to MongoDB over redis? I've been poking around and apparently Mongo is what people seem to prefer here.
-
@teh_g I don't have any stats to show how much memory is required for x number of posts. I would say increase the memory to 1 GB. Keep monitoring memory usage and make changes accordingly.
Is it worth switching to MongoDB over redis?
I am not an expert on that but people do seem to prefer mongo here.
-
@pichalite said in 503 - temporarily unavailable due to excessive load:
I am not an expert on that but people do seem to prefer mongo here.
Hmm, I may look into switching in the future. I don't expect too much more traffic. Worst comes to worst, I will have to do a transfer from redis to mongo
-
@teh_g said in 503 - temporarily unavailable due to excessive load:
@rod said in 503 - temporarily unavailable due to excessive load:
Have you made adjustments to the defaults at
ACP > Settings > Advanced > Traffic Management
?I have not made changes there. I am all for increasing those values to prevent the messages, but I want to make sure a better route isn't to just scale up the hardware.
We use 6 cores, 8GB and all SSD with Linode (which is a bit faster per core than DO) and we still get the 503 as well. Posts are not a great indicator of load. We get the 503 based on heavy read traffic, not post rate.
-
@teh_g said in 503 - temporarily unavailable due to excessive load:
@pichalite said in 503 - temporarily unavailable due to excessive load:
I think you should at least get more memory. based on your stats... at 400+ posts a day you will need more memory to keep using redis as it's more of a in-memory database.
Is 1 GB enough? I can't find a rule of thumb kind of guide for x posts -> y memory.
Is it worth switching to MongoDB over redis? I've been poking around and apparently Mongo is what people seem to prefer here.
1GB is not enough. I would get to 1.5GB minimum. And yes, Mongo is great. We use Mongo for scalability. It's been great.
-
@scottalanmiller said in 503 - temporarily unavailable due to excessive load:
1GB is not enough. I would get to 1.5GB minimum. And yes, Mongo is great. We use Mongo for scalability. It's been great.
Interesting. I would love if we made a "community guideline" for a rough estimation of memory to activity ratio.
@scottalanmiller said in 503 - temporarily unavailable due to excessive load:
We use 6 cores, 8GB and all SSD with Linode (which is a bit faster per core than DO) and we still get the 503 as well. Posts are not a great indicator of load. We get the 503 based on heavy read traffic, not post rate.
What is your load like? I am at about 11k page views a day. For Mongo, I will have to look into getting nodeBB to make the migration for me, since it seems they own the migration script.
-
@teh_g said in 503 - temporarily unavailable due to excessive load:
@scottalanmiller said in 503 - temporarily unavailable due to excessive load:
1GB is not enough. I would get to 1.5GB minimum. And yes, Mongo is great. We use Mongo for scalability. It's been great.
Interesting. I would love if we made a "community guideline" for a rough estimation of memory to activity ratio.
Well here is what I know..... 2 million page loads / 180 million hits per month is using about 5.5GB with cache and buffers included.
-
@teh_g said in 503 - temporarily unavailable due to excessive load:
What is your load like? I am at about 11k page views a day. For Mongo, I will have to look into getting nodeBB to make the migration for me, since it seems they own the migration script.
NodeBB reports two million views per month.
CloudFlare in front of NodeBB reports 180 million requests per month with a huge cache hit success rate. So only about half make it to the server at all. The CF number climbed from 10 million to 180 million with little to no impact on the NodeBB reporting numbers (they actually decreased, not increased.)
We run 500 - 600 posts per day.
-
So our daily views (as reported by NodeBB) is 32K - 98K.
-
@scottalanmiller said in 503 - temporarily unavailable due to excessive load:
So our daily views (as reported by NodeBB) is 32K - 98K.
It sounds like I should be a little amazed that 512 MB of memory works...
I'll have to scale up my Digital Ocean tonight...