I''ve been approved for a new Rails web server - any suggestions on hardware, OS & setup? Rob -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/56da4123-60b4-40b0-9daf-18fdb4700c47%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
I would suggest a Raspberry PI with a 8Gb SD card Of course that wont be of any use to you if your application requires to handle 100s of users and has constant database access. But then again WE ARE NOT PSYCHIC!!!!!! On 23 July 2013 13:37, Rob Daniels <r.daniels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve been approved for a new Rails web server - any suggestions on > hardware, OS & setup? > > Rob > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/56da4123-60b4-40b0-9daf-18fdb4700c47%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALxYQy4B0z%2BTy1xOzeSbf0rPD7EjdNExuQ7Aqn0zwPCqOUUiSQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Sorry - i guess i could be more descriptive. We''re producing E-Commerce web applications that we want scaleable up to hundreds of users. On Wednesday, July 24, 2013 4:46:14 AM UTC-4, Peter Hickman wrote:> > I would suggest a Raspberry PI with a 8Gb SD card > > Of course that wont be of any use to you if your application requires to > handle 100s of users and has constant database access. > > But then again WE ARE NOT PSYCHIC!!!!!! > > > > On 23 July 2013 13:37, Rob Daniels <r.da...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>wrote: > >> I''ve been approved for a new Rails web server - any suggestions on >> hardware, OS & setup? >> >> Rob >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-ta...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. >> To post to this group, send email to rubyonra...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:> >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/rubyonrails-talk/56da4123-60b4-40b0-9daf-18fdb4700c47%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dae1cd1e-5296-4a23-9998-8556831e8a32%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
There''s still a lot of missing information here. Your app could have a product delivery responsibility (say, watermarking PDF files) that causes it to have a larger memory/processor footprint than a basic CRUD app. Which commerce approach are you taking? What impact does SSL add? Are there any other apps on the same server? Walter On Jul 24, 2013, at 8:59 AM, Rob Daniels <r.daniels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry - i guess i could be more descriptive. We''re producing E-Commerce web applications that we want scaleable up to hundreds of users. > > > > > On Wednesday, July 24, 2013 4:46:14 AM UTC-4, Peter Hickman wrote: >> >> I would suggest a Raspberry PI with a 8Gb SD card >> >> Of course that wont be of any use to you if your application requires to handle 100s of users and has constant database access. >> >> But then again WE ARE NOT PSYCHIC!!!!!! >> >> >> >> On 23 July 2013 13:37, Rob Daniels <r.da...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> I''ve been approved for a new Rails web server - any suggestions on hardware, OS & setup? >>> >>> Rob >>> -- >>> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To post to this group, send email to rubyonra...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/56da4123-60b4-40b0-9daf-18fdb4700c47%40googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dae1cd1e-5296-4a23-9998-8556831e8a32%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/12ED6D86-C9DC-412A-874A-EF40A9A4A428%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.
Additionally what does "hundreds of users" mean? Hundreds of simultaneous users or hundreds of registered users who log in once a month. How big is your product catalogue? Do you have a lot of products or only a few? How important is search? A basic setup could be: 1) Nginx to receive the requests and serve up static assets 2) Varnish to get the requests from nginx and provide a level of caching on dynamic but non live information 3) Unicorn to receive the requests from varnish and pass it on to the Rails app If caching does not help you significantly then drop step 2 and nginx talks straight to unicorn For a database we go with PostgreSQL. Nothing special, it works. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALxYQy5pfNUa-cQSZnd_rWmpRH1b%2Bk7-qqmwEnbaGhPCaEXeGg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
On Jul 23, 2013, at 7:37 AM, Rob Daniels <r.daniels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve been approved for a new Rails web server - any suggestions on hardware, OS & setup?I would submit that this is not the sort of question for a mailing list. If you truly don''t know how to figure this out, gathering a bunch of stuff from random folks won''t help. Given all answers here are of "WE CAN''T TELL YOU" I''d suggest you hire someone to consult with you to help you figure it out. This is *not* a simple thing. DevOps is a not something to make hasty choices over. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/F2EC440A-A510-4071-B9F2-3E9CB0A01A31%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Sorry if I upset some members with this one.. i was just trying to find out some preferred server configurations. I''m still a Ruby noob.. coming from a PC background this questions wouldn''t have caused this kind of response in my known field. I have 2 small e-commerce websites hosted currently on Windows 2008 R2 server.. I was looking to port it over to something more Ruby-friendly. They are simple sites, maybe a couple hundred users per day. On Wednesday, July 24, 2013 7:52:48 PM UTC-4, tamouse wrote:> > On Jul 23, 2013, at 7:37 AM, Rob Daniels <r.da...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> > wrote: > > > I''ve been approved for a new Rails web server - any suggestions on > hardware, OS & setup? > > I would submit that this is not the sort of question for a mailing list. > If you truly don''t know how to figure this out, gathering a bunch of stuff > from random folks won''t help. Given all answers here are of "WE CAN''T TELL > YOU" I''d suggest you hire someone to consult with you to help you figure it > out. This is *not* a simple thing. DevOps is a not something to make hasty > choices over. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b335d3ce-8a37-49c9-88d3-0ea42f4228b3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
My preferred stack, without using jruby, is as follows. Webserver: nginx App servers: * puma * unicorn I guess there''s a lot more. Do you have any specific questions? ~Johnneylee On Jul 24, 2013 8:24 PM, "Rob Daniels" <r.daniels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry if I upset some members with this one.. i was just trying to find > out some preferred server configurations. I''m still a Ruby noob.. coming > from a PC background this questions wouldn''t have caused this kind of > response in my known field. I have 2 small e-commerce websites hosted > currently on Windows 2008 R2 server.. I was looking to port it over to > something more Ruby-friendly. They are simple sites, maybe a couple hundred > users per day. > > > > > > On Wednesday, July 24, 2013 7:52:48 PM UTC-4, tamouse wrote: > >> >> On Jul 23, 2013, at 7:37 AM, Rob Daniels <r.da...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> > I''ve been approved for a new Rails web server - any suggestions on >> hardware, OS & setup? >> >> I would submit that this is not the sort of question for a mailing list. >> If you truly don''t know how to figure this out, gathering a bunch of stuff >> from random folks won''t help. Given all answers here are of "WE CAN''T TELL >> YOU" I''d suggest you hire someone to consult with you to help you figure it >> out. This is *not* a simple thing. DevOps is a not something to make hasty >> choices over. >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/b335d3ce-8a37-49c9-88d3-0ea42f4228b3%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CANuxHDP4ui8uV9qVboXpzAEcLMZV%2BZrz1bfvfwzvuQZp8r%2BmAA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Thanks Spaceghost, I''m trying to get a feel for what is the ideal environment for my Ruby on Rails websites (I know it''s not Windows). I really have no experience with Ubantu or Debian or anything out of the Windows world, I was hoping to get some ideas about ideal environments so I could focus and learn about those before buying my first non-windows server. I guess my specific questions would be: 1. what is your preferred OS on the server for a Ruby on Rails ECommerce app 2. what webserver software do you prefer 3. what other technologies would you recommend I investigate I heard great things about unicorn, passenger and nginx - none of these technologies work well on Windows On Wednesday, July 24, 2013 11:55:41 PM UTC-4, Spaceghost wrote:> > My preferred stack, without using jruby, is as follows. > > Webserver: nginx > App servers: > * puma > * unicorn > > I guess there''s a lot more. Do you have any specific questions? > > ~Johnneylee > On Jul 24, 2013 8:24 PM, "Rob Daniels" <r.da...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> > wrote: > >> Sorry if I upset some members with this one.. i was just trying to find >> out some preferred server configurations. I''m still a Ruby noob.. coming >> from a PC background this questions wouldn''t have caused this kind of >> response in my known field. I have 2 small e-commerce websites hosted >> currently on Windows 2008 R2 server.. I was looking to port it over to >> something more Ruby-friendly. They are simple sites, maybe a couple hundred >> users per day. >> >> >> >> >> >> On Wednesday, July 24, 2013 7:52:48 PM UTC-4, tamouse wrote: >> >>> >>> On Jul 23, 2013, at 7:37 AM, Rob Daniels <r.da...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>> > I''ve been approved for a new Rails web server - any suggestions on >>> hardware, OS & setup? >>> >>> I would submit that this is not the sort of question for a mailing list. >>> If you truly don''t know how to figure this out, gathering a bunch of stuff >>> from random folks won''t help. Given all answers here are of "WE CAN''T TELL >>> YOU" I''d suggest you hire someone to consult with you to help you figure it >>> out. This is *not* a simple thing. DevOps is a not something to make hasty >>> choices over. >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-ta...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. >> To post to this group, send email to rubyonra...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:> >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/rubyonrails-talk/b335d3ce-8a37-49c9-88d3-0ea42f4228b3%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d80ae0b1-33af-4064-90d5-a7724be334e5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
You best bet might be to buy the book "Deploying Rails". I personally use nginx & unicorn (& postgresql & pgbouncer FYI), but that doesn''t really provide much info as to what *you* need. On Jul 25, 2013, at 11:49 AM, Rob Daniels <r.daniels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks Spaceghost, > I''m trying to get a feel for what is the ideal environment for my Ruby on Rails websites (I know it''s not Windows). I really have no experience with Ubantu or Debian or anything out of the Windows world, I was hoping to get some ideas about ideal environments so I could focus and learn about those before buying my first non-windows server. > > > I guess my specific questions would be: > > 1. what is your preferred OS on the server for a Ruby on Rails ECommerce app > 2. what webserver software do you prefer > 3. what other technologies would you recommend I investigate > > I heard great things about unicorn, passenger and nginx - none of these technologies work well on Windows-- Scott Ribe scott_ribe-ZCQMRMivIIdUL8GK/JU1Wg@public.gmane.org http://www.elevated-dev.com/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9C5217DE-6B3C-42BE-8F23-4B503FEB0FAB%40elevated-dev.com. For more options, visit https://groups.google.com/groups/opt_out.
On Thu, Jul 25, 2013 at 10:49 AM, Rob Daniels <r.daniels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m trying to get a feel for what is the ideal environment for my Ruby on > Rails websites (I know it''s not Windows). I really have no experience with > Ubantu or Debian or anything out of the Windows world, I was hoping to get > some ideas about ideal environments so I could focus and learn about those > before buying my first non-windows server.Uh, who''s going to be maintaining this? :-) Pretty much any *nix distro will do, but I''d think you would want the relevant devs and admins to jointly explore a few to decide which offers the easiest transition from Windows. Have everyone involved install VMs of e.g. Ubuntu, CentOS, etc., and play with them: use the package management system to install things you''ll need (database, web server, etc.); install from source without the package management system; practice doing Rails deployments in a sandbox environment. And so on. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yA4BZnXbby2Rewj%2Bk1ytdLkLHO3WA%2BRzNggvd3rRANm6g%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Hi Rob Daniels, My suggestion: Even I dont work for Amazon but i found best for large scale websites. Cloud Platform : Amazon EC2 , S3 for storage, cloud front for static content like assets delivery. and cloud watch Auto scale etc OS: I found Ubuntu 12.04 LTS best for me because you will get most updated packages for each software required to run basic OS level things. Web Server : Nginx latest version Application server : Unicorn (More Through put) On Tuesday, 23 July 2013 18:07:51 UTC+5:30, Rob Daniels wrote:> > I''ve been approved for a new Rails web server - any suggestions on > hardware, OS & setup? > > Rob >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/54690d2e-6a36-403a-9388-26ba4cbd87bc%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
thanks for the responses guys :) On Tuesday, July 23, 2013 8:37:51 AM UTC-4, Rob Daniels wrote:> I''ve been approved for a new Rails web server - any suggestions on > hardware, OS & setup? > > Rob >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/65eb97a4-60e5-43f3-8c0a-49272e6eb7dd%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.