Re: [google-appengine] PageSpeed Trusted Tester

2012-04-17 Thread Takashi Matsuo
Hi Brandon,

These kind of feedback should be sent to a group for trusted testers.
Can you re-send it to the tester's group?

-- Takashi

On Tue, Apr 17, 2012 at 2:37 PM, Brandon Wirtz  wrote:
> http://www.webpagetest.org/result/120417_W7_94a0f5bf6f59e2865b3d0725dccbca1b/
>
>
>
> In case you want a sample result.
>
>
>
>
>
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of Brandon Wirtz
> Sent: Monday, April 16, 2012 10:24 PM
> To: google-appengine@googlegroups.com
> Subject: [google-appengine] PageSpeed Trusted Tester
>
>
>
> I saw there is a GAE Page Speed Trusted tester program.
>
>
>
> I just added my name to the list…
>
> But has anyone ever seen an improvement using this?  All the tests I have
> run it has slowed down my sites. Granted Nothing from google is likely to be
> as cool as my CDNinaBox.com product… but even sites that weren’t on my CDN
> product were often slower.
>
> Why am I wanting to sign up if I think it will be slower? Well I don’t learn
> things if I don’t try them.
>
> I am curious about “Not Changed” responses. I haven’t implemented that.
> Mainly because it scares me.  But I was wondering if anyone had any
> experience, or examples of where it made their stuff lots faster.
>
>
>
> -Brandon
>
>
>
>
>
> --
> 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 to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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 to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



-- 
Takashi Matsuo | Developer Advocate | tmat...@google.com | 03-6384-9224

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: appengine monitoring api

2012-04-17 Thread Takashi Matsuo
Hi guys,

Sorry for the very late reply,

Thanks for the feedback, we need to do some work to get this into a
reasonable state so we are shutting down the current TT program for
now until we have something better. We don't have any ETA for now, but
we're certainly building a new version of it, so stay tuned.

Thanks,

-- Takashi

