Hardware requirements for Ruby on Rails application


(Cédric) #1

Hi,

To host RoR application, what do i need in memory/cpu/storage ?
Does a VPS with 2GB MEMORY/ 2cpu 3.0 GHz / 30 GB storage enough ?

In the way running nginx+unicorn+postgresql

Thank's!

Cédric.


(Feña Agar) #2

Depends on the application, more details about what it does and how would
be better.

···

On 26. April 2018 at 14:07:35, Cédric (ruby@e-solutions.re) wrote:

Hi,

To host RoR application, what do i need in memory/cpu/storage ?
Does a VPS with 2GB MEMORY/ 2cpu 3.0 GHz / 30 GB storage enough ?

In the way running nginx+unicorn+postgresql

Thank's!

Cédric.


(Hassan Schroeder) #3

Nobody can answer that.

Deploy your application, load test and benchmark it. Using a cloud
provider is a good way to try different configurations to find optimal
settings.

FWIW,

···

On Thu, Apr 26, 2018 at 5:07 AM, Cédric <ruby@e-solutions.re> wrote:

To host RoR application, what do i need in memory/cpu/storage ?
Does a VPS with 2GB MEMORY/ 2cpu 3.0 GHz / 30 GB storage enough ?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote


(Alexander) #4

It depends on your app. What kind of traffic you get, What service you
provide, How complex the overall app is, etc.
A blog, a social media app, an image manipulation app and a video editing
app all have different requirements. You can try launch it with the bare
minimum and scale up or go overkill and scale down.

···

On Thu, Apr 26, 2018 at 4:39 PM, Hassan Schroeder < hassan.schroeder@gmail.com> wrote:

On Thu, Apr 26, 2018 at 5:07 AM, Cédric <ruby@e-solutions.re> wrote:

> To host RoR application, what do i need in memory/cpu/storage ?
> Does a VPS with 2GB MEMORY/ 2cpu 3.0 GHz / 30 GB storage enough ?

Nobody can answer that.

Deploy your application, load test and benchmark it. Using a cloud
provider is a good way to try different configurations to find optimal
settings.

FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>


(Eugeniu T.) #5

HI,
If you just read some old posts talking about bad rails performance...
forget it.
Performance is very good for rails and ruby 2,5.
Give me more info about you app and i can try to help you to calculate
aprox numbers in normal rails app.
But normaly there is 0 problems now.

BR.

···

2018-04-26 14:07 GMT+02:00 Cédric <ruby@e-solutions.re>:

Hi,

To host RoR application, what do i need in memory/cpu/storage ?
Does a VPS with 2GB MEMORY/ 2cpu 3.0 GHz / 30 GB storage enough ?

In the way running nginx+unicorn+postgresql

Thank's!

Cédric.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>


(Peter Hickman) #6

We are hosting some smaller (B2B) apps on hardware like that - some times
even smaller. So there is no reason that that configuration would not be
able to cope as a basic Rails web site​