This is a known bug and seems still not fixed yet. You will need to manually
serialize in you code
Also, if you just started coding on GAE, check out Objectify / Twig / Siena
etc. These are all very good frameworks.
--
You received this message because you are subscribed to the Google
I also don't understand why we cannot switch.
A lot of people are requesting this (including myself).
On Jul 22, 7:14 am, Miroslav Genov mge...@gmail.com wrote:
I have the opposite situation :). My app is using master/slave and I want to
migrate it to use the multi-master replication.
Is
You can have deploy your quatrz scheduler in EC2 and the only job is pinging
your corresponding appengine URL according to the schedule.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this discussion on the web visit
I'm starting my application local and I will perform some functional
tests within a JUnit tests.
From within this same JUnit test I also want to check if values are
stored in datastore.
Can I access the same datastore the running webapp is using, but then
from within JUnit test running in a
Can anybody help me to know how much i will spend with GAE?
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
http://code.google.com/appengine/docs/java/config/cron.html
http://code.google.com/appengine/docs/java/config/cron.html
http://code.google.com/appengine/docs/python/config/cron.html
http://code.google.com/appengine/docs/python/config/cron.htmlIs that what
you want?
*Jayr Motta*
Software
Will Quartz run in a backend instance?
http://code.google.com/appengine/docs/java/backends/overview.html
I don't remember offhand if Quartz uses threads. I'm pretty sure it does
which will mean it *won't* work, but I figured I'd throw it out there.
Ikai Lan
Developer Programs Engineer, Google
The OP mentioned that cron was too limiting for his particular needs.
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine
On Fri, Jul 22, 2011 at 10:19 AM, Jayr Motta
Have you taken a look at the scheduler that has shipped? It should be under
Application Settings. If there's anything there that you think might be
needed, please let us know.
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter:
On Jul 22, 7:29 am, Max thebb...@gmail.com wrote:
This is a known bug and seems still not fixed yet. You will need
to manually serialize in you code
It may be a known bug to you, but perhaps if someone actually register
it in Google's issue log then they would know about it?
There are some issues with JSF session-scoped beans. In some cases
session bean changes are not replicated to another server instances.
For details and workarounds look at this post
http://java.zacheusz.eu/google-app-engine-http-session-vs-jsf-en/394/
--
You received this message because you are
Am wondering how in the low level api can i represent a man to many
relationship , this is a good approximation?
Entity entityA = new Entity(TypeA);
entityA.setProperty(name, nameUserA);
Entity entityB = new Entity(TypeA);
entityA.setProperty(name, nameUserB);
Hello,
Thanks for your contributions for a GAE-Java CMS.
I had a look at the code of claymus. It seems that you use the
combination of gae and gwt, this is a very interesting point.
But on the client side, some architectural questions come to my
mind...
I don't understand your separation of
Hi,
I need help to use Provisioning API with OAuth authentication, the following
problem occurs, how to do domain validation in java api ? In Python it is
possible to know the following code.
service = gdata.apps.service.AppsService(domain=consumer_key)
A few comments:
1. That's more of a 1:1 relationship
2. Try to avoid using the term child. The reason is that when you start
working with entity groups, you will confuse yourself with terminology. If
you don't understand entity groups yet, take a look at these docs:
No body can answer that without knowing exactly how your app uses billed
resources.
Latest details can be found here:
https://groups.google.com/d/topic/google-appengine/Hluog1_a3n4/discussion
BTW, 10 queries is too much - your goal should be zero or one query per page
by using
Yes.. I looked at Background instance. It allows to have long tasks but it
doesn't allow to spawn threads. Quartz fires off events in threads. So I
guess quartz is not an option on app-engine. We can use appengine cron jobs
to some extent but if you need to fire an event at exact minute, it
Hello Michel,
Thanks for checking out the code and the query :)
On Thu, Jul 21, 2011 at 9:49 PM, Michel Schroeder michels...@gmail.comwrote:
Hello,
Thanks for your contributions for a GAE-Java CMS.
I had a look at the code of claymus. It seems that you use the
combination of gae and gwt,
One more option: you can set ETAs in task queue tasks. That is, when some
action occurs, you can say, Run this at 6:30am, and the job will run at
roughly that time:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.Builder.html#withEtaMillis(long)
Hi Ikai,
I cannot find answer to:
1) Will the limit of 30s to start an application be lifted?
The other question seems to be answered since the changes in 1.5.2
(http://code.google.com/appengine/docs/adminconsole/
performancesettings.html#Setting_the_Minimum_Pending_Latency)
On Jul 22, 4:24
I haven't heard any plans to lift the 30s load time to start an application.
30s+ loading time seems pretty bad to me ...
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit:
Yes might be, but frameworks like Grails need a longer startup time.
It does not matter for any application server nor cloud provider
except GAE.
That's why I'm asking about future working of scheduler.
Further, if I keep up enough instances I would not bother the startup
time at all...
I'm
What's the startup time on Grails now?
I can ask about the 30s startup time, but I'm sure there are some pretty
serious consequences to an app with a 40s-50s startup time. I'm a bit
surprised, honestly, because even a JRuby on Rails app shouldn't take more
than 30 seconds to startup.
Ikai Lan
Honestly I don't know what the current startup time for Grails on GAE
would be now. Also depending on what plugins installed etc.
Current version does not even work on GAE. I was thinking about trying
it out again but remembered the 30s limit I hit some time ago.
So I asked this question on the
Im trying to get a kind of auto increment number for an entity. I all
ready create a counter class to take a track of the quantity of
entities so i can use the counter to get a correlative number , but
its not working the right way, so wonder if anybody know how to
implement these and if its
I noticed a new field since 1.5.2 : Enforced Rate.
Could that parameter help us make sure enough instance are created to
process our tasks ?
Maxime
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this discussion on the web
Hi,
Is data going to be added while this job is running? Because that is
important to know.
I like something like Stephen's second idea. Change your data model to use
those four fields (or a hash of them) as the key name. Map over your
existing data rewriting it. Once your done, there will
Every site and app are different. Without any idea of what you're doing
there is no way to compare. What kind of traffic levels do you expect? Will
each request hit the data store, how many times? Will there be back end
processing involved?
Robert
On Jul 21, 2011 8:01 AM, Kwame
Hey Michal,
You can get good performance while controling the rate by using a
combination of the two methods. Split the list into several large chunks,
inserting a processor for each chunk. Then each of those processors can run
over their respective sets of addresses either mailing or
Just a note, if you want help you need to provide enough information that
someone can help you.
On Jul 18, 2011 7:50 AM, Madhusudhan G Revankar sudhansa...@gmail.com
wrote:
Hi,
I am facing problem in run/debug setting in eclipse for python(webapp).
Not able to run on google app engine.
I am experiencing GAE in eclipse.its working fine with java programming.But
its not happening same with Python.
While i run webapp using python.
I am getting *error *as follows :
*Status: 404 Not Found
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Expires: Fri, 01 Jan 1990
@Johan,
The issue is not about Always On instance being busy. Its actually the
other way ... the Always On instance is never busy ... at least that
is what we observed in last 3-4 days. Your explanation may be partly
true since this behavior keeps on changing.
For e.g. I have a snapshot of
Hi,
After today's upgrade my datastore is empty and my testdata is not
available.
I start my SDK Server like this (usually with the MacOS Launcher):
dev_appserver.py --datastore_path=/Users/cat/repositories/appengine/
my.datastore -p8080 .
Strangely --datastore_path is ignored and the
Still very close from Galoch situation, mine is a bit different.
My Dynamic instances dont seem to be recycled but still my Resident
instances dont seem to be used at all (see attachment).
Why ?
Francois
--
You received this message because you are subscribed to the Google Groups
Google App
@gops,
You should join google-appengine-go. Go is unbelievable fast on GAE; the
hello world takes 104ms to start a new instance and much less in the next
requests.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion
I got this resolved. Looks like some security/firewall issue in one of
office machine.
Now I installed Google App engine plugin in my home desktop eclipse and
deployed the app. It works fine now.
On Thu, Jul 21, 2011 at 10:44 PM, Veerendra Shukla
mobilegeni...@gmail.comwrote:
I created 3
Someone please correct me if I am wrong, but looks like the limit was
changed drastically. Now I see 8,640 channels limit for free apps and 95,040
for accounts with billing enabled. Now I think we can use it.
--
You received this message because you are subscribed to the Google Groups
Google
Update: (I'm going nuts)
I downgraded to 1.5.1 (restored GoogleAppEngineLauncher.app) and still
the same now ...
It seems that the upgrade to 1.5.2 did some permanent damage.
I am absolutely puzzled why --datastore_path= is ignored suddenly.
Here the full startup log:
cat$
Any update on this??
On Jul 19, 2:49 pm, Prateek Mathur prateek.mat...@metacube.com
wrote:
Hi,
I started seeing the following exception on my production builds
suddenly and my application is broken because of this.
java.lang.NoSuchMethodError:
I've tried adding
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from google.appengine.dist import use_library
use_library('django', '1.1')
to my application ,but it reports 'No module named django'.
What's wrong?
--
You received this message because you are subscribed to the Google
Is it anywhere explicitly documented that the ancestor of an entity
must have it's key in the same namespace as the entity itself? I'm
using namespaces a lot in our app and in production I get an error if
I try to do a transactional update of an entity with parent x in a
different namespace than
*App Engine Weekly Community Update #1*
Dear App Engine Community,
As discussed on IRC, each week I will bring some news and metrics
about the App Engine community activity.
Thanks a lot to +Rodrigo Moraes for reviewing this with his sharp
journalist eyes.
*Highlights*
1.5.2 Release Notes
Hi,
I need help to use Provisioning API with OAuth authentication, the following
problem occurs, how to do domain validation in java api ? In Python it is
possible to know the following code.
service = gdata.apps.service.AppsService(domain=consumer_key)
61% of posts answered within 2 days
1. I am glad that you are tracking this.
2. That's NOT a good percentage. Since this is your main support channel, this
should be 99.995% in 1 day. I'm not kidding. If you want to be in the software
business, walk the walk.
3. I'm skeptical about your
Hi,
I need help to use Provisioning API with OAuth authentication, the
following problem occurs, how to do domain validation in java api ? In
Python it is possible to know the following code.
service = gdata.apps.service.AppsService(domain=consumer_key)
Thanks Robert.
The reason I ask in such a general way is because it is difficult to
make such estimates at this time. The site is still new so it doesn't
have much traffic. I have accountant types breathing down my neck
asking for ballpark numbers! So, basically I just need a scenario of
any
I'm having a problem that may be related. I'm using django-nonrel which
sets the datastore path to .gaedata in the project directory.
When I start the server I get a log message that has the correct path:
INFO:root:Connecting to SQLite database '' with file
Cat, do you have backups of you datastore files from before you ran 1.5.2?
I was able to get running again by downgrading the SDK to 1.5.1 and
restoring my data files from a backup.
-Chris
On Fri, Jul 22, 2011 at 4:19 AM, Cat katz...@gmail.com wrote:
Update: (I'm going nuts)
I downgraded to
Are you using the version of StringUtils that is in com.repackaged? If so,
I'd advise you import a version of that into WEB-INF/lib. I'll check if it
has changed, but in general, you probably shouldn't depend on the stuff that
is in com.repackaged (I'll see if this is our policy and get it added
+1 for me. I have tried deleting the application plist as detailed in
this issue
http://code.google.com/p/googleappengine/issues/detail?id=1187q=datastore_pathcolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
but no joy.
--
You received this message
You can access the local datastore admin at:
http://localhost:PORT/_ah/admin
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine
On Thu, Jul 21, 2011 at 2:37 PM,
Only your version matters. However, it is a good idea to stay somewhat up to
date, as some APIs (experimental ones) get deprecated.
One more thing: I tried running a really old application a while ago that
was developed using an SDK version that was 1.1.x, and it wouldn't work with
the newest
On Fri, Jul 22, 2011 at 3:26 PM, Joshua Smith joshuaesm...@charter.net wrote:
Hi Joshua,
61% of posts answered within 2 days
1. I am glad that you are tracking this.
I'm glad that you find interest into those metrics.
2. That's NOT a good percentage. Since this is your main support
HI Galoch,
Thanks for the followup,
I think you are experiencing a combinaison fo the two following rules
I was pointing to in my previous email:
( reads as has priority for handling the incoming request)
2/ Spawning a new Dynamic instance Busy Always On instance
4/ Idle Dynamic instance Idle
Hi,
I need help to use Provisioning API with OAuth authentication, the following
problem occurs, how to do domain validation in java api ? In Python it is
possible to know the following code.
service = gdata.apps.service.AppsService(domain=consumer_key)
When are threaded instances considered busy?
If it is while they are serving only a one request it would explain
why Always on instances for threaded Java are now severely under-
utilized.
/Tom
On Jul 22, 10:57 am, Johan Euphrosine pro...@google.com wrote:
HI Galoch,
Thanks for the
1/ Idle Always On instance Spawning a new Dynamic instance
2/ Spawning a new Dynamic instance Busy Always On instance
3/ Idle Dynamic instance Busy Always On instance
4/ Idle Dynamic instance Idle Always On instance
So App engine prefers to use bored Always On instances over spawning new
This is a really great summary, a nice service Johan. Thank you for taking
the time.
I missed the IRC discussion. I'm sure one of the things discussed there was
something about the best way to publish this. Obviously this group is a
must. I'm trying to figure out a way where I can get this
Hey there
I'm building something like Google Analytics for Appengine but in real
time
(Including qps, hourly daily graphs, backend counters, monitors with
alerts, etc...)
The cool thing is that it only uses memcache to increase counters/stats so
its
really quick to use in prod code. Every minute
Johan,
it seems to me the problem is rule 4/ below.
Shouldn't the rule be:
Idle Always On instance Idle Dynamic instance
instead?
In this way, if you have a dynamic instance on, it will not handle traffic
unless the always-on ones are busy. So when the traffic decreases, and the
dynamic
Memcache works like an LRU cache, but I don't see why a would force out b
unless you ran out of space.
Also, App Engine's Memcache has 2 LRU structures: an app specific LRU and a
global LRU for that Memcache instance.
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog:
Oh, I see what you're getting at: you're asking me if B will still be in the
cache if A is still in the cache. That depends on whether or not the keys
hash to the same Memcache instance.
FYI - in general, we don't make any guarantees of this behavior, so it
potentially can be problematic down the
One more thing to be aware of: there are times when Memcache needs to be
flushed. If a flush happens sometime, B can have a value, but A would be
unset.
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit:
Thanks for getting back to me so quickly!
RE: Your last email, you wrote:
B can have a value, but A would be unset.
That wouldnt be a problem since i only want the implication A=B (If A
exists then B exists).
But I assume you meant:
A can have a value, but B would be unset. Right?
Can you
Ha ha ha ...
To be honest, I couldn't say off the top of my head, but it's not something
you can depend on.
Another thing you can think about doing is using the backend instances.
Those are more or less guaranteed to stick around, though you might not be
able to store as much data in them.
Ikai
I have tried to restore the datastore and the
GoogleAppEngineLauncher.app (with the SDK bundle inside) back to 1.5.0
but I cannot get it to run.
Its always the same error, as if the downgrade did not change the
python files.
Does anyone know how to get the SDK-version out of the running
appserver
Hi Johan,
Thanks for the explanation. I have couple of questions on that.
1. 1 Hours ago while all your Always On instance were busy and you
had a burst of incoming requests
While this may be true when my Always On instances were busy running
some stuff but what about when 2 Always On instances
hi all,
i *think* that it is honoring your datastore location (though the log
message is incorrect), but the change to rename your application to
dev~your appname in development has just rendered all of our test data
useless.
after re-importing my test data it does look like it is stored
Hi Jay,
This was also posted on Google Plus:
https://plus.google.com/111042085517496880918/posts/exjJoZwygq1
Until there're brand pages on g+, and then the weekly update could be posted
on a 'App Engine' profile, you can follow Johan using the link above.
-- rodrigo
--
You received this
That's a clever way to update the appid. I do not know if it works for
all cases (e.g. it may not work for all reference properties (stored
keys)) but is a neat trick.
Another way to deal with it is to use the --default_partition= flag
rather than using an older version of the sdk.
--Matthew
The current behavior makes me suspect we are being prepared for Always-
on being replaced completely by the new scheduler knobs. Being able to
turn up the number of idle instances does make always-on somewhat
redundant, as long as the idle instances stick around for a while.
Also, if always-on
Maybe a Google Alert for
site:groups.google.com/group/google-appengine/ intitle:App Engine
Weekly Community Update
http://www.google.com/alerts/
On Fri, Jul 22, 2011 at 5:30 PM, Jay jbaker.w...@gmail.com wrote:
This is a really great summary, a nice service Johan. Thank you for taking
the
On Jul 22, 10:34 am, Johan Euphrosine pro...@google.com wrote:
I'd love to track the actual resolution of questions but we miss
metadata to check if a question has been answered.
Maybe we (as the community) can agree on some convention were we use
nickname++ people as a signal of the
Thanks, Matthew.
I was able to update to 1.5.2 and use my existing datastore by adding that
flag.
It would have been useful if the release notes had mentioned that this would
be necessary.
-Chrsi
On Fri, Jul 22, 2011 at 2:39 PM, Matthew Blain matthew.bl...@google.comwrote:
That's a clever
Cross posting answer .. thanks to Mike @ groups.google.com/group/gs-
discussion
The REST API doesn't directly support wildcard request. You can ask
for a
prefix, (you can see documentation for this here
http://code.google.com/apis/storage/docs/reference-
headers.html#prefix)
but not (for example)
yup the sqlite updates don't quite seem to work.
i second that the release notes should be updated, the flag does seem to
work for me
cfh
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion on the web visit
I've suspected the same thing. So far we've seen no pricing info for
always on and questions about it have went unanswered. Not to mention
that $2.10 / week for three always-on instances is a lot different
than $40 / week.
Robert
On Fri, Jul 22, 2011 at 15:46, Tom Phillips
77 matches
Mail list logo