On Fri, Mar 23, 2012 at 6:52 AM, Felippe Bueno  wrote:
> Hello Google AE Team,
>
> Is there any news on this ?
>
>
>  Life in App Engine Production.
>
> On Mon, Dec 5, 2011 at 7:54 PM, Brandon Wirtz  wrote:
>>
>> State of "your AppEngine" for monitoring.  I'd upload code, but we change
>> regularly, and our case would be specific to our functions. I would put
>> this
>> on more than one AppID so you can check errors against more than one app
>> to
>> see if your issue is localized. We do this to tell if GAE is broken or our
>> code is.
>>
>> User or bot access Your Appid.Appspot.com/amiup?MyRandomString
>>
>> Using whatever language and version you are running do the following
>> operations.
>>
>> Import every library you are using:
>>
>> Output (NOW!)
>>
>> Write Randomstring to Instance Memory
>> Return instance memory if equal report "Working"
>>
>> Output (NOW!)
>> Write Randomstring to memcache
>> Return memcache if equal report "Working"
>> Output (NOW!)
>> Write Randomstring to datastore
>> Return Datastore if equal report "Working"
>> Output (NOW!)
>> Fetch URL (google.com query Random string + OR The)
>> If success return working
>> Output (NOW!)
>> Loop X = X*2 +3 500 times
>> Output answer
>> Output (NOW!)
>> Do some Regex, or Django, or What ever imports you have things.  Output
>> (Now! After each one so you have the time it took to complete.
>>
>>
>>
>>
>>
>>
>> -Original Message-
>> From: google-appengine@googlegroups.com
>> [mailto:google-appengine@googlegroups.com] On Behalf Of JH
>> Sent: Monday, December 05, 2011 1:19 PM
>> To: Google App Engine
>> Subject: [google-appengine] Re: appengine monitoring api
>>
>> I remember this going into TT a LONG time ago... seems like a simple api,
>> very curious that it hasn't surfaced yet
>>
>> On Dec 5, 3:02 pm, Felippe Bueno  wrote:
>> > Hello all,
>> >
>> > Anyone know something about the "appengine monitoring api" ?
>> >
>> > I don't have any URL.
>> >
>> > I saw Alan Green talking about it on  Life in
>> > App Engine
>> > Production> > etailpage#...>
>> > .
>> >
>> > In fact, I only have the form request link .
>> >
>> > Thank you.
>>
>> --
>> 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 to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>> --
>> 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 to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
> --
> 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 to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



-- 
Takashi Matsuo | Developer Advocate | tmat...@google.com | 03-6384-9224

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Inefficient Session Implementation on Google App Engine / Java & GAE Critics

2012-04-17 Thread Takashi Matsuo
Hi,

Sorry if you already tried it, but we recently released asynchronous
session described at:
https://developers.google.com/appengine/docs/java/config/appconfig#Enabling_Sessions

Doesn't following setting help with your case?


I basically agree with Jeff though. Besides that, we can expect that
modern clients does likely have a better local storage, so it could be
another option.

-- Takashi

On Tue, Apr 17, 2012 at 10:29 AM, Thomas Wiradikusuma
 wrote:
> I end up setting  to false and implementing HttpSession myself
> which uses memcache (and +datastore for selected props).
>
>
> On Tuesday, 17 April 2012 05:51:22 UTC+8, Jeff Schnitzer wrote:
>>
>> There isn't a straight-up answer to that.  The question to ask is:
>> Why do you think you need a server-side session?  Depending on the
>> answer, there are various solutions.
>>
>> For example, if you're storing the authentication state of a user in
>> the session, store it as a signed cookie instead.  Easy.
>>
>> If you have some kind of per-user server-side state you are
>> maintaining, stash it in memcache (if it is not essential) or the
>> datastore (if it is).  This is what the session does, except that with
>> sessions you don't have granular control.  You end up struggling with
>> the performance profile because the behavior of sessions in a cluster
>> is poorly defined - some people need super transactional robust
>> behavior, others don't care if the data expires randomly.
>>
>> Jeff
>>
>> On Mon, Apr 16, 2012 at 3:27 PM, andrew 
>> wrote:
>> > As an ignorant, can I genuinely ask:
>> >
>> > What is the recommended equivalent implementation for apps with high
>> > scalability needs (available in Java and NOT using a GAE API directly)?
>> >
>> > --
>> > 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/-/OxttnQjWGMEJ.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/google-appengine?hl=en.
>> >
>
> --
> 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/-/k849D6UBAjQJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



-- 
Takashi Matsuo | Developer Advocate | tmat...@google.com | 03-6384-9224

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: We have an index record for null value?

2012-04-17 Thread David Hardwick
Awesome, we are using Objectify!

Many thanks, Jeff!  You are a great asset to this list.

On Apr 12, 8:09 pm, Jeff Schnitzer  wrote:
> Nulls are perfectly reasonable things to index.  Sometimes nulls are
> what you want to query for.
>
> What you want is called a 'partial index'.  The facility to do partial
> indexes exists in GAE, but how to do it depends on your data access
> layer.  Are you python (db or ndb?) or java (jdo/jpa, objectify,
> low-level?).
>
> In Objectify-land it looks something like this:
>
> @Index(IfNotNull.class) String name;
>
> You can get effectively the same effect by flagging certain values as
> not saved.  But there are so many apis and so many ways to do this
> that I wouldn't want to try to list them all here.
>
> Jeff
>
> On Thu, Apr 12, 2012 at 7:56 PM, David Hardwick
>
>
>
>
>
>
>
>  wrote:
> > And how are you?
>
> > I see records in our custom index for what I know is a null value.  Meaning,
> > we index a string field on the model and it needs to be a custom index.
>
> > However, this field is not required to be filled out by the user, and 9
> > times out of 10 this field is not filled out by a user...but based on the
> > index statistics, I can see that we have an index record regardless if that
> > value is filled in or if it is null.  Why write to the index for a null
> > value?
>
> > Is this expected behavior and we have to take a custom index approach to not
> > get charged index writes for null values?  Or is this a known issues that
> > will be addressed at some point?
>
> > Rock on,
> >   -Hardwick
>
> > --
> > Check out these BetterCloud Products: SherpaTools - DomainWatch - Archive
> > Migrator - Google Gooru
>
> > David Hardwick
> > CTO,
> > BetterCloud
> > Mobile: 703-338-0741
> > 86 Chambers St. Suite 704
> > New York, NY 10007
> > tungle.me/davidhardwick (calender availability)
>
> > --
> > 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 to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How to filter images on GAE?

2012-04-17 Thread Computer_Engineer
I'm working on python google app engine application,i'm using python2.5, i 
want to deal with images on GAE(filter images), initially i tried wit PIL 
library and i installed it successfully and i tested it and it works 
correctly on my computer,but when i test it on localhost(run on GAE), i 
have an error thatNotImplementedError: Unable to find the Python PIL 
library,then 
i tried to deal with images using Images Python API , as in this tutorial:
https://developers.google.com/appengine/docs/python/images/overview, and i 
tested resizing images service,and it works correctly,but the main 
application that i want is to filter the images,the question is :if this 
service(image filtering) supported in Images Python API in GAE?and if not 
how can i filter images on GAE?i saw that this service available in PIL,but 
this library is not supported by GAE
I tried as a second choice to use python2.7 such that it supports PIL 
library and i edited the app.yaml configuration file,but i don't know how 
to use this library in the python page(main.py)?
app.yaml:
application: app_id
version: 1
runtime: python27
api_version: 1
threadsafe: false
handlers:
- url: /.*
  script: main.py
libraries:
- name: PIL
  version: "1.1.7"

...any suggestions are welcome...Thanks

-- 
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/-/g48i1VaP0IUJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] 1.6.5 Prerelease SDKs now available!

2012-04-17 Thread Ikai Lan (Google)
Hey everyone,

The App Engine 1.6.5 prerelease SDKs are now available. You can get them
here:

Python:
http://code.google.com/p/googleappengine/downloads/detail?name=google_appengine_1.6.5_prerelease.zip
Java:
http://code.google.com/p/googleappengine/downloads/detail?name=appengine-java-sdk-prerelease-1.6.5.zip

There's a lot of good stuff you've all been asking for in this release.
I've posted the release notes below:

