Tuesday, April 2nd, 2013

Rethinking my hosting options...

I have recently deployed a new web application using Django, into my Rackspace Cloud server. This server doesn't seem to have enough resources to host as many apps as I currently have deployed. This is leading the uWSGI instance to throttle down lesser used instances. Since this new app is new, and there is currently not much traffic going to it, each time it's not used for an hour, the instance goes idle. Then the next request after the idle takes about 1-2 minutes to spin up the instance. If I plan on advertising this app, I'd rather have an app that functional on each request. If too many apps are up and the server runs low on memory, then nginx returns a Bad Gateway error, which I saw a few times after deploying the app. So far, it seems PythonDiary is unaffected, as it has a large amount of hourly traffic to keep the instance from idling.

If I plan on upgrading my Rackspace Cloud server, it will cost a little more than I would currently like to spend in my budget for hosting at this time. This has lead me to rethink my hosting options...

So far I am really eyeballing PythonAnywhere, as they are very affordable, and Python centric. With the hosting plan offered by them, it allows up to 10 domain names, which is perfect. I don't quiet have that many just yet, but I am nearing that amount. I also looked at RedHat OpenShift, which is free at first. Currently, I do not think I want to spend the time and effort moving everything to a new platform, so I am thinking of just moving my latest asset to RedHat's offering and see where this new asset goes first. This will remove the pressure that my other apps have been experiencing under my current server. I am also thinking of looking into Google App Engine for my personal profile page, but the lack of a relational database still scares me. A large amount of Django's ORM features depend on a solid relational database.

What hosting provider do you currently prefer for hosting your Python web application?

Comment #1: Posted 1 year, 6 months ago by James Mills

Nice post :) I've always just hosted my Python Web Apps myself. I've actually behun the process of migrating my Physical Server currently hosted at Hurricane Electric's Data Center over to a new Server hosted with Codero. My new plan is to setup nginx with proxy/uwsgi and virtual containers via ProxMox VE.

Comment #2: Posted 1 year, 6 months ago by Kevin Veroneau

@James, I have been hosting Python apps myself, but recently my ideas have outgrown my Rackspace server, and I really don't want to pay $30 more just for another 512MB of RAM. My current implementation does use Nginx and uWSGI, works great too.

Comment #3: Posted 1 year, 6 months ago by Eli Bressert

Before going static (using Pelican) I was using Django on PythonAnywhere. Their service was quite good and reasonable in my opinion. Additionally, getting apps to work on their servers was dead simple. The guys behind PythonAnywhere were quite helpful as well. I'd definitely recommend to give their service a try.

Comment #4: Posted 1 year, 6 months ago by James Mills

@Kevin: I'm quite happy with my new purchase/rental. I'm paying an extra $20/month (was $70/month) for an unmanaged Quad Core Intel Xeon 3220 with 8GB of RAM, 100Mbps uplink and 12TB of traffic and a 250GB HDD.

Comment #5: Posted 1 year, 6 months ago by Harry

Hi, PythonAnywhere dev here, just wanted to say thanks for the props! If you ever need anything, just get in touch via support@pythonanywhere.com

Comment #6: Posted 1 year, 5 months ago by Horst

I'm currently moving most of my sites from Linode to DigitalOcean. They are extremely affordable which is exactly what I need for these tiny projects :-)

About Me

My Photo
Names Kevin, hugely into UNIX technologies, not just Linux. I've dabbled with the demons, played with the Sun, and now with the Penguins.




Kevin Veroneau Consulting Services
Do you require the services of a Django contractor? Do you need both a website and hosting services? Perhaps I can help.

This Month

If you like what you read, please consider donating to help with hosting costs, and to fund future books to review.

Python Powered | © 2012-2014 Kevin Veroneau