rough draft of a FAQ for this group

3 views
Skip to first unread message

Peter Recore

unread,
Oct 31, 2008, 12:50:57 AM10/31/08
to Google App Engine
I've noticed that there are some questions that are getting asked over
and over again, and the best answers are scattered across many posts.
This is a stab at compiling the wisdom of the group and making it easy
for everyone to get the answers they need fast. So the next time
someone drops their laptop into a pit of alligators and then realizes
it had the only copy of their super awesome app, we can just point
them here instead of snarkily explaining the virtues of source control
and backups.

This is just a start. I included some specific requests for help/
feedback in << >> . any other suggestions are welcome.

-peter

--------------------------------

App Engine FAQ's


Q: I accidentally deleted my source code from my hard drive. How do I
download my source
code from Google's servers once I upload it using dev_appserver.py?

A: You can't. There are several steps you can take to improve your
situation. In general,
using a source control tool is a good way to keep your code safe.
Google offers one such
tool for free:
http://code.google.com
There are many other options for source control out there, and
using app engine as your backup
is not the best one.
<<suggestions for other free source repositories welcome>>

However, if you really want to access your uploaded code directly,
you can include some code in
your app that will allow you to download your code as a zip file:

http://groups.google.com/group/google-appengine/browse_thread/thread/8f68d6a3e61fee8/aa5f0e44d14116ee?lnk=gst&q=zipme#aa5f0e44d14116ee

<< any other suggestions for revision-control-phobes? >>

For shell like access to your uploaded code, check out
http://shell.appspot.com/
http://con.appspot.com/

Q: When is App Engine going to support my favorite programming
language?
Q: When is App Engine going to support billing for higher quotas?

A: The official roadmap is here: http://code.google.com/appengine/docs/roadmap.html
Beyond that, the GAE team has not made any promises about
particular features.


Q: I am confused about High CPU warnings in my logs or in my
dashboard.

A: The mcycles number included in log entries does not include
mcycles spent on API calls
(like datastore or memcache calls). The number in the dashboard
includes the mcycles
used in both your code and API code. This is why the dashboard
number is usually higher.
<<I would love someone to verify that I got this right and not
backwards. Also, if someone
feels up to giving a clear, concise description of the CPU quota
issue in general that would
probably be helpful.>>

Q: How do I use my favorite SQL feature in GQL?

A: First, you must understand that SQL and GQL are very different.
Not all features of SQL are
available in GQL, just like not all features of GQL are available
in SQL. Here are a few
pointers on how to duplicate some common SQL features using the
Datastore:

* To simulate count(*) in the Datastore, you should construct a
sharded counter. The
datastore does not give you a way to count all your entities.
You must maintain
a count yourself. A sharded counter is the currently accepted
best practice for doing this.
For example implementations, see:
http://github.com/DocSavage/sharded_counter/tree/master/counter.py
(by Bill Katz)
http://paste.blixt.org/1581 (by Sylvain?)
Watch this video for more background:
http://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine

<< any other common 'how do i do this SQL task in GQL' issues?>>


Q: I'm in China or somewhere else that does not have SMS connectivity
with Google's servers.
How can I get access? What's wrong with just using my email
address?

A: Look at http://code.google.com/appengine/kb/sms.html
<<does anyone from china have any better advice? i'm from the US
so i have no idea>>

Alexander Kojevnikov

unread,
Oct 31, 2008, 1:11:28 AM10/31/08
to Google App Engine
Great Q&A compilation!

It would be great if GAE team (or anyone else) could set up a public
wiki and link to it from the official docs. A lot of questions posted
on this group repeat over and over.
>    http://groups.google.com/group/google-appengine/browse_thread/thread/...
>    http://sites.google.com/site/io/building-scalable-web-applications-wi...
>
>     << any other common 'how do i do this SQL task in GQL' issues?>>
>
> Q:  I'm in China or somewhere else that does not have SMS connectivity
> with Google's servers.
>     How can I get access?  What's wrong with just using my email
> address?
>
> A:  Look athttp://code.google.com/appengine/kb/sms.html

Jon McAlister

unread,
Nov 2, 2008, 2:31:13 AM11/2/08
to Google App Engine
Hi Alexander, I agree with you. What exactly did you have in mind?

On Oct 31, 7:11 am, Alexander Kojevnikov <alexan...@kojevnikov.com>
wrote:

Barry Hunter

unread,
Nov 2, 2008, 2:11:14 PM11/2/08
to google-a...@googlegroups.com
Some other Help groups use knol to host articles

Example:
http://knol.google.com/k/christine-the-guide/google-docs-help-google-docs/2vcnhxffa8r42/7#

I dont know the ins and outs of knol, but I belive the comments can be
used to get feedback so the main editor can incorporate them.

So the question perhaps is, if someone was to setup a set of articles
- could they be linked from the official site? Because if they are not
linked it might not be worth the effort (they can be close to perfect,
but if nobody ever finds them...) and its almost as much work to post
a link to the FAQ as it is to just answer the question.

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -

David Symonds

unread,
Nov 2, 2008, 10:02:47 PM11/2/08
to google-a...@googlegroups.com
On Sun, Nov 2, 2008 at 12:11 PM, Barry Hunter
<barryb...@googlemail.com> wrote:

> Some other Help groups use knol to host articles

Folk could also consider using the cookbook:
http://appengine-cookbook.appspot.com/

That obviously isn't suitable for things that flat-out don't work, but
might be useful for lots of other cases.


Dave.

Alexander Kojevnikov

unread,
Nov 3, 2008, 12:02:10 AM11/3/08
to Google App Engine
> Hi Alexander, I agree with you. What exactly did you have in mind?

It can be any wiki, appengine-hosted or not, as long as:

1. It's public and editable by anyone.
2. Linked from the official docs. I agree with Barry, it has very
little sense to have this FAQ if it's hard to find.

May be we can start with a simple Google Groups Page and see how it
goes?
http://groups.google.com/support/bin/topic.py?topic=9252

Jon McAlister

unread,
Nov 3, 2008, 4:02:44 AM11/3/08
to Google App Engine
Thanks for the suggestions, Barry, David, and Alexander! We are taking
them under advisement.

On Nov 3, 7:02 am, Alexander Kojevnikov <alexan...@kojevnikov.com>
wrote:

Peter Recore

unread,
Nov 3, 2008, 1:40:26 PM11/3/08
to Google App Engine
I was hoping if we could build the document up to a decent level of
quality, it might get stickied on the first page of this group. Maybe
I'm cynical, but I suspect there are a lot of people who come to the
group and post *before* looking at any documentation anywhere. So
while a knol or wiki page is a better interface for editing/managing a
faq it wouldn't be in people's faces quite as much. Maybe we could
use a wiki as the official repository of info, and post it to the
group ever so often.

Marzia Niccolai

unread,
Nov 11, 2008, 1:25:47 PM11/11/08
to google-a...@googlegroups.com
Hi,

Sorry it has taken so long to respond.  I set up a knol using the text you provided.  You and others can contribute to the knol, it's open to be edited by any signed in user.

http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/1#

Thank you *so* much for getting this started.

-Marzia
Reply all
Reply to author
Forward
0 new messages