I have a fairly simple app - it looks up a couple of objects from the
google datastore and then creates a page from django template - pure
vanilla.
I wanted to see how my app would perform under heavy load, so I set up
a simulation where 500 virtual web-browsers would attempt to request
my page
additionally, under this load, the time it takes to service a request
grows from 2 seconds per request (no load) to 15 seconds per request
(high load).
On Apr 14, 11:07 pm, Anonymous Coderrr greedw...@gmail.com wrote:
I have a fairly simple app - it looks up a couple of objects from the
Hi,
Since this is just a test app, can you post the code (perhaps to Pastie
[1], for syntax coloring and the like) and your mechanism for storing
the data? That might help people help you figure out why it isn't
performing as you would hope.
[1] http://pastie.org
FWIW,
--
T.J. Crowder
tj /
Hi Jeff,
Thank you very much for your answer.
I solved my problem.
I was loading iui.js so I stop using that, and I could open the link
properly. It seems that JavaScript was working and couldn't open the link.
Thank you again,
Keiya Kanno
Hi Keiya,
In looking at the HTML for that page,
One thing that has become apprent is appengine, is designed to scale
under real world usage.
So if your App went from 0/1 users to 500 in a matter of seconds, then
the system wont work well. You need to ramp up the usage slowly.
Even a slashdotting would result in a 'ramp' usage.
Also 500
hi please any one has faced this problem please share your knowledge
with me..
On Apr 14, 7:21 pm, shiv s3s...@gmail.com wrote:
An internal error occurred during: Deploying googleSampleProject to
Google.
Received IOException parsing the input stream for C:/Documents and
FETCH_ERROR =2
It's not very clear what does it means but maybe if you check the code
you can have a better explanation.
But, I've ever seen this and most of the time it is raised by a
timeout, server down,...
Regards
from urlfetch_service_pb.py
class
Good job!
Can it run in a flash memory?
2009/4/14 Liraz liraz.s...@gmail.com
Hi everyone,
I'm one of the developers for TurnKey Linux, a community oriented open
source project developing a family of free, Ubuntu-based installable
Live CDs which are lightweight and optimized for ease of use
Dan, It is nice to see quick response and even better, quick reactions.
And I'm really glad to hear that the every month shortcut given in the
premature doc is indeed going to work; but what about the everyday
shortcut?
On Wed, Apr 15, 2009 at 12:44 PM, Dan Sanderson dansander...@google.comwrote:
Bump. It surprises me that no-one has any comments on this, based on
the number of other threads discussing geohashes.
In summary there are two issues here. 1. SDK and GAE do different
things; any comments? 2. Does anyone have a robust method for finding
bounding boxes containing a point?
Hmm, didn't get your point
Here:
--
class Thread(db.Model)
user = dbReferenceProperty(User)
--
User - name of referenced class
user - field name in Thread class
so I'm trying to navigate on the field property:
Thread.gql(WHERE user.email = :1, email)
PS
well, I checked: Thread.gql(WHERE
This problem is resolved now.
Replace the ?xml ...? !Doctype..lines in the web.xml file by this
web-app xmlns=http://java.sun.com/xml/ns/javaee; version=2.5
it will works fine.
once u get done with this reply me on s3s...@gmail.com
On Apr 15, 3:33 pm, Mujtaba Hassan abatju...@gmail.com wrote:
Seems you can do it. Remember it: it's not a relationship DB, you
should organize an entity as how you use it.
If you just want email to identify a thread, you can simply define:
class Thread(db.Mode):
email = db.EmailProperty()
or this is ok too:
class Thread(db.Mode):
user =
On Apr 15, 11:46 am, David Symonds dsymo...@gmail.com wrote:
You do realise that the SDK is *not* designed for use in server-type
usage scenarios? It's purely for testing, and has no real security or
scalability.
Yeah, the security features are inherited from the base system
(TurnKey Core).
On Apr 15, 12:05 pm, 风笑雪 kea...@gmail.com wrote:
Good job!
Thanks!
Can it run in a flash memory?
Yeah, you can deploy it to any type of storage device just like with
any other appliance.
--~--~-~--~~~---~--~~
You received this message because you are
Send this link to your friends who use GAE please.
If more people join this thread, there will be a chance to draw the
attention of Google.
On 4月11日, 下午7时36分, kiss242 kiss...@gmail.com wrote:
Since ghs.google.com is blocked by the gov in China and some other
countries, binding domain is not
I recently launched a Facebook application using Google AE as the
backend (http://apps.facebook.com/lawoflargenumbers/).
Unfortunately, the app is showing an average HTTP response time of
approx 1300 ms...which is quite poor. Can anybody tell me if this is
normal for Facebook apps using AE as
Hello I'm Leandro and Ive made a few tutorials for the brnd new Java
version of the Google App Engine.
Below Is the live version and the svn from google code.
-http://code.google.com/p/gae-java-tutorial1/
Also commented the post here...
-
If your cron.yaml is missing, the cron jobs will be left alone as is.
If you want to remove the jobs, create a cron file just containing
'cron:' (python) or 'cronentries/' (java).
On Apr 14, 11:28 pm, 风笑雪 kea...@gmail.com wrote:
I haven't tried this, but I think it should be an issue.
The
I had the same problem too. The solution that I found out is checking
the Google plugins first. They Eclipse shows the error message for the
missing xml plugin. Then I hit the Select Required button on the
right side and some packages in the Ganymede Discovery Site are
automatically selected and
Hi,
I am trying to redirect a page from servelet to a html page.But I am
facing problem while doing so.It's cant find the file.
Please help me on this I am new to java in google apps.
--~--~-~--~~~---~--~~
You received this message because you are
Hello everyone, I would like to ask if there is any way to fetch only
db.Key objects from a db.Query. I want to generate a list of links (a
Google sitemap) that point to the place there all the data is shown.
All the information to generate the link is part of the key name and
therefore fetching
Good day!
I wonder if anybody knows howto add favicon.ico to my application
(Java version)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Thank you, explanations are very clear!
I will go with this version:
class Thread(db.Mode):
user = db.UserProperty()
user_email = db.EmailProperty()
+ index on user_email
BR, Olex
On 15 Кві, 16:01, 风笑雪 kea...@gmail.com wrote:
Well, a mistake again...user.thread_set, not user.user_set
As my corp only use .net and Java
My SA told me to study what is the difference between Java and Python
in terms of their functionality and performance .
Is that everything can be done by Python can also be done by java in
Google App ?
--~--~-~--~~~---~--~~
You
I have a form that a user fills out and submits to the datastore.
Data is inserted using the put() method. After the insert I would
like to immediately query the datastore and display to the user that
which was committed. This is fairly standard stuff and is supported
in various ways (some
You can do it this way:
class Test(db.Model):
pass
class TestHandler(webapp.RequestHandler):
def get(self):
test = Test()
# self.response.out.write(test.key())
# don't do that, it will raise a NotSavedError
test.put()
self.response.out.write(test.key())
# after put(),
You need check the Stored Data in your dashboard.
And it runs much more faster:
results = q.fetch(100)db.delete(result)
or:
db.delete(q.fetch(100))
2009/4/15 新手1 publicrea...@gmail.com
When I received the bellow message:
Your application is exceeding a quota: Stored Data .
I know my
Thanks for the idea! Quite a few URLs are similar so it seems most
sensible.
I also should have noted in my OP that I noticed this on the
development server and not on the production server. Either or both
means I'll need the work around.
On Apr 15, 1:56 am, Gopal Vaswani
I think right now, Python is more powerful and easier than Java in GAE.You
need much less configuration and code to do a same thing in Python.
In my opinion, Python will save you 60% to 80% time of coding, but runs 5 to
10 times slower than Java.
However, about 80% time is cost in db operation,
Maybe, but my app needs it. So I will not change it for that.
And even with 3 entities of 3 different kinds you have to manualy
rollback it because a transaction works only with 1 kind. So If the
timeout happends on the second write, you have to manually rollback
the first put() and it can be
We need a benchmark :)
On 15 avr, 16:32, 风笑雪 kea...@gmail.com wrote:
I think right now, Python is more powerful and easier than Java in GAE.You
need much less configuration and code to do a same thing in Python.
In my opinion, Python will save you 60% to 80% time of coding, but runs 5 to
10
No you can't.
The entity stores as a pair of (key: value). You can only get both of them
at a same time.
I suggest you use a memcache:
index = memcache.get('index')
if not index:
index = []
result = query.fetch(15) # maybe you need do it several times
index.append([e.key() for e in
To add another twist, now I have an entity at the top of the stack
that is found using
q = FacebookUser.all()
q.filter('authorized = ',True)
q.order('last_nudged_at')
u = q.get()
but, if you try to load this entity by key, as you need to do for a
transaction, you get
I can give you some result of db operation using Python.
I did this test last week, but I can't find my code now...
Someone can give a Java benchmark?
result unit: second
add 100 entities:
1.07751011848
1.78107213974
0.826889038086
2.46827101707
0.966767072678
fetch 100 entities:
Jason: Yes, my account has been activated, that wasn't the problem. I
got it working yesterday, though. I figured out the 1000 file limit
(which isn't clearly stated on the website), and I had well over 1000
files. When I reduced the number of files to be closer to 1000, but
still over 1000, it
And even with 3 entities of 3 different kinds you have to manualy
rollback it because a transaction works only with 1 kind.
Where is it documented that a transaction only works with one kind?
The SDK is quite happy to do transactions involving db.Model instances
of different kinds.
On Apr
Only 1 get_by_keyname, I ever seen a timeout on it.
@Andy :
http://code.google.com/intl/fr/appengine/docs/java/datastore/transactions.html#What_Can_Be_Done_In_a_Transaction
All datastore operations in a transaction must operate on entities in
the same entity group.
It is not one kind, sorry.
No, datastore can't do it.
An entity is stored in the datastore as a key: value pair. Its value is
combined by all its properties as a string.
It may looks like that:
first: 'int|1|string|hello|email|he...@google.com'
second: 'int|2|string|world|email|wo...@google.com'
So you can only get/set
Do you reference the IntegerProperty with the class name or with self?
istr = str(MyCustomModel.iprop) # this gives your string value
or
istr = str(self.iprop) # this should give the integer value
2009/4/13 alex gsm...@gmail.com:
Got a class that extends db.Model with an IntegerProperty
Seems no problems with me:
class Msg(db.Model):
text = db.TextProperty()
class Handler(webapp.RequestHandler):
def get(self):
msg = Msg.all().get()
if not msg:
msg = Msg(text='')
msg.text += ' ' + self.request.get('data')
msg.put()
self.response.out.write(msg.text)
Hi Joe,
I use GAE to host a variety of Facebook Apps.
When you say the app is showing an average HTTP response time of
1300ms, where are you getting that number from?
Ben
On Apr 14, 4:44 pm, Joe joewalt...@gmail.com wrote:
I recently launched a Facebook application using Google AE as the
Hi Sylvain,
In a lot of situations, the correct behavior in a datastore timeout is
to simply retry the operation. You're right that in a situation where
you have to insert many records in different entity groups, either
retrying or rolling back can be complicated. Bear in mind, though,
that even
Are these benchmarks each for a single put/get/delete with 100
entities, or for 100 separate puts/gets/deletes with 1 entity each?
-Nick Johnson
On Apr 15, 4:06 pm, 风笑雪 kea...@gmail.com wrote:
I can give you some result of db operation using Python.
I did this test last week, but I can't find
After a put(), the entity that was written is updated with its new
key, which you can access with entity.key(). The put() call itself
also returns the key (or list of keys) that were written.
-Nick Johnson
On Apr 15, 2:57 pm, bamkraxler cpsago...@gmail.com wrote:
I have a form that a user
app.yaml:
- url: /.*
script: main.py
main.py:
# some imports and classed
application = webapp.WSGIApplication([('/page1', Page1),
('/page2', Page2),
('/.*', MainPage)]) # all other urls
will handled by this MainPage
Hi T.J.,
I'm glad you've raised this issue. The documentation on quotas has most of
this information:
http://code.google.com/appengine/docs/quotas.html
For additional limitations, most overview sections on the APIs and services
have specific details for that service. For example, see:
Hi Ray,
Which operation was is that timed out (get, query, put)? Also, how
consistently are you seeing these timeouts?
I generally recommend catching datastore timeouts and handling them in a way
that makes sense for your app. There are currently occasional (quite rare as
a percentage) timeouts
Hi Wendel,
If you send me the email address for the account that you are using, I
can look into raising the number of allowed apps for your account.
Cheers,
Jeff
On Apr 15, 4:09 am, Wendel wd.dewi...@gmail.com wrote:
Hello,
I can't find any contact form or telephone number in the
Hi,
I have built a simple app on my system using Eclipse + plugin provided by
google. The app simply parses an XML file, applies XPath and prints out the
the result using servlet.
The app works fine on my system but when deployed to the app engine, it
throws error. Why is that.?
This is a simple
Hi Michael,
Could you try signing in again, I believe this should now be fixed.
Apologies for the inconvenience.
Happy coding,
Jeff
On Tue, Apr 14, 2009 at 7:24 AM, Michael Makunas mich...@makunas.comwrote:
Apologies for my first post here being a plea for help, but the normal
channels
Hi Nav,
In most cases the best way to handle this situation is to fill out the form
here:
http://appengine.google.com/waitlist/sms_issues
I've gone ahead and enabled your account, could you try it now?
Happy coding,
Jeff
On Tue, Apr 14, 2009 at 10:00 AM, Nav gnkr...@gmail.com wrote:
Hi,
I've searched quite a bit didn't find much information on this so I
wanted to check I'm doing the right thing. Also hopefully this will
help others who come across same situation. Any suggestions and/or
additional info from the group is greatly appreciated.
In my app using Django 1.0 I allow
Hello Ken,
I think yes, as long as the original image is less than 800px in x or y,
whichever is larger. I'm getting this info from the picasaweb FAQs:
http://code.google.com/apis/picasaweb/faq.html#embed_image
(You also might get better assistance in the Picasa data API discussion
group:
This is happening frequently today. I think it must expose a weakness
in the transaction code. Hey, I know that what I'm doing with this
code is totally lame -- basically causing many many transaction
collisions - but clearly there's a problem here with the transaction
code that creates the
Good points.
I rewrote the test so it fires off 20 requests from 20 distinct ip
addresses simultaneously, once a second 10 times.
In effect 20 concurrent requests, once a second.
I had about 15% loss and the request time degradation was there. (2
seconds to fulfill a request on an idle
Hi, I am using django .
I am trying to use a If statement with an or.
what I am trying to do is make a if statement like if the website
title is this or that then do this.
so It's like IF title = home or request do this{
}
when I tried that I got a error wrong block or something
Hi,
Added multiplayer rooms to the game where you can solve the same
puzzles with your friends in real-time.
Chat functionality is also present in the rooms.
Cheers.
On Feb 27, 2:11 am, Ben Nevile ben.nev...@gmail.com wrote:
really fun game!! Nice work.
Ben
On Feb 25, 4:08 pm, indra
Hi... I have a similar situation:
I want to iterate over a large set of database entrys with a scheduled
cron job.
by now, I can manually use a page to do that using this:
http://code.google.com/appengine/articles/update_schema.html
(basically: iterates over small parts, and state is mainteined
Just an FYI, the ability to fetch just the keys for entities which match a
query (instead of fetching the full entity) is a feature request which is on
our radar.
Good question,
Jeff
On Wed, Apr 15, 2009 at 7:57 AM, 风笑雪 kea...@gmail.com wrote:
No you can't.
The entity stores as a pair of
2009-04-15 15:23:07,473 ERROR appcfg.py:1235 An unexpected error
occurred. Aborting.
Traceback (most recent call last):
File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle
It deployed fine earlier today. Minor changes to source code only.
Any
Error: Not Found
The requested URL / was not found on this server.
My entire site is gone now.
http://www.tapingya.com or http://tapingya.appspot.com
Is this just me or a GAE issue?
Barry
--~--~-~--~~~---~--~~
You received this message because you are
Anybody?
This problem is odd, as the file I'm trying to download is up and
running, so I'm pretty sure it's not just a matter of the fetcher not
being able to download it.
Also the Unknown error message can't be normal!
If anybody with access to the sources can give me a hint, that would
be
I went to the Versions pane of the Administration section and no
version was highlighted as a default. So I chose one and made it the
default. Now pages are serving again.
scared to deploy...
Ben
On Apr 15, 3:39 pm, bvelasquez bvelasq...@gmail.com wrote:
Ok, I'm not happy it happened
Hi All,
I'm coming from a LAMP-style background where one had to be pretty
careful about what's allowed near the database.
This is also my first Python code, so it's a learning curve for me.
I've heard that the psycopg Postgres SQL interface handles strange
HTML sent to it automagically (refer
Looking for volunteers for open-source Google App Engine development
of demo for non-profit association
Autelic (www.autelic.org) is a non-profit association working to
provide simplified technology solutions to novices, particularly the
elderly. Check our web-site for more info.
We'd like to
We are investigating this deployment issue now.
You can redeploy using an alternate major version in your app.yaml
file, test the major version using
majorversion.latest.yourapp.appspot.com, then switch major versions
using the set default version feature of the Admin Console.
--Matthew
On Apr
Hmm, it is very weird, my code is nearly exactly the same yet the data
doesn't get persisted.
Paul.
2009/4/15 风笑雪 kea...@gmail.com
Seems no problems with me:
class Msg(db.Model):
text = db.TextProperty()
class Handler(webapp.RequestHandler):
def get(self):
msg = Msg.all().get()
Hi mifki,
Could I see a bit more detail about your current setup? What are your
DNS settings for the naked domain? I know some users had set up
forwarding with their domain service provider and it sounds like you
want to undo the naked domain masking.
Thank you,
Jeff
On Apr 14, 2:32 pm, mifki
Naked domains are now supported in Google Apps? How? Is there a doku
on how to do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
As Ben said, where is that number coming from? It sounds unusually
large. Check your GAE logs to see if it's ms-CPU or what. Note that
if you make multiple FB API calls, your handler will take as long as
all of the round trips to FB and back.
FYI there is a GAE+Facebook group here:
You need to ramp up your tests over many minutes to allow GAE to spawn
enough instances to handle the traffic. I don't know their exact
algorithm, but I know it takes time to scale up.
On Apr 15, 1:33 pm, Anonymous Coderrr greedw...@gmail.com wrote:
Good points.
I rewrote the test so it
I second Vaswani's suggestion. At this time, there is no way to directly
access another application's datastore outside of setting up an interface
yourself to retrieve and return data from a certain endpoint of one app for
use with the other.
- Jason
On Tue, Apr 14, 2009 at 6:24 PM, Gopal
How about the function in Google App Engine
is it everything in GAE can done by Python = can be done by Java in
GAE ??
On Apr 15, 11:06 pm, 风笑雪 kea...@gmail.com wrote:
I can give you some result of db operation using Python.
I did this test last week, but I can't find my code now...
Someone
I guess I'm not seeing the advantages of the Google App Engine right
off the bat. What types of services are you deploying that others are
using? Currently, I'm just envisioning how I could use this to power
services for a website... but then why wouldn't I just upload the java
or python? Ok,
GAE is free to get start, has many develops and users who can help
you resolve problem, use a CDN to ensure the speed wherever visitors come
from, and so much more.
And I use it to learn web developing in Python, it offers
an excellent environment for study.
2009/4/16 Banaticus
Would something as simple as every day 09:00 be enough? (No it's not
there yet, just enquiring).
On Apr 15, 9:10 pm, an0 an0...@gmail.com wrote:
Dan, It is nice to see quick response and even better, quick reactions.
And I'm really glad to hear that the every month shortcut given in the
try this:every day of month 09:00
The document is wrong, i met the same error.
2009/4/16 Anthony Baxter anthonybax...@gmail.com
Would something as simple as every day 09:00 be enough? (No it's not
there yet, just enquiring).
On Apr 15, 9:10 pm, an0 an0...@gmail.com wrote:
Dan, It is nice
78 matches
Mail list logo