Hi Shady

Here is a tip or two regarding an effective (and cheap) hosting mechanism:

http://rackspacecloud.com.
Get their 256 MB linux (Centos 5.4) VPS.
$10.95 / month.

Lock it down (iptables, etc...)

Install the IUS repo from http://iuscommunity.org/
Install the EPEL repo.

Then using "yum", install your favorite python version (eg. python26 or
python31), and mod_wsgi, and mysql51, and httpd, nginx, and etc...

A bit of configuration at that point, and you have a lean, mean, screaming
(cheap) machine.

On localhost, I report > 3,000 requests per second on a similar setup.
 Across the net, maybe 250 per second.  In either case, if you write your
app decently, you can scale up quite a ways with a little machine like that.
 With MySQL/PostgreSQL queries on every page, we still get hundreds per
second.

Anyway, I suggest you use linux, (centos in particular) because of the
relative package stability.  IUS brings more up-to-date packages without any
effort

Just my $0.02 from having learned this about a year ago, quite similar to
where you are at.

JG


On Wed, Jun 9, 2010 at 8:55 PM, Graham Dumpleton <[email protected]
> wrote:

> On 9 June 2010 22:39, Shady <[email protected]> wrote:
> > Thanks for the help Deron And Graham. My website is mostly dynamic,
> > but I've managed so far without a framework so I think I'll keep it
> > that way.
> >
> > I've managed to successfully port over one of my scripts which uses
> > URL parameters and I've decided to use 'print >> output,' as all I
> > need to do is use the 'Replace' tool in the editor. Easy as pie. It's
> > almost guaranteed now that I'll jump on the mod_wsgi bandwagon but
> > first I need a host (Linode sounds pretty good).
> >
> > Just one final question: does mod_wsgi run better on Linux or a
> > Windows server? I ask because either I go for something like Linode on
> > their cheapest Linux plan ($240 a year) or pay for a slightly more
> > expensive Windows VPS with my brother (he loves ASP.NET) where
> > together we can afford a stronger server for around $350-$450 a year.
> >
> > Once again, thank you both for the support!
>
> I am quite biased against Windows but in general would say that
> Windows is not as a good a hosting platform for complex Python web
> applications. If you are only running only simple stuff however and
> are more comfortable with Windows than UNIX systems, it may be more
> than adequate for you.
>
> Do be aware that on Windows you do loose out on certain features in
> mod_wsgi which are only available in mod_wsgi daemon mode on UNIX
> systems. Whether that will be an issue I cant say as depends on what
> your scripts are doing.
>
> BTW, how many separate scripts do you have? I ask because by default
> in configuration you are running, each will be given a separate sub
> interpreter within the process. If you have lots of scripts that will
> take more and more memory. It may be appropriate to force them to all
> run in same sub interpreter, but then you need to make sure your
> scripts can happily coexist within same interpreter memory space.
>
> Graham
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<modwsgi%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to