Python - Version 1.6.5
===
- You can now perform datastore queries that return a subset of your entity
  properties with the same performance and cost of a keys-only query. This
  feature is experimental.
- In the High Replication Datastore, there is a new metadata kind,
  __entity_group__, that has a numeric __version__ property. This property
is
  guaranteed to increase on every change to the entity group.
- The Images API now supports manipulating objects hosted on Google Cloud
  Storage.
- In the Images API, the get_serving_url call now optionally allows you to
  specify if the URL you are generating should be served over https.
- In the Task Queue REST API, you can now specify a tag when you insert a
task
  on a Pull Queue.
- In the Task Queue API, you can specify a deadline for the lease_tasks
call.
  The default deadline has been increased from 5 seconds to 10 seconds.
- You can now use cron to schedule Datastore backups.
- The Datastore Admin now has a page that displays information on the
status of
  your Datastore backups and restores.
- You can now abort your Datastore backup or restore from the Datastore
Admin.
- In the Admin Console, you can report production issues with your
application
  directly to Google from the application's pages. Simply click the "Report
  Production Issues" link, fill out the requested information, and submit.
- We have added support for concurrent transactions to @db.transactional and
  db.run_in_transaction_options() along with other transaction propagation
  options.
- We've introduced an experimental new Mac Installer that only supports
Python
  2.7.
- In your app.yaml file, you can include an env_variables stanza that will
set
  the given environment variables in your application's runtime.
- Jinja2 now includes the _debugsupport module.
- Fixed an issue with the dev_appserver where it defaulted the HTTP
  Content-Type of a request to text/plain instead of text/html.
- Fixed an issue where the SDK would include some indexes that were not
needed
  in production.
- Fixed an issue in the SDK where the SDK admin console would not display
utf-8
  encoded list property values.
  http://code.google.com/p/googleappengine/issues/detail?id=7079



Java - Version 1.6.5
=
- You can now perform datastore queries that return a subset of your entity
  properties with the same performance and cost of a keys-only query. This
  feature is experimental.
- In the High Replication Datastore, there is a new metadata kind,
  __entity_group__, that has a numeric __version__ property. This property
is
  guaranteed to increase on every change to the entity group.
- The Images API now supports manipulating objects hosted on Google Cloud
  Storage.
- In the Images API, the getServingUrl() call now optionally allows you to
  specify if the URL you are generating should be served over https.
- In the Task Queue REST API, you can now specify a tag when you insert a
task
  on a Pull Queue.
- In the Task Queue API, you can specify a deadline for the leaseTasks()
call.
  The default deadline has been increased from 5 seconds to 10 seconds.
- You can now use cron to schedule Datastore backups.
- The Datastore Admin now has a page that displays information on the
status of
  your Datastore backups and restores.
- You can now abort your Datastore backup or restore from the Datastore
Admin.
- In the Admin Console, you can report production issues with your
application
  directly to Google from the application's pages. Simply click the "Report
  Production Issues" link, fill out the requested information, and submit.
- As announced in 1.6.4, omitting the  directive from
  appengine-web.xml results in an error.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How to filter images on GAE?

2012-04-17 Thread Brian Quinlan
Hi,

I'm going to address the Python 2.7 case since that is the best choice
for this problem.

On Wed, Apr 18, 2012 at 12:11 AM, Computer_Engineer  wrote:
> I'm working on python google app engine application,i'm using python2.5, i
> want to deal with images on GAE(filter images), initially i tried wit PIL
> library and i installed it successfully and i tested it and it works
> correctly on my computer,but when i test it on localhost(run on GAE), i have
> an error thatNotImplementedError: Unable to find the Python PIL library,then
> i tried to deal with images using Images Python API , as in this
> tutorial:https://developers.google.com/appengine/docs/python/images/overview,
> and i tested resizing images service,and it works correctly,but the main
> application that i want is to filter the images,the question is :if this
> service(image filtering) supported in Images Python API in GAE?and if not
> how can i filter images on GAE?i saw that this service available in PIL,but
> this library is not supported by GAE
> I tried as a second choice to use python2.7 such that it supports PIL
> library and i edited the app.yaml configuration file,but i don't know how to
> use this library in the python page(main.py)?
> app.yaml:
> application: app_id
> version: 1
> runtime: python27
> api_version: 1
> threadsafe: false
> handlers:
> - url: /.*
>   script: main.py
> libraries:
> - name: PIL
>   version: "1.1.7"
>
> ...any suggestions are welcome...Thanks

You use PIL from main.py just like you would use PIL from any Python
script e.g.

import Image
i = Image.open(...)

In order to use Python 2.7 with the dev_appserver, you'll have to
install Python 2.7 and PIL on your computer.

Cheers,
Brian

>
> --
> 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/-/g48i1VaP0IUJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Two App Engine-related 'Office Hours' Hangouts - April. 18th, 9am and 4pm PDT

2012-04-17 Thread Amy Unruh
On Mon, Apr 16, 2012 at 9:44 AM, Amy Unruh  wrote:

> hi all,
>
> We are going to have two App Engine-related G+ Hangouts at 9am and 4pm PDT
> Wed., 18th April.
>
> We are starting to announce these hangouts on
> https://developers.google.com/events/, and you can find these there.


