Sounds like you could just keep it around for 30 minutes or an hour,
refreshing it after it expires.
What would be nice is to be able to perform the refresh asynchronously. Say
it takes 5s to build a piece of data that every appserver uses for
practically every request. Instead of relying on
Hi Experts,
as I am a Newbie in AppEngin and GWT and therefore of this forum I was
wondering if I use it accurately. Reason of this question is, that my first
questions have been read (and also answered) within just a few minutes.
Now there hasn't had any reaction on my last 3 postings, so I
Hi,
I suspect that it is because your last few posts have been asking questions
about only GWT - if you keep you GAE questions in this forum and the GWT
questions in the GWT forum, I suspect you'll get more responses!
Cheers,
Simon
--
You received this message because you are subscribed to
I want to code on client side sending RPC to server per minute.
As app engine does not allow Thread.sleep and timer, what is the
workaround of that?
--
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
Hi Martin,
OAuth might work for you. I'm building an app on GAE using OAuth to
connect with meetup.com's API. It works like a charm once you figure
out the OAuth workflow. I'm using OAuth v1, and the access tokens
don't expire until the user explicitly revokes access to your
application. People
Why not call memcacheService.delete( keyObject ) ?
J.Ganesan
On Jun 14, 8:25 pm, tempy fay...@gmail.com wrote:
Hello all,
I'm wondering if its possible to design a cache using data in static
variables. I have certain pieces of small and unchanging data, such
as a banner for the top of the
Hi Dan,
I know it's been a while, but were you ever able to work around this?
Thanks
John
--
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
Ok, I kept trying things until I found something that worked. The
information is in a few posts out there as they touch on related issues.
In each thread I call
ApiProxy.setEnvironmentForCurrentThread(testEnvironment);
The testEnvironment is just
Environment testEnvironment = new
I am using GAE SDK 1.5, running locally, I have entity id declared as:
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Long id;
and transaction explicitly disabled in persistence.xml
property name=datanucleus.appengine.autoCreateDatastoreTxns
I think you partially answered your self, If you cant do it on server then
use Thread.sleep at client side.
also you have option to use DelayQueue at client side(if its not
GWT)
http://download.oracle.com/javase/6/docs/api/java/util/concurrent/DelayQueue.html
Put your all request on
Hi,
I wrote a really simple rest interface setup using jersey-server /
jersey-guice / jersey-json (1.7) and delivering json as output.
It runs without any problems on the local dev environment, but I am getting a
Could not initialize class
com.sun.xml.bind.v2.runtime.reflect.opt.Injector (full
Hi everyone,
Prerelease SDK for 1.5.1 is ready for testing, feel free to download
and give it a try for local verification:
http://code.google.com/p/googleappengine/downloads/list
See release notes below: notice ProtoRPC, Channel API presence, WebP
support, X-AppEngine-Country header and a lot
Didier and J. Ganesan, I'm not talking about memcache. I want
something as simple as a static map with synchronized access, within
which I would cache data.
Jeff, how would one accomplish that 30 minute timeout, without
threads, timers, etc. I suppose I could keep the time of entry, and
if
Thanks Jeff, I think I will use Longs as you suggest. I was
originally thinking why add an extra piece of data when there's a unique
value there? Well, now I know why!
Just one question - the DatastoreService.allocateIdRange() - when would this
be used? I have read the javadoc and understand
I am running into a similar issue. I am using Memcache as the data store. To
simulate access by different clients, I am using multiple threads that
access the same memcache. However, thread A is not seeing the data put by
thread B. I tried using ApiProxy.setEnvironmentForCurrentThread with a
Hi,
I am using such implementation, with 15 mins refresh time, for my
application. you can see the implementation here ...
https://code.google.com/p/claymus/source/browse/trunk/src/com/claymus/Localcache.java
On Wed, Jun 15, 2011 at 3:37 PM, tempy fay...@gmail.com wrote:
Didier and J.
Prashant, thats exactly what we were talking about, that code looks
great, thanks!
On Jun 15, 12:46 pm, Prashant antsh...@gmail.com wrote:
Hi,
I am using such implementation, with 15 mins refresh time, for my
application. you can see the implementation here ...
I've finally decided to upgrade, while my data still isn't huge.
Maybe I'm missing something, but I'm yet to find an article or blog
post or group entry that has simple recommended steps, instead I'm
piecing the procedure together. As I understand it, it goes something
like this:
- Install
Any ideas? This problem is starting to get really frustrating :(
Help would be very appreciated :)
On Mon, Jun 13, 2011 at 3:24 PM, Zerot Samsa zerotsa...@gmail.com wrote:
Yes, that's the value returned by ChannelService.createChannel(channelId),
where channelId is the email address of an
On Wed, Jun 15, 2011 at 11:28 AM, Raphael André Bauer
raphael.andre.ba...@gmail.com wrote:
Hi,
I wrote a really simple rest interface setup using jersey-server /
jersey-guice / jersey-json (1.7) and delivering json as output.
It runs without any problems on the local dev environment, but I
Great news!
Where can I find more information about the Channel API's user presence
functionality?
Best wishes,
Dan
--
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
Hi, Inder.
I ran the following test, which indicates to me that memcache is shared
nicely between threads.
@Test
public void testThreadedMemcacheAccess() throws InterruptedException {
final String key = foo;
final String value = bar;
Thread t = new Thread(new Runnable() {
public void run() {
What I want to do
query.setFileter(startTime now )
how to pass in the parameter for 'now'?
I tried both below and non of them works
query.setFileter(startTime + (new Date()))
query.setFileter(startTime + (new Date().getTime()))
Please suggest!
Thanks!
--
You received this message
First, what version of the SDK are you using? It looks like you're
using something before 1.5.0 (based on the text of the error message)
-- can you try with 1.5.0?
Basically the logic that's happening here is:
- the application calls create channel
- the dev appserver gins up a token
Thanks for the detailed reply and the code to reproduce that it works,
Frank.
I am using Memcache as the datastore as a temporary measure and for faster
performance. In my application, I can live with the fact that the cache can
be cleared out.
Thanks
Inder
--
You received this message
Hi Folks,
Pardon the somewhat basic question, I did try going through various online
guides but never really got the answer to this one.
I am running app-engine with 3 instances. I share data across these
instances using Memcache. What is the right way to instantiate it such that
all three
Warning: Failed startup of context
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@17b40fe{/,/
home/xxx/.build/war}
[java] java.lang.NullPointerException
[java] at
com.google.appengine.tools.appstats.Recorder.checkNotNull(Recorder.java:
365)
[java] at
For v1.43: the bug is
http://code.google.com/p/googleappengine/issues/detail?id=4653
For v1.50, the bug is
http://code.google.com/p/googleappengine/issues/detail?id=5053
Hi, googlers, could you be more serious on the app engine java sdk?
--
You received this message because you are subscribed
Thanks for the quick reply.
At least now I get what's happening under the hood ;)
I will try to simplify the client id and will inform you about the result.
We are using SDK 1.4.2
Do you think that might be the problem?
If so, we will try to migrate to 1.5.
Thanks so far.
I will post the result
To clear things up:
SDK = 1.4.2
The bug appears very often in development mode and very rarely in production
mode.
Any ideas?
Thanks,
Z
On Sun, Jun 12, 2011 at 3:36 PM, Zerot Samsa zerotsa...@gmail.com wrote:
Hi!
I have a very strange problem when retrieving entities from the
datastore (I'm
One case is when you need to save several different entities that all
reference each other. Let's say A has a reference to B, and B has a
reference to A. If you relied on key autogeneration you would need 3 puts:
* Put A (which initializes the id)
* Set B.a to the id of A, put B
* Set A.b to
I have not gone live with my app yet, so I don't mind losing all my data,
but i'd rather not lose my appid (at least until ssl on domains are sorted).
Is it possible to switch to HR from M/S and keep the app id?
--
You received this message because you are subscribed to the Google Groups
You guys fixed the Struts 2 issue! Thank you so much :)
--
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
https://groups.google.com/d/msg/google-appengine-java/-/WGeEfLI0hvoJ.
To post to this
Any replies on this...
-Aswath
On Tue, Jun 14, 2011 at 9:44 PM, Aswath Satrasala
aswath.satras...@gmail.com wrote:
Hello,
Is there any limit on the number of namespaces per app-id.?
-Aswath
www.AccountingGuru.in
--
You received this message because you are subscribed to the Google
No limit.
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, Jun 16, 2011 at 10:18 AM, Aswath Satrasala
aswath.satras...@gmail.com wrote:
Any replies on
There are costs for large numbers of namespaces but there are no hard limits
on number of namespaces per app-id.
The costs are somewhat obvious, e.g. an __namespace__ query will take
longer, meaning you'll need to segment your query, there will be datastore
stats on a per namespace basis, meaning
Hi,
Memcache on GAE is based on JSR-107: see http://jcp.org/en/jsr/detail?id=107
The purpose of jsr 107 is Specifies API and semantics for temporary,
in memory caching of Java objects, including object creation, shared
access, spooling, invalidation, and consistency across JVMs
So, memcache is
Sorry for the stupid question, but in what scenarios would we need to
allocate id?
Usually if I need the id to be something, i just use string (e.g.
email address), otherwise, just let datastore set it for me (when
persisting).
On Jun 15, 6:26 pm, Drew Spencer slugmand...@gmail.com wrote:
Just
http://blog.notdot.net/2009/9/Handling-file-uploads-in-App-Engine
-Nick
On Tue, Jun 14, 2011 at 9:33 PM, Tim meer...@gmail.com wrote:
On the topic of file uploads (if you'll pardon slight hijacking of the
thread), when using the provided webapp framework, I couldn't find a way to
get hold
Hey there
I have an application running on GAE with about 200'000 visitors a day (
www.miumeet.com).
AppEngine is expensive, but I'm willing to pay the price for the great
service
we get.
About *25% percent of the cost from the whole app come from the
xmpp.createChannel rpc.*
I can do more over
Hi,
I'm new to GAE and I'm trying to use the command line to download the
logs.
So far it seems that I have to perform 2 requests in order to get the
entire log:
- first request - with the severity=0 option to get my application
logs
- second request - without any filter on the severity and this
Hi,
I'm trying to use the command line in order to download my log files
from the GAE.
I saw that there should be an option to download the log files with
the performance information (cpu etc.) using the include_all option
(see http://code.google.com/p/googleappengine/issues/detail?id=2416)
I
On Tue, Jun 14, 2011 at 4:53 PM, Barry Hunter barrybhun...@gmail.com wrote:
xmpp directly might be useful as a communication medium. I dont really
know much about it. Perhaps you can use it without involving
AppEngine. Or AppEngine could be a 'controller' or a 'mediator' so
that devices can
Hi Everybody,
I tried using google app engine to store data but i still have this
error
Unable to access
https://appengine.google.com/api/updatecheck?runtime=javarelease=1.4.3timestamp=1300990822api_versions=['1.0']
it seems that there is no link between my application code and the
Datastore
Hi,
Could someone figure out about the source of those errors,
Please help,,
Gaara
INFO: Unable to access
https://appengine.google.com/api/updatecheck?runtime=javarelease=1.4.3timestamp=1300990822api_versions=['1.0']
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException:
Hi everyone,
Just thought I'd drop a note asking if any Google App Engine users or
developers will be around at USENIX 'ATC -
http://www.usenix.org/events/atc11/cfp/.
If so, then it would be great to get together informally, or if there
are enough people then perhaps even organize a BoF group.
Hi everyone,
i tried to work with tha datastore api but it seems that there is no
connection and the link to *jpa*.jar and *datanucleus*.jar don't
appear in my classpath by default,is that the mistake or what,can
someone help please.
Peace,
Gaara
--
You received this message because you are
I am having major issues getting my app to deploy.
I have been working with django-norel test app and the all buttons
pressed app. I managed to deploy an app the other day, but I couldnt
create a superuser via
manage.py remote createsuperuser since I kept getting a 400 bad
request not
Hi,
I have 3 classes: MyClass, MySubClass and ProblemClass
The first one have two MySubClass objects: MySubClass1 and MySubClass2
Each MySubClass has a ProblemClass object: ProblemClass1 and
ProblemClass2
Just before call 'manager.makePersistent(MyClass);' I checked the
attribute in both
I am trying to implement a system for an object that will be updated a
lot. The way I was thinking was to turn the updates into inserts then
have a batch job that executes the inserts in batches to update the
highly writable object. The inserts can either be sorted by time or by
some sort of an
i have uploaded a php web application to *google app engine* , but all the
POST back pages are open as a *'save as'* without post backing the data ! ..
any one has a solution for this ? or a alternative for POST ?
--
You received this message because you are subscribed to the Google Groups
Hi Greg,
I think the new pricing is fair and we as Google developers will also like
to see App Engine sustainable.
One particular note about the Email XMPP API pricing. Which I think is a
little bit steep.
Will Google consider to give more allowance to email quota/pricing sending
from
No, you need addition Property in userData for this.
But may be for you work something like this:
entity = country.all().order('name')
for entry in entity
for current_userData in entry.userData_set
#current_userData - is you
userData.all().order('country.name')
On Jun 14, 12:43 pm,
Ikai
Could you expand on this example a bit, or provide a link that
discusses it? I'm very interested in best practices for datastore
structure. I've read a number of comments that indicate that
ReferenceProperty implementations can be datastore intensive and that
it's better to find creative
Hi all
I have just reached my 2,000 limit on free emails. And now GAE will
not send any more emails :-(
Billing is enabled so I think that I should be able to send more than
2,000 emails with a maximum rate of 5,100???
Can someone please enlighten me?
TIA
q:o) Theis
--
You received
if A B C and are not dependent on each other and ordering doesnt matter for
you e.g. if you process C A B..then also its fine then you can put a another
column in this insert table. say processed.
When inserting make it N(if string) or false(boolean).
and query that entity based on this column.
Hi everyone,
Prerelease SDK for 1.5.1 is ready for testing, feel free to download
and give it a try for local verification:
http://code.google.com/p/googleappengine/downloads/list
See release notes below: notice ProtoRPC, Channel API presence, WebP
support, X-AppEngine-Country header and a lot
Hi,
can anyone give me a link to a simple tutorial to start Datastore java
API, please help ,i tried it but it seems that there is no connection
between UI in the API and the code,,
Peace,
Gaara
--
You received this message because you are subscribed to the Google Groups
Google App Engine
Thanks for that Nick.
Seems I must have been sleeping when looking at that part of the webapp docs
- getting the appropriate field from the request.POST
file = self.request.POST[filefield]
gets me an object with properties filename and type and value (for the
actual decoded data) -
Hi,
First :What this sentence means ,Datastore has no entities in the
Empty namespace. You need to add data programatically before you can
use this tool to view and edit it.?
Second : is all DSK version work well with Datastore Java API?
Thanks,
Gaara
--
You received this message because you
I didn't know that it's just simply so.
Thanks a lot for your information.
On Jun 10, 12:06 pm, Robert Kluin robert.kl...@gmail.com wrote:
Why don't you just go tohttps://appspot.comand view the connection
and certificate info?
On Wed, Jun 8, 2011 at 22:38, Khang Nguyen
Hi,
the file local_db.bin is not generated for me
please help
Peace,
Gaara
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email
Hi;
I tried to send mails to my subscriber list.But when i send some mails
to my subscribers my mails not sending by appengine.
My all mails are blocking everthing looks fine but mails not sending .
Can app engine have a simultaneus concurrency limit or secondly limit
for mailing ? I tried to
Maybe. I don't use PolyModel. Mostly because I think people go a little too
overboard with OO.
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 Tue, Jun 14, 2011
The most brief explanation I can offer is this: think of the datastore as a
giant key-value store. Design your persistence to this model as much as
possible such that you can do as much using get by key. Minimize the total
phases of RPCs - remember that you can batch get keys. Use queries
Oh ... and use entity groups.
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 Wed, Jun 15, 2011 at 9:06 PM, Ikai Lan (Google) ika...@google.comwrote:
The most
The email pricing is very competitive actually. And pretty much in
line with Amazon SES. What I would like to know is if Google has any
plans to improve mail delivery rate. For instance there are many
threads in here about yahoo flagging gae mail as spam along with
others. The reply was
Great news!
Where can I find more information about the Channel API's user presence
functionality?
Best wishes,
Dan
--
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'm trying to migrate to the HR datastore and have started the
process, but with only about 15 MB worth of data it has already gone
through 18 hours of CPU and does not seem to be anywhere near
stopping. This doesn't smell right so I stopped it by pausing the
default queue.
The status does not
Ravi,
Thanks for the feedback. I was thinking exactly along the lines of
what you have said. The only problem that I see is that I plan on
processing multiple inserts in one batch job. The inserts and the
highly updated object will not be updatable in a single transaction.
Thus, there might be
In those scenerio you can go ahead and do something extra...
Keep a list of Keys in your highly updating object, and whenevr you process
one insert and update it into main updating object make sure you put the key
in this object's list property.,SO your main object will know if i have got
the
I don't know if this helps any, but I can see that for every entity
type, the last shard seems stuck.
So, if entity X has 1 shard assigned to it, then the details will say
that shard 0 is running, the last work item is unknown, and 1 second
has elapsed.
If entity Y has 26 shards assigned to it,
Hello,
Sorry, wouldn't normally ask something that I am sure I could google
for, but as it is relevant to the discussion I thought I would pop it
here.
Ikai, you mentioned using a JSON Object to store rich information. I
can understand the why, I just wandered about the how.
Would the answer in
Can some help me to resolve the source of this error
Thanks,
Gaara
java.lang.IllegalArgumentException
at org.mortbay.jetty.Response.sendRedirect(Response.java:386)
at
javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:
126)
at
Word to the wise: The data-transfer utility does not like orphan
objects.
On Jun 15, 5:55 pm, tempy fay...@gmail.com wrote:
I don't know if this helps any, but I can see that for every entity
type, the last shard seems stuck.
So, if entity X has 1 shard assigned to it, then the details will
[11:26:32] Chiguireitor guys, you tell me when i can fire the
barrage of questions :D
[11:26:50] aa_ Chiguireitor: you make it sound so fun
[11:27:04] Chiguireitor lol
[11:29:49] dunker yes im ready !
[11:31:16] +proppy_google trying to get more people in :)
[11:31:21] Chiguireitor hehehe
This is actually a pretty good implementation. The only issue is the
size of the processed task list. Instead of having two tasks, I am
thinking that the one task will clean up the processed task list
before it begins its work. Basically check that the processed inserts
have indeed been deleted.
Don't attempt to delete and then recreate. You won't be able to
reclaim your app id.
Your best option is to create a new appengine app and have your live
domain name point to that.
That is - if you have people go to www.mysite.com and that points to
mysite.appspot.com, just create a
Hi,
I am developing an app on GAE, and the model that I define has many
properties, around 40, that one of each is large in size. I didn't
consider that as a problem when I was designing it because I think
storage is cheap that I would like to save as much information as
possible. But after I
I have been experimenting with deploying a new version and switching the
default when this happens; seems to fix the problem for a while. YMMV
--
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'll second this. My experiments with PubNub were very promising.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/IY9qjYEjrDsJ.
To post to this
The xml files in question reside within the same domain.
On Jun 10, 11:36 pm, Calvin calvin.r...@gmail.com wrote:
I think you need a crossdomain.xml file hosted on your app engine app.
Flash doesn't allow swfs to read data from other domains unless permission
is granted by crossdomain.xml.
The xml files in question reside within the same domain and the .swf.
Everything is hosted on GAE.
On Jun 10, 11:36 pm, Calvin calvin.r...@gmail.com wrote:
I think you need a crossdomain.xml file hosted on your app engine app.
Flash doesn't allow swfs to read data from other domains unless
You are probably indexing all of the properties (this is default behavior).
Indexes are expensive to create and consume a large amount of storage as
well. The solution is simply not to index what you don't need to query on.
The mechanism to flag a property as unindexed varies with which GAE you
You guys fixed the Struts 2 issue! Thank you so much :)
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/WGeEfLI0hvoJ.
To post to this group, send
I've been seeing more and more of these DeadlineExceededError
exceptions over time especially in warmup requests.
My /_ah/warmup should finish in about 6s (PersistenceManagerFactory,
Jaxb). And I'm seeing these exceptions on user requests too even
though the average latency is usually ~50ms.
Local times for logs... YES! You don't know how much half-baked
mental arithmetic this is going to save me!
And the client location header is going to be really useful too.
Thanks!
Greg.
On Jun 15, 9:19 pm, Johan Euphrosine pro...@google.com wrote:
Hi everyone,
Prerelease SDK for 1.5.1
Bulkloader *DOES* work with HR per Barry's comments. The documentation
is not up to date, which is frustrating, but it does work. You need
the --url parameter and you need to add the s~ when uploading to
production.
On Jun 15, 7:46 am, Lancelot llaanncceello...@gmail.com wrote:
So we do not have
88 matches
Mail list logo