Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>What sold me on Google App Engine vs hosting a Django app were the following points:</p> <ol> <li><strong>No DB Admin:</strong> We didn't have to worry about administering and managing a database. This was super productive for a two man team.</li> <li><strong>The Datastore Makes Sense:</strong> Given that we had no RDBMS experience, the GAE Datastore just made a lot of sense: It is a big hash table with transaction support. Definitely less complex -usage wise- than a traditional database.</li> <li><strong>No Sysadmin Skills Needed</strong>: Not sure about you, but we did not have mad sysadmin skills. We just wrote a simple Python script that compressed our JavaScript and CSS and deployed. That was good enough.</li> <li><strong>Easy Deployment and Versioning</strong>: The online interface allows you to test out a new version before making it the default. So if the new version breaks, you can easily roll to an older version.</li> <li><strong>Easy Scalability</strong>: We enabled billing for up to $4 a day, which gave us a lot of CPU cycles and a huge email quota. We didn't have to worry about servers going down. Again, this give you peace of mind if you're a small team.</li> </ol> <p>You also get easy access to cron, offline tasks and email. Oh, and you can also use Django's templating engine, which is one of my favorite bits of Django.</p> <p>Cons:</p> <ol> <li><strong>No FTP support</strong>: A lot of enterprises still use FTP. You can only make HTTP/S requrests with GAE, so you can't serve or upload FTP files.</li> <li><strong>3000 files per app</strong>: Your app cannot have more than that. But for the Python version, you can bundle up extra libraries in zip files and use zipserve to serve them. I usually also <a href="http://css-tricks.com/css-sprites/" rel="noreferrer">sprite up small images into one</a> and compress JavaScript and CSS and lump them into one file each.</li> <li><strong>No expensive calculations</strong>: All requests have to finish up in 30 seconds. But GAE gives you Cron and task queues, so if you need to do super expensive calculations, then you'll have to break them up.</li> <li><strong>Only pure Python libraries</strong>: So you can't use cPickle for example.</li> <li><strong>No legit image processing</strong>: They image processing API does provide a subset of <a href="http://www.pythonware.com/products/pil/" rel="noreferrer">PIL</a>, but if you need to do heavy lifting you'd better take it outside (of GAE).</li> </ol> <p>I would highly recommend GAE if you have a small team - which sounds like you do, and you do not like to mess around with configuring servers. .</p> <p>Best of luck!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload