The quick answer is 5 :)
You're absolutely correct in looking for listen(), but you're looking
in the wrong place.
The dev_appserver runs the BaseHTTPServer from the Python standard
library. The BaseHTTPServer from the stdlib runs the
SocketServer.TCPServer from the SocketServer in the stdlib.
Khai, I recently posted a bit on my blog about this:
http://blog.chilly.ca/?p=238
You'll probably be pretty hard-pressed to run it on anything but the
dev_appserver, and it's not very likely that you'll get it working
multi-threaded. Sorry :(
On Apr 6, 5:59 pm, Khai khaitd...@gmail.com
Profile profile profile! Use the profiler, on the live app engine.
On Mar 4, 8:42 am, ltcstyle ltcst...@gmail.com wrote:
Hi All,
When we developing an app, or implementing an idea, it's very likely we
focus on the features and functionalities first.
However, at some point, the
Me too
app id: steprep
app id: steprep-demo
On Mar 2, 9:09 pm, Gee geeh...@gmail.com wrote:
me too
app id: rotzy
On Mar 2, 7:06 pm, Bill billk...@gmail.com wrote:
Anyone else having trouble with their apps? I'm getting 502 Server
Errors and even looking at logs in the console are
Hi,
We're using urlfetch to access Yahoo Boss, which requires Accept-
Encoding: gzip in the HTTP headers.
The documentation doesn't indicate that this is a forbidden header:
http://code.google.com/appengine/docs/python/urlfetch/fetchfunction.html
The code works great on the live server, but
The big difference between in-memory caching and memcache caching is
that memcache data is shared between all of your running instances,
but in-memory caching is on a per-instance basis.
On Jan 22, 9:52 am, Blixt andreasbl...@gmail.com wrote:
Hi there,
I've been playing with caching using
On Jan 19, 5:42 pm, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
From your second link:
All entities in a group are stored in the same datastore node.
I guess this means that entities from the same group are stored close
to each other. When your query uses ANCESTOR IS, the query
Hi everyone!
In a thread [1], and in the documentation [2], it says that setting
ancestors doesn't affect performance, but I'm not sure that this is
the case.
I set up two queries, one using WHERE locationKey = :1 (locationKey
is a db.StringProperty), and one using WHERE ANCESTOR IS :1 (the
Oops, missed the second reference:
[2] Section Tips for using entity groups: in
http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html
On Jan 19, 9:10 am, Tony Arkles t.ark...@gmail.com wrote:
Hi everyone!
In a thread [1], and in the documentation [2], it says
I thought I would post our findings and solution. Our issue seems
slightly different.
We had entities similar to the following:
class Account(db.Model):
...
class AccountEntry(db.Model):
account = db.ReferenceProperty(Account)
tags = db.StringListProperty()
utime =
On Jan 12, 9:18 am, Cesium cesiumpic...@gmail.com wrote:
Marzia in this thread has already said they dont offer any guarantees.
Is Marzia a primary source?
Yes, Marzia is part of the app engine team.
--~--~-~--~~~---~--~~
You received this message because
We saw this error yesterday too, but only for one of our users. The
query succeeds for everyone else...
(We were doing a fetch instead of a count, but otherwise it seems
pretty similar)
On Jan 8, 11:48 am, Ryan W rwilli...@gmail.com wrote:
All of a sudden this morning, I began getting this
Bump? I posted this over the holidays, maybe someone who knows the
answer might have missed it?
On Dec 30 2008, 9:54 pm, Tony Arkles t.ark...@gmail.com wrote:
Hi all. Maybe I'm missing something obvious here. In the Admin
Console (on the production servers), I get log lines like:
12-30 12
this information over time
would be to save the daily graph of 'CPU Seconds Used/Second' available on
the dashboard.
Not an ideal solution, and it seems like this would be a good feature
request.
-Marzia
On Mon, Jan 5, 2009 at 10:19 AM, Tony Arkles t.ark...@gmail.com wrote:
Bump? I posted
On Dec 30, 6:13 pm, James Leskovar jlesko...@gmail.com wrote:
If you don't specify an expiry time, they'll persist
forever, until
there's significant load on the cache.
This is really important to note: if you're using the memcache for
your application settings, you probably want it to be
Hi all. Maybe I'm missing something obvious here. In the Admin
Console (on the production servers), I get log lines like:
12-30 12:39PM 36.208 /x 500 552ms 1713ms-cpu 7kb
(with a CPU warning icon next to the 1713ms-cpu).
When I retrieve the log files from app engine, I can't seem to find
It seems like a pretty good approach to me.
One thing to watch out for is that things can vanish from the memcache
(due to memory pressure). Don't assume it's going to be a reliable
storage mechanism! If you're OK with possibly losing events, then
it's OK, but if you require all events to for
Ryan, do you mean the PATH, or the PYTHONPATH? It doesn't have to be
in your PATH, just the PYTHONPATH (which you can view by doing import
sys; print sys.path)
On Nov 2, 3:39 pm, ryan baldwin [EMAIL PROTECTED] wrote:
K, I double checked and tried it all out and Alok's proposed solution
just
I just used a random number within an import (since imports only
happen once per instance, it should persist for the lifetime of the
process)
On Oct 9, 12:56 am, Josh Heitzman [EMAIL PROTECTED] wrote:
The state of the process is not of interest, just which instance of
many processes it is
Hmmm... that would probably run into CPU usage timeouts.
From the pyDES page:
The code below is not written for speed or performance, so not for
those needing a fast des implementation, but rather a handy portable
solution ideal for small usage. It takes my AMD2000+ machine 1 second
per 2.5
For a summary of the C-based modules that are available, check out
http://code.google.com/appengine/kb/libraries.html
On Oct 2, 6:14 pm, ryan [EMAIL PROTECTED] wrote:
unfortunately, app engine doesn't support native (ie C-based) python
modules:
Can you please post the directory structure and the goal?
On Oct 2, 1:48 am, James [EMAIL PROTECTED] wrote:
From a child directory, why can't a module in a parent or sibling
directory be imported?
Am I mistaken, or is this prohibited? (not using Django, just
webapp)
Hi everyone,
I'm running into a bit of a snag, and I'm hoping that someone might be
able to offer some suggestions.
I've got a Kind that is keeping track of information about URLs
(ratings, summary, etc). At first glance, it seems natural to key
Entities based on the full URL -- this will
://www.harleyquine.com/downloads/php-scripts/somefile.zip
and turn it into:
http://www.harleyquine.com/u/1
there are lots of this kind of services.
在 2008-10-2,下午11:55, Tony Arkles 写道:
Hi everyone,
I'm running into a bit of a snag, and I'm hoping that someone might be
able to offer
Ahhh... sigh. :)
I was hoping to avoid doing that. It certainly adds a layer of
complexity that I was hoping to avoid.
On Oct 2, 10:49 am, José Oliver Segura [EMAIL PROTECTED] wrote:
2008/10/2 Tony Arkles [EMAIL PROTECTED]:
I don't think that'll help. :(
I'm trying to ensure
function not likely
outperform secure hash function implemented in c.
This kind attack actually happened once on amazon's s3 service, which
caused about 2 hours partial service interruption.
On Oct 2, 4:43 pm, Tony Arkles [EMAIL PROTECTED] wrote:
I don't think a *secure* hash function
The real goal is to figure out how *not* to do that. :)
What are you trying to accomplish?
On Oct 2, 6:15 pm, Venkatesh Rangarajan
[EMAIL PROTECTED] wrote:
Is it possible to retrieve more than 1000 entities ?
Has anyone figured a way to do this ?
, Venkatesh Rangarajan
[EMAIL PROTECTED] wrote:
Exactly my thought... One cannot assume that the keys are in ascending order
or Can we ?
On Thu, Sep 25, 2008 at 7:42 AM, Tony Arkles [EMAIL PROTECTED] wrote:
Thomas, I think that solution will only work if the items are being
returned
And... I have a solution.
It appears that GAE resets sys.path before every invocation of
main(). We were modifying the sys.path (adding a lib directory to it)
at the module-level, so this would only take effect for the first
request on a given Python instance.
On Sep 15, 9:55 am, Tony Arkles
This is purely for curiosity sake... what framework are you using that
is 12MB zipped up?
On Sep 17, 7:57 am, Микола [EMAIL PROTECTED] wrote:
Yes, maybe you are right.
On Sep 17, 4:18 pm, Wooble [EMAIL PROTECTED] wrote:
On Sep 17, 6:04 am, Микола [EMAIL PROTECTED] wrote:
I would first
Hi!
We're in the process of learning GAE, and over the last two days have
hit a wall. Before going too far into the description, here's the
versions of things we're using:
* Django 1.0 beta 2
* app-engine-django-helper r58
It started yesterday; we were getting strange import errors, and only
Hi!
Right now my app has 4 different Entity kinds that get stored in the
Datastore. In the Admin Console Data Viewer, I can see 3 of them, but
not the 4th. The only thing that's different (other than the fact
that they have different fields) is that the missing one uses a custom
key_name.
If
. Does the missing Kind have any
entities stored in it? I believe empty Kinds, even if they are
defined in index.yaml, won't show up in the console until there are
stored entities.
On Sep 11, 12:56 pm, Tony Arkles [EMAIL PROTECTED] wrote:
Hi!
Right now my app has 4 different Entity kinds
On Thu, Sep 11, 2008 at 1:31 PM, Tony Arkles [EMAIL PROTECTED] wrote:
It's on the admin console in the App Engine. The Feed Kind doesn't
show up in either the Query the datastore or Create an Entity list
of Kinds.
Not sure if it makes any difference, but the feed object only has one
34 matches
Mail list logo