A reminder of the hangouts coming up tomorrow.
We are now putting these hangouts on a new calendar:
 http://goo.gl/GGkgx
ical link:
https://www.google.com/calendar/ical/modne51kjpj3iknredm5kfruco%40group.calendar.google.com/public/basic.ics

Also, we have created a "Moderator" series for the hangouts, and will use
this going forward:
 https://www.google.com/moderator/#15/e=1faeac&t=1faeac.40
Here, you should be able to add discussion topics or questions, and people
can vote for topics that they're the most interested in having discussed.
[No guarantees that we will cover all the topics, but we'll keep this link
as a running list for future hangouts as well].

  -Amy



>
> The first, at 9am PDT, will be a special hangout that discusses building
> apps for the analysis, visualization, and transformation of large datasets.
> We'll be highlighting App Engine integration with Google BigQuery - an
> upcoming service that allows developers to run SQL-like queries on
> terabyte+ datasets via a RESTful API.
> More info here:
>
> https://developers.google.com/events/ahNzfmdvb2dsZS1kZXZlbG9wZXJzcg4LEgVFdmVudBidh8oBDA/
> [This is very cool stuff, for those of you interested in this kind of
> thing].
>
> The second hangout, at 4pm PDT, is general App Engine office hours and
> discussion.  One thing that we are going to start doing as part of these
> hangouts is to pick a "Stack Overflow question of the week" to discuss --
> an appengine-related question/answer that is particularly interesting.  So
> join us Wed. for the inaugural 'question of the week'.
> More info here:
>
> https://developers.google.com/events/ahNzfmdvb2dsZS1kZXZlbG9wZXJzcg4LEgVFdmVudBjt98sBDA/
>
> See the links above for the G+ streams in which the hangouts will appear.
>
>
>

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: [objectify-appengine] Re: DeferredTask always gives NotSerialisable exception

2012-04-17 Thread Deepak Singh
Still no luck. is it a problem with Objectify ?

On Sun, Apr 15, 2012 at 11:42 PM, Deepak Singh wrote:

