Forem Creators and Builders 🌱

Discussion on: Resources Required for Forem?

Collapse
 
ben profile image
Ben Halpern

I think we're running about .5GB of RAM per instance on PUMA, so we have a WEB_CONCURRENCY of 16 right now and averaging 7-8 GB of Dyno load. I imagine this is the most "day 1"-intensive metric. We have a big ole database, but I imagine we could go smaller and of course other communities could too.

@jdoss , @molly_struve want to weigh in?

Collapse
 
molly profile image
Molly Struve (she/her)

Also important to keep in mind that dev.to is heavily using Fastly for edge caching so many of our hits never even have to hit our servers.

Collapse
 
rcarlson profile image
rcarlson

Do you have to do anything special on Heroku to get this to work for smaller instances scaled out? We've run into memory issues with anything less than Performance M dynos (2.5 gb per instance). So right now we are running a single 2.5gb instance.

Our usage is also pretty light, maybe 20 concurrent users at a time (usually 2-3)

Collapse
 
molly profile image
Molly Struve (she/her)

YES!!! We cut our memory usage in half by switching to jemalloc. You can read about it on dev.to πŸ‘‰ dev.to/devteam/how-we-decreased-ou...

Thread Thread
 
rcarlson profile image
rcarlson

Thanks for sharing this, we will give it a try tonight. We are also using fastly, which is why I was shocked at the base memory requirements for the application.