I''m looking for a virtual private server to run a RoR site accessing a database on a different machine. This is a small application - basically a form to add records, and a few summary screens. What are the minimal requirements for a vps? Thanks. -- Posted via http://www.ruby-forum.com/.
I''m running on a 160MB VPS with Rimuhosting.com that''s pushing a 500,000 record database on the same machine, and it''s quite responsive. Since your DB is on a different machine, I would think that you wouldn''t need as much memory as that. It''s more a function of how much traffic you expect the site to handle, I suppose. I''m going to get a VPS for a personal site that''s quite a bit simpler, and I''m planning on getting a 96MB VPS from Rimu for that. And just to prop Rimuhosting, they''ve had excellent support (even when I managed to put in an rc.d script that froze the system during boot). I highly recommend them. Matt On 3/6/06, Nagita Ka <nagita.k@gmail.com> wrote:> > I''m looking for a virtual private server to run a RoR site accessing a > database on a different machine. > > This is a small application - basically a form to add records, and a few > summary screens. > > What are the minimal requirements for a vps? > > Thanks. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060306/0242899a/attachment.html
I second Rimu. I''m talking back and forth with Peter about my VPS in almost real-time. These guys are great. - Rabbit --- On 3/6/06, Matt White <stockliasteroid@gmail.com> wrote:> I''m running on a 160MB VPS with Rimuhosting.com that''s pushing a 500,000 > record database on the same machine, and it''s quite responsive. Since your > DB is on a different machine, I would think that you wouldn''t need as much > memory as that. It''s more a function of how much traffic you expect the site > to handle, I suppose. I''m going to get a VPS for a personal site that''s > quite a bit simpler, and I''m planning on getting a 96MB VPS from Rimu for > that. > > And just to prop Rimuhosting, they''ve had excellent support (even when I > managed to put in an rc.d script that froze the system during boot). I > highly recommend them. > > Matt > > > On 3/6/06, Nagita Ka <nagita.k@gmail.com> wrote: > > I''m looking for a virtual private server to run a RoR site accessing a > > database on a different machine. > > > > This is a small application - basically a form to add records, and a few > > summary screens. > > > > What are the minimal requirements for a vps? > > > > Thanks. > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
I third Rimu. I''m no Linux master so I''ve made a few small mistakes setting up things and they''ve been quite helpful fixing my mistakes. I''m running the 96MB VPS for my personal site and a few subversion repositories. Eric Rabbit wrote:> I second Rimu. I''m talking back and forth with Peter about my VPS in > almost real-time. These guys are great. > > - Rabbit > > --- > > On 3/6/06, Matt White <stockliasteroid@gmail.com> wrote: > >> I''m running on a 160MB VPS with Rimuhosting.com that''s pushing a 500,000 >> record database on the same machine, and it''s quite responsive. Since your >> DB is on a different machine, I would think that you wouldn''t need as much >> memory as that. It''s more a function of how much traffic you expect the site >> to handle, I suppose. I''m going to get a VPS for a personal site that''s >> quite a bit simpler, and I''m planning on getting a 96MB VPS from Rimu for >> that. >> >> And just to prop Rimuhosting, they''ve had excellent support (even when I >> managed to put in an rc.d script that froze the system during boot). I >> highly recommend them. >> >> Matt >> >> >> On 3/6/06, Nagita Ka <nagita.k@gmail.com> wrote: >> >>> I''m looking for a virtual private server to run a RoR site accessing a >>> database on a different machine. >>> >>> This is a small application - basically a form to add records, and a few >>> summary screens. >>> >>> What are the minimal requirements for a vps? >>> >>> Thanks. >>> >>> -- >>> Posted via http://www.ruby-forum.com/. >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >> > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Eric Goodwin http://www.ericgoodwin.com
Rimu is great for vps type servers. They are very helpful and responsive. They are the best Xen based VPS provider I have tried out of close to 5 others. So yeah they rock. -Ezra On Mar 6, 2006, at 2:41 PM, Eric Goodwin wrote:> I third Rimu. I''m no Linux master so I''ve made a few small mistakes > setting up things and they''ve been quite helpful fixing my mistakes. > I''m running the 96MB VPS for my personal site and a few subversion > repositories. > Eric > > Rabbit wrote: >> I second Rimu. I''m talking back and forth with Peter about my VPS in >> almost real-time. These guys are great. >> >> - Rabbit >> >> --- >> >> On 3/6/06, Matt White <stockliasteroid@gmail.com> wrote: >> >>> I''m running on a 160MB VPS with Rimuhosting.com that''s pushing a >>> 500,000 >>> record database on the same machine, and it''s quite responsive. >>> Since your >>> DB is on a different machine, I would think that you wouldn''t >>> need as much >>> memory as that. It''s more a function of how much traffic you >>> expect the site >>> to handle, I suppose. I''m going to get a VPS for a personal site >>> that''s >>> quite a bit simpler, and I''m planning on getting a 96MB VPS from >>> Rimu for >>> that. >>> >>> And just to prop Rimuhosting, they''ve had excellent support (even >>> when I >>> managed to put in an rc.d script that froze the system during >>> boot). I >>> highly recommend them. >>> >>> Matt >>> >>> >>> On 3/6/06, Nagita Ka <nagita.k@gmail.com> wrote: >>> >>>> I''m looking for a virtual private server to run a RoR site >>>> accessing a >>>> database on a different machine. >>>> >>>> This is a small application - basically a form to add records, >>>> and a few >>>> summary screens. >>>> >>>> What are the minimal requirements for a vps? >>>> >>>> Thanks. >>>> >>>> -- >>>> Posted via http://www.ruby-forum.com/. >>>> _______________________________________________ >>>> Rails mailing list >>>> Rails@lists.rubyonrails.org >>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>> >>>> >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >>> >>> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > -- > > Eric Goodwin > http://www.ericgoodwin.com > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
Matt White wrote:> I''m running on a 160MB VPS with Rimuhosting.com that''s pushing a 500,000 > record database on the same machine, and it''s quite responsive. Since > yourHi Matt, Can you tell me what are your memory allocations for Postgres? How much ram do you give to postgres? Can you put your whole DB in Ram? I was told that putting a Postgres DB on a VPS (which does not have a true filesystem) will be slow unless you have a lot of ram to allocate to your DB. I''m just checking if this is really the case. Thanks, Nagita -- Posted via http://www.ruby-forum.com/.
On Mar 6, 2006, at 3:33 PM, Nagita Ka wrote:> Matt White wrote: >> I''m running on a 160MB VPS with Rimuhosting.com that''s pushing a >> 500,000 >> record database on the same machine, and it''s quite responsive. Since >> your > > Hi Matt, > > Can you tell me what are your memory allocations for Postgres? How > much > ram do you give to postgres? > > Can you put your whole DB in Ram? > > I was told that putting a Postgres DB on a VPS (which does not have a > true filesystem) will be slow unless you have a lot of ram to allocate > to your DB. I''m just checking if this is really the case. > > Thanks, > Nagita > >If you make sure that the VPS you use is running the Xen VM software then this is less of a concern. With Xen being a linux kernel module the VPS''s can get almost direct filesystem access speeds. With other virtual technologies the filesystem access is horrible. Cheers- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
Nagita Ka wrote:> I''m looking for a virtual private server to run a RoR site accessing a > database on a different machine. > > This is a small application - basically a form to add records, and a few > summary screens. > > What are the minimal requirements for a vps? > > Thanks.Memory is a good starting point for determining minimal requirements. If you are not running a database on the VPS, then the amount of RAM you need is ultimately determined by how many processes (fcgi/mongrel) you need. A Rails process typically requires ~25mb in "production" mode (YMMV). If you use script/process/spinner, then add room for another process. Then add some padding for lighttpd, syslogd, cron, sshd, and any service monitoring like supervise. Finally, be sure to disable any running services that you don''t need that might be installed by default. If you want a real number, start with 96mb and grow from there. For reference, our servers with 256mb are comfortably running lighty, mysql, and 3 applications with 2 fcgi processes each. I''m also looking at configurations involving pgsql, sqlite, and mongrel, but don''t have good numbers just yet. Good luck! Bradley Taylor ----- Rails Machine Simplified web application deployment http://railsmachine.com -- Posted via http://www.ruby-forum.com/.
2006/3/6, bradley taylor <bradley@railsmachine.com>:> If you want a real number, start with 96mb and grow from there. For > reference, our servers with 256mb are comfortably running lighty, mysql, > and 3 applications with 2 fcgi processes each. I''m also looking at > configurations involving pgsql, sqlite, and mongrel, but don''t have good > numbers just yet.For another data point, I am running the following: 128 Mb Running Lighttpd, MySQL 5, supervise, 4 Rails applications on SCGI. I''m very thight on RAM, but that is partially caused by requiring that MySQL run with InnoDB. If you don''t need it, just disable it. That''ll save you loads of RAM. I usually end up with 12 Mb RAM and 8 MB swap free. I should really upgrade to 160 Mb soon. Bye ! -- Fran?ois Beausoleil http://blog.teksol.info/