> I made my inner class as static but still got the same error.
>
>
> On Mon, Apr 9, 2012 at 9:14 PM, Jeff Schnitzer wrote:
>
>> The key phrase is "inner class".  You probably aren't making the inner
>> class static.  Remember that java inner classes contain an implicit
>> reference to their containing class - so you're trying to serialize
>> bot the inner class and the outer class.
>>
>> Jeff
>>
>> On Mon, Apr 9, 2012 at 5:13 AM, Deepak Singh 
>> wrote:
>> > Hi Jeff,
>> >
>> > I create an inner class as follows,
>> >
>> > class TaskOp implements DeferredTask, Serializable {
>> >
>> >@Override
>> >public void run() {
>> > try{
>> > enq.setStatus(Constant.CANCELLED_ENQUIRY);
>> > objectify.put(enq);
>> > }catch () {
>> >
>> > }
>> > }
>> > }
>> >
>> > Here in run method, i am using objectify.put('a serialisable object');
>> > Now i create a taskOption as follows,
>> >
>> >  try{
>> >   TaskOptions taskOpt = TaskOptions.Builder.withPayload(new TaskOp());
>> >   Queue defQueue = QueueFactory.getDefaultQueue();
>> >   defQueue.add(taskOpt);
>> >   }catch (Exception e) {
>> >System.out.println("CommonRpcServiceImpl.cancelTripEnquiry()
>> > "+e.getMessage());
>> >   }
>> >
>> > Here the task option accepts an object of my inner class which
>> implements
>> > DeferreTask.
>> >
>> > Now executing the above task gives me the following exception,
>> >
>> >  java.io.NotSerializableException:
>> > com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy
>> >
>> > I verify that the object being used in DeferredTask is serialisable,
>> even
>> > the i am getting the exception.
>> >
>> > I hope now the problem is clear.
>> >
>> >
>> >
>> > Thanks
>> > Deepak
>> >
>> >
>> > On Mon, Apr 9, 2012 at 6:29 AM, Jeff Schnitzer 
>> wrote:
>> >>
>> >> I suggest restating the problem and being as clear as possible.  I
>> >> can't understand what you are asking - sorry.
>> >>
>> >> Jeff
>> >>
>> >> On Sun, Apr 8, 2012 at 7:04 PM, Deepak Singh > >
>> >> wrote:
>> >> > I am still stuck with the issue
>> >> >
>> >> >
>> >> > On Sun, Apr 8, 2012 at 2:03 AM, Deepak Singh <
>> deepaksingh...@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> I am doing some database operation on GAE-JAVA using Objectify 3.0.1
>> >> >> through Deferedtask as follows,
>> >> >>
>> >> >>  class TaskOp implements DeferredTask, Serializable {
>> >> >>
>> >> >> @Override
>> >> >> public void run() {
>> >> >> try{
>> >> >> enq.setStatus(Constant.CANCELLED_ENQUIRY);
>> >> >> objectify.put(enq);
>> >> >> List convList =
>> >> >> objectify.query(PackageConversationDTO.class).filter("leadId",
>> >> >> enq.getId()).list();
>> >> >> for(PackageConversationDTO convDto : convList) {
>> >> >> convDto.setStatus(Constant.CANCELLED_TRIP_PACKAGE_CONVERSATION);
>> >> >> objectify.put(convDto);
>> >> >> }
>> >> >> List list =
>> >> >> objectify.query(HolidayInvoiceDTO.class).filter("tripId",
>> >> >> enq.getId()).list();
>> >> >> for(HolidayInvoiceDTO holiday : list) {
>> >> >> holiday.setStatus(Constant.INVOICE_GENERATED_THEN_TRIP_CANCELLED);
>> >> >> objectify.put(holiday);
>> >> >> }
>> >> >> }catch (Exception e) {
>> >> >> System.out
>> >> >> .println("CommonRpcServiceImpl.cancelTripEnquiry(...).TaskOp.run()
>> >> >> "+e.getMessage());
>> >> >> }
>> >> >> }
>> >> >>
>> >> >> }
>> >> >>
>> >> >>
>> >> >>
>> >> >>try{
>> >> >> TaskOptions taskOpt = TaskOptions.Builder.withPayload(new TaskOp());
>> >> >> Queue defQueue = QueueFactory.getDefaultQueue();
>> >> >> defQueue.add(taskOpt);
>> >> >> }catch (Exception e) {
>> >> >> System.out.println("CommonRpcServiceImpl.cancelTripEnquiry()
>> >> >> "+e.getMessage());
>> >> >> }
>> >> >>
>> >> >> It always throws this exception
>> >> >>
>> >> >> CommonRpcServiceImpl.cancelTripEnquiry()
>> >> >> java.io.NotSerializableException:
>> >> >> com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy
>> >> >>
>> >> >> I make sure that all the object being used here are serializable.
>> >> >>
>> >> >>
>> >> >> Thanks in advance
>> >> >> Deepak Singh
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Deepak Singh
>> >
>> >
>> >
>> >
>> > --
>> > Deepak Singh
>>
>
>
>
> --
> Deepak Singh
>



-- 
Deepak Singh

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Does the Log Viewer actually work for anyone?

2012-04-17 Thread Jason Collins
Is it just me, or does the Log Viewer searching basically not work?

I have my log storage configured to give me about 11 days of logs, but
I can rarely actually find stuff (that I _know_ occurred within my
window) by searching - both regex- and label-based searching. We run
at about 100+QPS, so trying to catch something in action is basically
impossible.

I'm guessing the log indexing runs async to the log entries
themselves, and it's just not able to keep pace, or the indexing jobs
themselves are just failing.

Does anyone actually have any luck searching the logs in the Log
Viewer on a reasonably high rate application?

j

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Task queues sometimes stop for hours, then restart

2012-04-17 Thread vlad
I have always seen individual tasks to be delayed by many minutes on rare 
occasions. If the whole queue is dead for 30 minutes is something 
different. File a ticket and provide logs. 

On Monday, April 16, 2012 4:46:54 PM UTC-7, Luca de Alfaro wrote:
>
> I am having a problem where task queues stop for 30 minutes - 2 hours, and 
> then restart (using a large number of instances to pick up the slack). 
>  This is causing us great distress, since we were hoping we could rely on 
> task queues for timely processing of some workload.  
>
> Does anybody know what can cause this stalling? 
> Is anybody else seeing it? 
>
> Luca
>

-- 
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/-/asQYw2-TVvIJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: [objectify-appengine] Re: DeferredTask always gives NotSerialisable exception

2012-04-17 Thread Jeff Schnitzer
On Tue, Apr 17, 2012 at 6:25 PM, Deepak Singh  wrote:
> Still no luck. is it a problem with Objectify ?

That is extraordinarily unlikely.

You'll have to post a lot more code if you want help.

Jeff

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Queues are stuck since 11:12am PST today -- can someone look into it ASAP?

2012-04-17 Thread Luca de Alfaro
The queues for our AppEngine App (camiologger) show no sign of
processing since 11:12am today.  Not even pressing "Run Now" causes
the jobs to run successfully.  I would be very grateful if someone can
look into it!
We had trouble before of queues that stopped processing jobs, but not
as long as this time...
I am hoping someone can help!

Luca

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] What to Do about AppSpot App that is stealing copyrighted material?

2012-04-17 Thread Norm Deplume
This is especially frustrating.   Someone created a proxy server on
Google's App Engine platform here: wapfree-ec.appspot.com

Unfortunately, they did not configure this proxy server correctly with
 tags to inform search engines NOT TO INDEX the proxied
content.

As a result, this site is unintentionally STEALING content and getting
it indexed in Google Search.  Not just my site either...93,000 pages
of other people's content.
Go to google and type this: site:wapfree-ec.appspot.com   you'll see
thousands of pages of OTHER PEOPLE'S CONTENT.  ON A GOOGLE HOSTED
SITE!

What's frustrating is that I tried to solve this "the right way", by
filing a DMCA removal request.   Unbelievably, the response from
Google was this:

"The DMCA notice sent below is for an application that is a web proxy.
The
content in question is not stored on the application, but instead is
simply being pulled from the original source and forwarded to the
user."

That's completely stupid.  How is the manner in which the content was
stolen, published, and INDEXED by Google search of any conseqence?
Am I allowed to create a web proxy that copies content from anyone I
want, and get it all indexed in Google?

Tell me there's someone at Google that understands this problem!

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Can a GTalk id be used in XMPP API of GAE instead of appn...@appspot.com

2012-04-17 Thread abhishek jain
hi,
I need to use my Google a/c email id as the id for generating the XMPP 
Messages on GAE instead of appn...@appspot.com .

Can i do so? 

thanks
abhi

-- 
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/-/AbrqayIVOUMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] No way to disable billing for disabled account

2012-04-17 Thread Jianfeng Lee
I worked as an intern(yorkelee[@]google.com) at Google over the past 
summer(May - July 2012) and was working on an appengine related project.

I've only recently come to notice that I have been billed $2.10 for 
appengine usage per week over the past 4 months or so, even though my 
account has since then been disabled and the project is probably not in 
active use. I've been looking for a contact email/number to disable billing 
for the project but haven't been able to find any. Could an administrator 
help me out with this billing issue?

-- 
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/-/gIVlid_dvRsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Are there any plans to increase the 150MB app size limit?

2012-04-17 Thread Larry
Hi Tom,
  I have deployed my app  by delete all WEB-INF/deploy folder.
When I check the content of appcfg49211759916596577999.tmp  folder which 
show in
Eclipse console, which contains all compiled GWT modules and static files. 
I found a _static_ folder inside it.
This folder almost duplicate all GWT moudels and static files.
Do I miss something or it is normal?

 

Tom Phillips於 2011年9月14日星期三UTC+8下午9時03分05秒寫道:
>
> Are you deploying a .junit_symbolMaps folder (in your compiled GWT 
> root)? 
>
> If so, it's large, and can be safely deleted/excluded from the war 
> before deploy. 
>
> /Tom 
>
> On Sep 14, 7:47 am, Daniel Florey  wrote: 
> > When using GWT the app can quickly exceed the 150MB app size limit. Are 
> > there any plans to increase this limit to let's say... unlimited?

-- 
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/-/eNV8plAKFAEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: What's using all my storage? [__MutationMarker__]

2012-04-17 Thread Mike
Thanks, Richard.
I posted the AppID in the follow up comment.
After that I didn't hear anything.


On Apr 16, 3:21 pm, Richard Watson  wrote:
> Itai was asking for your app id on Stackoverflow so he could look at the
> issue. He works on the App Engine team, so that's your best possible option.
>
>
>
>
>
>
>
> On Monday, April 16, 2012 12:50:27 PM UTC+2, Mike_W wrote:
>
> > Hi.
> >     I migrated my app from MS to HR datastore.
> > Later I deleted most of the entities [~2M].
> > However, my total storage has not decreased.
>
> > There's an entity named "__MutationMarker__" consuming ~1gB of data.
>
> > I've been told that this is a hidden entity and should not count
> > against quota.
>
> >http://stackoverflow.com/questions/10096494/whats-using-all-my-storag...
>
> > Any ideas how or if  I can remove this entity?
> > Should I log as a bug?
>
> > Cheers
> > Mike

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: GWT module not loading on appspot.com

2012-04-17 Thread Igory
Hello, 

your question is too abstract. 

One thing that I can say for sure that GWT application (I use GWTP+ 
RequestFactory+ Editors+ GQuery+ hibernate validation and the app is quite 
heavy) runs fine on GAE/J. 

Try to trace you deployed on GAE GWT app using logging e.g.

Igory.

воскресенье, 15 апреля 2012 г., 15:34:49 UTC+4 пользователь Babajide Prince 
Agbebiyi написал:
>
> Hi everyone,
> I created a GWT app with eclipse. Everything works on my machine but when 
> I deploy to appspot.com, The initial HTML tags on the welcome page shows 
> but nothing from the module.
>
> I expected to see tabs which the module loads.
>
> Please advice
>
> Cheers
>

-- 
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/-/nzIrka-M_QIJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: 'The requested URL / was not found on this server.'

2012-04-17 Thread vishvAs vAsuki
I am facing a similar problem now. Just last Thursday, my website was 
working - now I too get the above error. I tried redeploying - no use. Any 
pointers?

On Monday, February 22, 2010 4:36:18 PM UTC-8, davenaff wrote:
>
> The last code upload was a month ago.  Nothing was changed on the site
> or in the admin settings.
>
> The website suddenly started returning a 404 with the error above (it
> of course works fine in my local version).
>
> Ideas?
>
>

-- 
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/-/jle6wJgniZcJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: 'The requested URL / was not found on this server.'

2012-04-17 Thread vishvAs vAsuki
Actually - the problem is solved after I reupoladed.
--
Vishvas /विश्वास




On Tue, Apr 17, 2012 at 10:07, vishvAs vAsuki wrote:

> I am facing a similar problem now. Just last Thursday, my website was
> working - now I too get the above error. I tried redeploying - no use. Any
> pointers?
>
> On Monday, February 22, 2010 4:36:18 PM UTC-8, davenaff wrote:
>>
>> The last code upload was a month ago.  Nothing was changed on the site
>> or in the admin settings.
>>
>> The website suddenly started returning a 404 with the error above (it
>> of course works fine in my local version).
>>
>> Ideas?
>>
>>  --
> 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/-/jle6wJgniZcJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] What to Do about AppSpot App that is stealing copyrighted material?

2012-04-17 Thread Brandon Wirtz
You can block URL Fetches from GAE by checking the request headers which
will identify as both GAE and the Application ID that is making the request.




-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] What to Do about AppSpot App that is stealing copyrighted material?

2012-04-17 Thread Jeff Schnitzer
On Fri, Apr 13, 2012 at 11:18 AM, Norm Deplume  wrote:
>
> Tell me there's someone at Google that understands this problem!

In this case, you're the one that misunderstands the problem.  Proxies
are part of the fabric of the internet, and aren't stealing your
content any more than the routers carrying the packets of this email
message.

It's unfortunate (or funny) that somehow the proxy ranks higher in
search engines than your site does, but you have the complete ability
to fix this yourself.  You don't need Google's help.

The simple solution is to block requests from wapfree-ec.  All
urlfetches from GAE include the appid in the User-Agent header.
Viola, problem solved.  If you want to be heavy-handed, you can block
all requests from GAE.

If you want to be really clever about it, serve different content to
wapfree-ec.  Like, say, a blank page with a big link pointing at your
website.  You might improve your own SEO juice that way.

Last of all, stop blaming other people for your mistakes.

Jeff

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] What to Do about AppSpot App that is stealing copyrighted material?

2012-04-17 Thread Jeff Schnitzer
Hey, who said you get to play good cop this time??

