LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-28-2010, 12:28 PM   #1
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Rep: Reputation: 18
I need suggestion regarding a VPS purchase


I am a student and a hobby web developer,
I am developing a public portal and hence i need a VPS(Virtual Private Server) for good performance.
I have some doubts in VPS purchase.
i am planning to buy a VPS, conf:

Quote:
Offer 1
256MB RAM Guaranteed + 512MB Busted RAM + 10GB Disk Space + 1 dedicated IP
another offer from same web hosting company

Quote:
Offer 2
512MB RAM Guaranteed + 1GB Busted RAM + 15GB Disk Space + 1 Dedicated IP
Both these offer vary a little like

Quote:
2 X (cost of offer 1) ~= Cost of offer 2
Now my question is as there is very little difference in two of the offers should i buy 2 offer1 VPS servers(so that i will get 2 Dedicated ips and 20 GB space with same memory cap.) or 1 offer2 VPS (with 1 dedicated IP + 15GB space with same memory cap.).

will there be any better performance be achieved if i buy two servers with same configuration rather than one single server with equal-ant conf.??

Will i face any major difficulty while hosting a site on multiple servers (My idea was i will host web-server and python script on 1 server and MySQL on other server so the load can be managed equally. Correct me if i am wrong)

thank you in advance

Last edited by sd||; 04-28-2010 at 12:34 PM. Reason: some mismach of text
 
Old 04-28-2010, 12:52 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
I would call those ram offerings a bit low for what you would want for mysql and http on a shared server. Have you looked at any other hosting providers? Linode? Rackspace? Is a vps necessary? have you looked at say serverpronto or layeredtech for a physical server?
 
Old 04-28-2010, 01:00 PM   #3
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Original Poster
Rep: Reputation: 18
Sir, i don't know what configuration could handle the website as i am new in it! please suggest me traffic-hardware ratio for a VPS. what are the other factors i should keep in mind and why exactly i buy / don't buy a VPS. As if i buy shared hosting then i could not control the RAM usage limits.
PS: I am programming in Django, so believe it will not consume system resources too much for each query.
 
Old 04-28-2010, 02:55 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Hardware to traffic ratio can very pretty greatly depending on the configuration of the http daemon and the scripts running on it. The more modules being loaded into each thread/child the more memory it takes up and the less you can run on a given amount of ram. The first thing to do would be determine the memory usage of each thread of your apache while running your website, from that you can extrapolate how many running threads you can handle and from that a number of clients you can handle given a specific amount of ram. It also matters how you're running python as either a cgi or mod_python... there are a lot of factors to look at, it might be worthwhile to pick up a small development vds, tweak it to the configuration you expect to use on your primary host and do some sizing and measurement from that.
 
Old 04-29-2010, 03:31 AM   #5
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Original Poster
Rep: Reputation: 18
Sir, i got it! A final question! is there any trouble or issues will i face if i use more than one VPS for hosting my site?
An how is it possible to use multiple servers more efficiently.? Optimised for speed and performance!
 
Old 04-29-2010, 09:59 AM   #6
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
If you're separating them by service-- say one runs apache and another mysql there is nothing really complex to setup or change except to make the daemons listen to the appropriate locations. If you're going to be running multiple instances of apache or a load balanced setup of some kind (and I'd recommend getting away from virtual machines before you do something like that) then things become a bit more complex but also notably faster. If you get to the point you need that stop back and we'll give you a hand
 
Old 05-16-2010, 07:33 AM   #7
vsurlan
Member
 
Registered: Jun 2004
Location: Zagreb, Croatia
Distribution: Debian Lenny
Posts: 49

Rep: Reputation: 15
If you are proficient in Linux and especially in Debian then you might benefit from my own story. I also started small as a solo web developer but my love for Linux drove me to get a dedicated box and try to run everything myself. I spent a lot of time figuring things out, but being able to outperform much better funded and larger competition with raw expertise was worth the hassle. You can read my full article on this experience along with a few pointer on how to do the same your self as well as the info on which company I leased the machine from: How to have a cheap dedicated web server.
 
Old 05-17-2010, 01:13 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Moved: This thread is more suitable in Linux-Server and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-17-2010, 03:11 AM   #9
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Original Poster
Rep: Reputation: 18
@jschiwal
thanks for moving this thread

@vsurlan
thank you for your valuable suggestion.. i am going through your blog entry.. will be heading towards purchase of my VPS in a week.
 
Old 05-17-2010, 03:20 AM   #10
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Original Poster
Rep: Reputation: 18
@vsurlan

this was a the best part, barely technical
Quote:
I basically did at first was to convert it to speak English, because at first it was speaking German.
 
  


Reply

Tags
vps



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TV Card Purchase? DaBlade Linux - Hardware 5 12-19-2005 09:54 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM
Purchase a Laptop kemplej Linux - Laptop and Netbook 2 01-29-2005 01:19 AM
Need to purchase a webcam.... lukasz4k Linux - Hardware 3 11-12-2004 01:56 AM
Knoppix purchase mrafwh Linux - Distributions 4 04-27-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration