One way is to store a lastSeen datetime property for each user in
some kind of user entity in your data model and then do a query to
find how many were seen in the last 10 minutes or so.
I don't recommend counting active http requests since the answer will
be 0 most of the time. Requests don't
Let me try to improve loading time by reducing the initial
computation.
On Feb 23, 3:53 pm, KBala kbala@gmail.com wrote:
yeah it takes time, i am in 1mbs line, its bti slow than my other
sites, we may not configure properly, not sure
On Feb 23, 3:48 pm, vinodxx vino...@gmail.com wrote:
We have an application and I would want to introduce it in Cloud Computing.
We have read a lot of things about Cloud Computing and theirs advantages. I
don't know if GAE is just a hosting which supports python environment or if
I could get all the advantages of Cloud Computing with GAE.
I'm
Thanks for the response Marzia. I tried again with the return
statement and I am still having the same issue. The code I pasted
below is the entirety of my handler, so there is nothing in it that
would cause a timeout after the initial DeadlineExceededError. I also
checked that I am importing
This is a brain dump (LONG) as I work through this problem. Hope it
helps others or others can help me by correcting mistakes or
suggesting alternatives.
First, look at this article on Digg-like functionality:
http://code.google.com/appengine/articles/overheard.html
That article suggests this
You must have only one.
Copy/past the GAEFB handlers at the top of your app.yaml
Regards
On Feb 23, 11:29 pm, Luis Gonzalez luis...@gmail.com wrote:
Sorry, but there's something that's not quite clear:
I understand that I must place all files within src into the root
directory.
But I don't
I'm new to the python programming language and app engines datastore,
and so most of the time i'm thinking about my data in a relational
database way. But for simple modeling like this, it is really really
easy. Just a couple of lines, and it works!
Anyway thanks!
On 23 feb, 22:57, David
Hi,
I would like to have some advice on how to deal with a CPU consuming
script.
The script simply fetches an Atom XML file (using urlfetch) and then
parses each item using both minidom and BeautifulSoup. The Atom file
typically has 50 entries.
It seems that spawning a process for each N
Hi,
as more and more enterprise application people are trusting clouding
computing... I was wondering about the billing model for such
applications...
its normally , Pay for what you actually use.
so the actual problem I was facing is ,
1) Is there any guideline ( read suggestion ) on how to
i really like it , if google group allow to edit post within 30
minutes of its posting...so that we can correct some typo ..
so , for easily deploying an application to multiple website , { which
can be done easily already .. via google apps }
with different datastore for different
great! thanks mike,
let me look that.
-KBala
On Mon, Feb 23, 2009 at 10:51 PM, Mike Wesner m...@konsole.net wrote:
You're in luck!!
the pyAMF project is exactly what you need. pyamf.org
pyAMF very recently got a GAE adapter which allows it to work with
db.Model based classes. The
You could write unit tests using GAEUnit (http://code.google.com/p/
gaeunit/). It uses the same in-memory data store that
dev_appserver.py uses.
++Steve
On Feb 23, 3:57 pm, josto joe.stolb...@gmx.de wrote:
Is there a possibility to test the GAE Datastore on my PC without
running the
You could write unit tests using GAEUnit (http://code.google.com/p/
gaeunit/). It uses the same datastore that dev_appserver.py uses.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To
thanks marzia
I dont want to read too much into Nick's results above but is 30-200ms
now considered to be CPU intensive?
cheers
brian
On Feb 23, 4:20 pm, Marzia Niccolai ma...@google.com wrote:
Hi,
This is done on a per-request basis.
-Marzia
On Mon, Feb 23, 2009 at 12:14 PM, bFlood
I'm trying to get my Android app to login to my GAE app and download some
data. I have the name and password of the user stored in the Android app.
I can't find the docs that tell me the process for my Android app to
authenticate with my GAE app using my Google Accounts.
Can someone show me
You can also make your clients send ajax hearbeats every so often. The
heartbeat call would update the last_seen property.
On Feb 24, 3:13 am, Brandon Thomson brandon.j.thom...@gmail.com
wrote:
One way is to store a lastSeen datetime property for each user in
some kind of user entity in your
Hi everyone,
app-engine-patch 1.0 is out now! Finally, you can use almost all
Django features on App Engine. You can download the sample project
here:
http://code.google.com/p/app-engine-patch/
What's new:
* Django's admin interface
* media generator (provides speed boost and better code
I use NoseGAE Fixture to write unit and functional (http requests)
tests:
http://code.google.com/p/nose-gae/
http://farmdev.com/projects/fixture/using-fixture-with-appengine.html
Note issues #13 and #18 in NoseGAE though to get it working with the
latest SDK. Nose Fixture make writing tests
Nobody can help ?
On Feb 23, 10:49 am, Sylvain sylvain.viv...@gmail.com wrote:
Hi,
I use Eclipse/Pydev and I'd like to test app engine patch with this
IDE.
But currently, I can't start the project.
I've this message :
ERROR:root:Application configuration file not found :( in C:\Outils
Amazon Web Services is a good point for beginners. (imho)
Samet
On Tue, Feb 24, 2009 at 11:07 AM, SANMI ssa...@gmail.com wrote:
We have an application and I would want to introduce it in Cloud Computing.
We have read a lot of things about Cloud Computing and theirs advantages. I
don't know
I've seen this referenced many times, and have probably read all of
the responses. All I simply want to do is set the TEMPLATE_DIRS
setting in my webapp configuration (I DO NOT -- yet -- want to run
Django, I simply want to use the templates and configure them).
Is there any way to do this?
I am getting one error while uploading application on Google app
engine.I have developed application using new Google app engine
Version 1.1.9
ValueError: dictionary update sequence element #0 has length 1; 2 is
required
Could u please guide me whts the problem is??
The greatest advantages of AppEngine are the ease of set-up, the
scalability, and the fact that your application is available
throughout the infrastructure that Google has built worldwide the
moment you publish. If you need a python-based environment and are OK
with the limitations of
Hi Sunita,
There could be issues with your app.yaml. Could you please check if your
have configured it correctly?
http://code.google.com/appengine/docs/python/tools/configuration.html
On Tue, Feb 24, 2009 at 3:28 AM, sunita khilare khilare...@gmail.comwrote:
I am getting one error while
Hi Faber,
Here is the information on how you generically log into Google
services and GAE app programatically:
http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html
Sounds like it would be super useful !!
However, this function won't work on windows:
def find_sdk():
'''
Return the base directory for the AppEngine SDK, or None if it
cannot be
found.
@returnsString or None.
'''
for path in [ '/usr/local/google_appengine' ]:
Hello,
Can you provide samples form your model definitions? It would make it
much easier to follow what you're trying to do.
On Feb 24, 12:01 pm, simpsus_science bastian.ken...@gmail.com wrote:
Hallo,
I read up the solution for implementing 1:n relationships by placing a
ReferenceProperty on
Hi Ed,
This is a known issue which has effected a small number of apps. Could
you email me the app id for this application?
Thank you,
Jeff
On Feb 23, 8:53 am, Ed edgam...@gmail.com wrote:
thanks, Sylvain. but I am not using memcache and am not doing
updates. just reads. the message just
This is what I usually use. It looks for a directory called
templates relative to the current handler script.
def get_template_path(template_name):
Returns the path to a given template_name
return os.path.join(os.path.dirname(__file__), 'templates',
'%s.html' % template_name)
On Feb
Hi,
Over the weekend my app's stored data usage jumped from using 1% of the
stored data to 39% of the stored data. It doesn't appear that traffic
levels have changed for the past few weeks so I'm not sure why I would see
such a huge jump in the amount of storage used. Any ideas?
Thanks.
Don't type the ReferenceProperty.
You've got to be careful though. If you have A ref'ing B and B
ref'ing A, it's very easy to get stuck in a loop. (Anything that
recurses over the item's properties, like a for loop or the Django
debug page, will implicitly get the entity instead of the key for
Thanks! I just finished getting my Android app to download the public
data on my GAE app so your code will come in very handy!
On Tue, Feb 24, 2009 at 11:54 AM, lenza le...@lenza.org wrote:
Hi Faber,
Here is the information on how you generically log into Google
services and GAE app
On Feb 24, 2:29 am, Bill billk...@gmail.com wrote:
This is a brain dump (LONG) as I work through this problem. Hope it
We could use an equality filter that pretty much removes all entities
with last_vote_time more than an hour ago. One solution would be to
add a StringListProperty, call it
Is there anyway to connect to FTP with the app engine. I would like to
upload a few files to a remote FTP server.
I can't seem to get ftplib to work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine
have you seen this:
http://googleappengine.blogspot.com/2009/02/new-grow-your-app-beyond-free-quotas.html
(just a guess)
On 24/02/2009, Josh Cronemeyer joshuacroneme...@gmail.com wrote:
Hi,
Over the weekend my app's stored data usage jumped from using 1% of the
stored data to 39% of the
Thanks
There's a django-tracking project saying it has the mentioned function
http://code.google.com/p/django-tracking/
It probably only works with the django request handler and not the
pure gae webapp.
Regards,
Niklas
On Feb 24, 3:53 pm, Mahmoud mahmoud.ar...@gmail.com wrote:
You can also
On Feb 24, 1:29 pm, SHS_WS shswebst...@gmail.com wrote:
Is there anyway to connect to FTP with the app engine. I would like to
upload a few files to a remote FTP server.
I can't seem to get ftplib to work.
No; you cannot open any socket connects except by using the urlfetch
API to ports 80
Thanks for your answers.
Perhaps my question was misunderstanding.
I only want to get familiar with the Datastore/GQL. Therefore I am
searching for a possibility to play with the Datastore/GQL simply in a
python shell/debugger without Webserver/Brower .
Hi,
If you exceed datastore quota, you won't stop serving, but won't be able to
modify any data in the datastore.
Today, however, we launched the ability to pay for additional quota, as well
as upped the new free quota to 1GB due to the new datastore accounting.
Details here:
Hi,
20ms is not considered CPU intensive, but once you get up in to the
hundreds, it is.
-Marzia
On Tue, Feb 24, 2009 at 5:43 AM, bFlood bflood...@gmail.com wrote:
thanks marzia
I dont want to read too much into Nick's results above but is 30-200ms
now considered to be CPU intensive?
how about squirrel mail?
http://www.squirrelmail.org/about/
it used to be the nuts!
On Jan 24, 8:16 pm, cincinnatus petercoo...@pgctesting001.com wrote:
I am working on IMAP Fetcher right now. From a Premiere Edition
account, you can reset the IMAP server connection port from 143 to 80,
Hi,
I really am out of ideas since it works perfectly for me (see
http://yo.appspot.com/?sleep=2 vs http://yo.appspot.com/?sleep=35) where I
used your exact handler information.
The issue is that, for some reason, the handler continues to execute too
long after the DeadlineExeededError is
Marzia and Barry,
Thanks for the info. That answers my question. If I recall there was a way
to ask google to simply increase the free quota for your account, but I
can't seem to find information on how to do that. Do you guys know?
Thanks.
On Tue, Feb 24, 2009 at 3:00 PM, Marzia Niccolai
CPU
current quota - 46 hours
new quota - 1 hour
% change - 98% reduction
I believe the new number will be 6.5 CPU hours:
http://code.google.com/appengine/docs/quotas.html#Free_Changes
--~--~-~--~~~---~--~~
You received this message because you are subscribed
There seems to be an inconsistency in the cited storage pricing. The
blog post says $0.15/GB/mo, but the docs and my app dashboard say
$0.005/GB/mo, which is a huge drop in pricing if correct.
Which one is correct?
And congratulations to the entire App Engine team for rolling out this
much
Hi all,
We've just announced that it is now possible to purchase additional
quota for your application. To borrow from our blog post,
We're psyched to announce that developers can now purchase additional
computing resources on App Engine, enabling apps to scale beyond our
free quotas. This has
Congratulations to the entire App Engine team for rolling out this
much requested feature.
There seems to be an inconsistency in the cited storage pricing. The
blog post says $0.15/GB/mo, but the docs and my app dashboard say
$0.005/GB/mo, which is a huge drop in pricing if correct.
Which one
Hi Bill,
On Tue, Feb 24, 2009 at 1:28 PM, Bill billk...@gmail.com wrote:
There seems to be an inconsistency in the cited storage pricing. The
blog post says $0.15/GB/mo, but the docs and my app dashboard say
$0.005/GB/mo, which is a huge drop in pricing if correct.
Which one is correct?
With the release of billing, they err, want you to pay if you want more?
(just a guess)
;p
Anyway the link is still on the FAQ:
http://code.google.com/appengine/kb/general.html#quota
On 24/02/2009, Josh Cronemeyer joshuacroneme...@gmail.com wrote:
Marzia and Barry,
Thanks for the info.
Hi Bill,
I seems Brett replied to your initial post (
http://groups.google.com/group/google-appengine/browse_thread/thread/07365a8c5bcb2c0e
)
to quote:
Were do you see $0.005/GB/mo? On the settings page and Dashboard we're
showing the *daily* cost per GB, since that is how we compute actual
On Feb 24, 1:44 pm, Jeff S j...@google.com wrote:
Were do you see $0.005/GB/mo? On the settings page and Dashboard we're
showing the *daily* cost per GB, since that is how we compute actual
cost. 30 * 0.005 = $0.15GB/day.
I think the time unit needs to be clarified. In the billing doc
well that seems like a change from previous posts. I thought people
generally quoted 200-300ms as a safe place to be for most of your
requests
On Feb 24, 4:13 pm, Marzia Niccolai ma...@google.com wrote:
Hi,
20ms is not considered CPU intensive, but once you get up in to the
hundreds, it is.
Thanks so much for testing this out Marzia! It is really awesome how
super helpful you are. You have helped me get one step closer to a
solution...
I have my app setup to use my own domain. When I go directly to my
appspot.com address it works:
http://lenzasapp2.appspot.com/test?sleep=35
http://shell.appspot.com/
On 24/02/2009, josto joe.stolb...@gmx.de wrote:
Thanks for your answers.
Perhaps my question was misunderstanding.
I only want to get familiar with the Datastore/GQL. Therefore I am
searching for a possibility to play with the Datastore/GQL simply in a
I'm seeing exactly the same thing. Has anyone found a work-around?
On Jan 3, 7:36 pm, MajorProgamming sefira...@gmail.com wrote:
I have this code in one of my HTML Templates:
{%if forloop.counter0|divisibleby:3%}/trtr class={%cycle
even,odd%}{%endif%}
[snipped out]
For some reason every
In addition to Barry's suggestion, you could import remote_api and
other required SDK modules in a python shell and play with the
datastore that way.
I've written a little about remote_api setup:
http://billkatz.com/2009/2/Remote-API-Hello-World
On Feb 24, 2:10 pm, Barry Hunter
AH! There definitely is a problem here with the custom domain, for some
reason it's throwing a 'Bad Gateway' error when I grab the headers. I don't
know why yet, but I'll keep you posted
-Marzia
On Tue, Feb 24, 2009 at 2:03 PM, lenza le...@aznel.trickip.net wrote:
Thanks so much for testing
On Tue, Feb 24, 2009 at 1:53 PM, Bill billk...@gmail.com wrote:
On Feb 24, 1:44 pm, Jeff S j...@google.com wrote:
Were do you see $0.005/GB/mo? On the settings page and Dashboard we're
showing the *daily* cost per GB, since that is how we compute actual
cost. 30 * 0.005 = $0.15GB/day.
I
I hope that 30 * 0.005 = $0.15GB/day. should have been 30 * 0.005 =
$0.15GB/month.
On Feb 24, 1:34 pm, Brett Slatkin brett-appeng...@google.com wrote:
Hi Bill,
On Tue, Feb 24, 2009 at 1:28 PM, Bill billk...@gmail.com wrote:
There seems to be an inconsistency in the cited storage pricing.
On Tue, Feb 24, 2009 at 2:24 PM, Andy Freeman ana...@earthlink.net wrote:
I hope that 30 * 0.005 = $0.15GB/day. should have been 30 * 0.005 =
$0.15GB/month.
Wow yeah, sorry about that.
30 days * $0.005 per Gigabyte per day = $0.15 per Gigabyte per month
We're updating the docs to remove
On Tue, Feb 24, 2009 at 2:27 PM, Brett Slatkin
brett-appeng...@google.com wrote:
On Tue, Feb 24, 2009 at 2:24 PM, Andy Freeman ana...@earthlink.net wrote:
I hope that 30 * 0.005 = $0.15GB/day. should have been 30 * 0.005 =
$0.15GB/month.
Wow yeah, sorry about that.
30 days * $0.005 per
Fantastic! While personally I hope not to have to shell out too much
coin, I'll contribute my $0.02 now and then. ;-)
I can quite sincerely thank Google for teaching this old dog new
tricks. I have an application (Wine by the Bar) that runs on the
Android phone and is backed by GAE. Throw in
Has anyone seen a cost comparison between Google and the other
providers based on these new changes?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
There is apparently a bug in how the Cookbook handles characters. I
rewrote the recipe to only use characters, but, I consider that to
be a problem for posting code.
In any case, the recipe should be updated. Hopefully, it will be
useful to some.
On Feb 24, 5:35 pm, djidjadji
On Wed, Feb 25, 2009 at 10:01 AM, deji.omis...@gmail.com
deji.omis...@gmail.com wrote:
Since GAE disallows modifying the user-agent header in the URL fetch
libraries how can one access a REST api such as Digg's which
explicitly requires this header be sent?
Does GAE not send one at all by
I'm still a bit confusedcan we now upload files larger than 1MB or
can we just upload more than the 1 GB total storage quota. For
example, can my blob property be the equivalent of a 50MB video file?
On Feb 24, 5:38 pm, Tom M. thomasfmc...@gmail.com wrote:
Fantastic! While personally I
Hi bej34,
No, the 1MB size limit for a datastore entity is still in place, but
now you could store more of them ;-) Also if this is a file which is
being uploaded to your application, the size limit is 10MB, but it
sounded like you meant items in the datastore.
Thank you,
Jeff
On Feb 24, 5:30
Typo on my part. Thanks for the catch. =)
Revised changes:
CPU
current quota - 46 hours
new quota - 6.5 hours
% change - 86% reduction
Bandwidth
current quota - 10GB
new quota - 1 GB
% change - 90% reduction
--~--~-~--~~~---~--~~
You received this message
In order to launch billing, we changed our accounting methods to more
accurately count the real amount of data stored in the datastore. This was
the cause of the increases some people saw in their quota.
Marzia, could you check my account (id:muspy). I have a really huge
increase in the
Will the 1Mb API call limit be lifted soon? We now have billing (for
sizing up total storage) and 10Mb request/response limit... I believe
that the 1Mb API call limit should soon be raised to at least 10Mb.
Does anybody know if that will happen anytime soon???
Thanx
70 matches
Mail list logo