Jeff

On Tue, Apr 17, 2012 at 9:29 PM, Brandon Wirtz  wrote:
> You can block URL Fetches from GAE by checking the request headers which
> will identify as both GAE and the Application ID that is making the request.
>
>
>
>
> --
> 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 to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] JCache

2012-04-17 Thread senderj
I have 2 apps doing 2 different processing. Both use JCache
(net.sf.jsr107cache.*) almost the same way. Everyday a process issues
clear() method to delete the cache so that the rest of the processes
create a new cache for the day. They all run fine for a few months.
But since around March/April, one of them started to process
abnormally. The main cause of the problems is the clear() method,
though executed, failed to clean up the cache. The funny thing is only
one of the apps has problem. The other one continues to function
normally.

1. Though my apps have been working for quite sometimes, I don't know
if my method of using the cache is correct. I use a class to house the
cache and all cache related logic. The cache and all its methods are
static for my all other programs to use. Is this the right way to use
cache?

2. What is the possible reason the clear() method is executed but no
effect? (there is no exception in the log, and I have log.info("msg")
after it which can be found in the log). For the time being, I use
put(key, null) to clear the content. But it is not the same as
clear().

3. Why only one of my apps has problem while the other one with same
logic still working fine?

4. I downloaded JCache from java site and found there it has more
function then the net.sf.jsr107cache, like remove(). Can it be used in
GAE?

Please help.

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: 1.6.4 dev server not saving data

2012-04-17 Thread D X
use Ctrl-C to exit.

On Monday, April 16, 2012 6:30:30 PM UTC-4, Mahron wrote:
>
> Windows 7. I tried using the app engine launcher and also with a .bat 
> file with the command(which I suppose is the same as command prompt). 
> I just closed it with the close icon, not ctrl-c if there is any 
> difference. 
>
> I don't need the latest sdk for the moment. I can wait for the next 
> release. But this needs proper fixing.

-- 
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/-/niii-PKc0j8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] What to Do about AppSpot App that is stealing copyrighted material?

2012-04-17 Thread Brandon Wirtz

> Hey, who said you get to play good cop this time??

I always play the good cop. I beat the dumb people, they get smarter long
term.  It's all about how long it takes to see that I'm right.  ;-)

Oh you meant the "Nice" cop. Yeah well, I figure this guy is just passing
by. He won't be here in a week...




-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Does the Log Viewer actually work for anyone?

2012-04-17 Thread Takashi Matsuo
Hi Jason,

Do you mind filing an issue on the issue tracker with some details?
(e.g. app-id, example queries, etc)

If you mind making the info public, you can also send it directly to me.

Thanks,

-- Takashi

On Wed, Apr 18, 2012 at 7:33 AM, Jason Collins
 wrote:
> Is it just me, or does the Log Viewer searching basically not work?
>
> I have my log storage configured to give me about 11 days of logs, but
> I can rarely actually find stuff (that I _know_ occurred within my
> window) by searching - both regex- and label-based searching. We run
> at about 100+QPS, so trying to catch something in action is basically
> impossible.
>
> I'm guessing the log indexing runs async to the log entries
> themselves, and it's just not able to keep pace, or the indexing jobs
> themselves are just failing.
>
> Does anyone actually have any luck searching the logs in the Log
> Viewer on a reasonably high rate application?
>
> j
>
> --
> 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 to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Takashi Matsuo | Developer Advocate | tmat...@google.com | 03-6384-9224

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Queues are stuck since 11:12am PST today -- can someone look into it ASAP?

2012-04-17 Thread Takashi Matsuo
Hi Luca,

We are aware that there were some hiccups within Task Queue recently.
We already identified the problem and fixed it, so it should be ok now.

Sorry for the inconvenience.

-- Takashi

On Tue, Apr 17, 2012 at 6:37 AM, Luca de Alfaro  wrote:
> The queues for our AppEngine App (camiologger) show no sign of
> processing since 11:12am today.  Not even pressing "Run Now" causes
> the jobs to run successfully.  I would be very grateful if someone can
> look into it!
> We had trouble before of queues that stopped processing jobs, but not
> as long as this time...
> I am hoping someone can help!
>
> Luca
>
> --
> 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 to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Takashi Matsuo | Developer Advocate | tmat...@google.com | 03-6384-9224

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Cloudflare HN discussion

2012-04-17 Thread Richard Watson
Seems to be varying opinions on Cloudflare here:
http://news.ycombinator.com/item?id=3855715 

A range of experiences, a few issues [1] and a couple tips. Hopefully since 
it's raising cash it'll continue to improve. I mention it because of its 
use as an SSL proxy for GAE, as per Jeff's posts.

[1] False "site is down" positives, CAPTCHA's on non-US dynamic IP's or for 
some traffic spikes, 

-- 
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/-/4t58uTPnCucJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Datastore Small Operations - datastore.get(key)

2012-04-17 Thread cloudpre
Hi

We have a pretty big app which has not been optimized till date. We
spend over $40/day just on the reads.

This is our current stats

Datastore Read Operations46.74 Million Ops   46.69   $0.70/ 
Million
Ops  $32.69
Datastore Small Operations   0.00 Million Ops0.00$0.10/ 
Million
Ops  $0.00


I have been reading that small operations are much cheaper and they
are done based on key.

The following function is used at many places - but I do not see
counter moving from zero for small operations.

Is datastore.get(key) a small operation? If not, what should I change
the function to make it count towards small operations.

Thanks.

// Get Entity
public static Entity getEntityFromId(String entityName, String id)
{
// Get Datastore
DatastoreService datastore =
DatastoreServiceFactory.getDatastoreService();

// Get Entity
try
{
Key key = KeyFactory.stringToKey(id);
return datastore.get(key);
} catch (Exception e)
{
return null;
}
}

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Does the Log Viewer actually work for anyone?

2012-04-17 Thread Gregory D'alesandre
Hey Jason,

Please do fill out an issue but this is indeed a known issue.  We don't do
currently index for regex and labels so when you do a search across your
records it will take quite a while and we stop and return whatever results
we've found after 10 seconds.  We are looking to improve this at some point
but it does mean right now you'll get inconsistent results when trying to
search across a lot of logs.

Hope that makes sense!

Greg

On Tue, Apr 17, 2012 at 9:59 PM, Takashi Matsuo  wrote:

> Hi Jason,
>
> Do you mind filing an issue on the issue tracker with some details?
> (e.g. app-id, example queries, etc)
>
> If you mind making the info public, you can also send it directly to me.
>
> Thanks,
>
> -- Takashi
>
> On Wed, Apr 18, 2012 at 7:33 AM, Jason Collins
>  wrote:
> > Is it just me, or does the Log Viewer searching basically not work?
> >
> > I have my log storage configured to give me about 11 days of logs, but
> > I can rarely actually find stuff (that I _know_ occurred within my
> > window) by searching - both regex- and label-based searching. We run
> > at about 100+QPS, so trying to catch something in action is basically
> > impossible.
> >
> > I'm guessing the log indexing runs async to the log entries
> > themselves, and it's just not able to keep pace, or the indexing jobs
> > themselves are just failing.
> >
> > Does anyone actually have any luck searching the logs in the Log
> > Viewer on a reasonably high rate application?
> >
> > j
> >
> > --
> > 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 to
> google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> >
>
>
>
> --
> Takashi Matsuo | Developer Advocate | tmat...@google.com | 03-6384-9224
>
> --
> 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 to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Cloudflare HN discussion

2012-04-17 Thread Jeff Schnitzer
HN is populated with equal numbers of smarties and idiots.  That's
actually pretty good - most forums are 99% idiots (Youtube comments
are already mocked by xkcd, but don't get me started on the topix
forums for eastern kentucky - WOW).  But when people say "We are
talking a service that could be duplicated with open source software
and about $100K to $250K investment" I really have to shake my head in
amusement.  It's about as crazy as the local Freemason conspiracy
theorists.

It sounds like the biggest issue is getting tripped up by the security
system.  Just turn it off (reminds me, I should do that myself). That
said, there may be other issues... but this particular HN discussion
doesn't (as of yet) provide any illumination.

Jeff

On Wed, Apr 18, 2012 at 1:51 AM, Richard Watson
 wrote:
> Seems to be varying opinions on Cloudflare here:
> http://news.ycombinator.com/item?id=3855715
>
> A range of experiences, a few issues [1] and a couple tips. Hopefully since
> it's raising cash it'll continue to improve. I mention it because of its use
> as an SSL proxy for GAE, as per Jeff's posts.
>
> [1] False "site is down" positives, CAPTCHA's on non-US dynamic IP's or for
> some traffic spikes,
>
> --
> 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/-/4t58uTPnCucJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

-- 
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 to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.