[google-appengine] attach persistent disk to managed vm?

2015-01-29 Thread stephanos
So, I suppose it's not possible then?

Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c4dafd62-a9a1-453a-9cc8-8ef1f48018a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] API for Developers Console?

2015-01-20 Thread stephanos
Hey there,

since the rather new Developer Console looks quite feature complete to me 
and appears to be a SPA we would love to make use of REST APIs that expose 
some of its information. In my Chrome Network tab I can see that the app's 
versions are obtained from: 
https://console.developers.google.com/m/gaeconsole/versions?pid=&moduleId=default
 - 
but looking at the payload, I suppose this isn't intended for general usage.

So, how can I obtain the information which version is live, when it was 
deployed and by whom via a REST API call?

Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: ImageError when running `gcloud preview app setup-managed-vms` with gcloud v0.9.40

2015-01-14 Thread stephanos
Did you ever solve this? I have the same problem.


On Sunday, December 14, 2014 at 10:38:23 PM UTC+1, Nick wrote:
>
> When I run gcloud --verbosity debug preview app setup-managed-vms I get 
> the following error I don't know how to fix 
> google.appengine.tools.docker.containers.ImageError: 
> Image with tag localhost:49153/google/appengine-java was not found
>
> I posted the whole verbose stacktrace on pastebin 
> .
>
> I am running Google Cloud SDK 0.9.40 and docker 1.3.2.
>
> I had a different problem with the 0.9.39, uninstalled and reinstalled 
> everything, but v0.9.40 still doesn't seem to do it.
>
> How can I get past this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] attach persistent disk to managed vm?

2014-12-07 Thread stephanos
Hey there,

I was reading about Managed VM and it looks really powerful. I'm thinking 
about running an ElasticSearch process along with the main app on the same 
machine. But to be useful I'd obviously need a persistent disk to store the 
search index.

Will Managed VM support automatically attaching a persistent disk?

Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] reduce startup time with ProGuard?

2014-09-04 Thread stephanos
How much did it yield once you got it right? Roughly?


On Thursday, September 4, 2014 12:15:53 AM UTC+2, Rafael Sanches wrote:
>
> I've done the proguard path. It was a pain to get it right.
>
> the only way around java cold startup was to use manual scaling
>
>
> On Wed, Sep 3, 2014 at 3:08 PM, Nick > 
> wrote:
>
>> What's your start up time now? If it's under 10 seconds, probably not. If 
>> it's just under 30, quite possibly. The only way to really know is to just 
>> try it
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to google-a...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] reduce startup time with ProGuard?

2014-09-04 Thread stephanos
It's ~18 seconds on good days, ~26 second on bad ones.


On Thursday, September 4, 2014 12:08:02 AM UTC+2, Nick wrote:
>
> What's your start up time now? If it's under 10 seconds, probably not. If 
> it's just under 30, quite possibly. The only way to really know is to just 
> try it

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] silence AppEngineAuthentication logging?

2014-09-03 Thread stephanos
We are using the RemoteAPI to connect to the devserver for setting up test 
data while running functional browser tests. 

But for every request that is made, this line is logged:

Sep 03, 2014 12:48:58 PM 
com.google.apphosting.utils.jetty.AppEngineAuthentication$AppEngineUserRealm 
isUserInRole
INFO: Checking if principal t...@example.com is in role admin


I can't seem to disable it.

I tried setting 

.level = WARN


in our 'logging.properties'. No effect.

Does anyone know how to get rid of this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] reduce startup time with ProGuard?

2014-09-03 Thread stephanos
Thanks for the reply! 

Can you be more specific? Our app is 132MB, I consider this rather large.
I want to know if I'm shaving of at least 2-3s off the startup time before 
I'd go down this path.


On Wednesday, September 3, 2014 6:55:51 AM UTC+2, Vinny P wrote:
>
> On Tue, Sep 2, 2014 at 11:29 AM, stephanos  > wrote:
>
>> I was just wondering if it is worthwhile to reduce our Java app's 
>> dependency size by using ProGuard.
>>
>> Did you observe an effect to the startup time with ProGuard?
>>
>
>
> Yes, depending on the application. 
>
> Some of my larger applications (that included a ton of external libraries 
> for speaking with other web services, frameworks, etc) benefited quite a 
> bit since some unused code could be cut out. But certain applications that 
> used very few libraries or were smaller in scale saw very minimal to no 
> difference in startup time.
>   
> -
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] reduce startup time with ProGuard?

2014-09-02 Thread stephanos

Hi there,

I was just wondering if it is worthwhile to reduce our Java app's 
dependency size by using ProGuard.

Did you observe an effect to the startup time with ProGuard?

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] RuntimeHelper.checkRestricted overhead?

2014-06-17 Thread stephanos
Hey everyone,

we are experiencing some performance issues. When we look into AppStats the 
RPCs only explain 10-20% of the time a request needs. 

JProfiler shows that a lot of the time (~50%) is spent in 
'RuntimeHelper.checkRestricted'. We understand what this method does. But 
we can't find any further information about this in the documentation. 

Does it add overhead in the production environment as well? How much? And 
how can we reduce it?

Regards,
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread stephanos
Hi Stephan,

you are right, I didn't think about it this way. Thanks for going into 
detail :)

PS: I tried the solution with the setHeader() a while ago and if I remember 
correctly the JSESSIONID-Cookie never went through this method. Could be 
because of App Engine, not sure.


On Monday, May 26, 2014 4:29:39 PM UTC+2, Stephan Hartmann wrote:
>
> Hi Stephan,
>
> request.getSession() creates a new session if there isn't already one 
> (what's true for the first request) and its ID is available immediately 
> after that, so it will work for the first request as well.
>
> If you are creating your sessions programmatically, you may know where 
> request.getSession() is called and you could set the session cookie just 
> immediately afterwards.
>
> Another solution would be a servlet filter that wraps the response and 
> overrides the setHeader(String name, String value) method and check for 
> calls with "SET-COOKIE" for name and values beginning with "JSESSIONID" and 
> if it's the case, just append "; HttpOnly" to the value before calling the 
> setHeader method of the wrapped response.
>
> HTH,
> Stephan
>
>  
>
>
> 2014-05-26 13:56 GMT+02:00 stephanos >:
>
>> Hey Stephan,
>>
>> thanks for the suggestion! 
>>
>> But doesn't this solution write the JSESSIONID on every request? And it 
>> seems to only work after the 2nd HTTP request?
>>
>> Regards
>> Stephan :)
>>
>>
>> On Monday, May 26, 2014 12:57:30 PM UTC+2, Stephan Hartmann wrote:
>>
>>> Hi Stephanos,
>>>
>>> Please find here some suggenstions how to set the httponly flag for 
>>> session cookies on servlet containers prior to JEE6:
>>> https://www.owasp.org/index.php/HttpOnly#What_is_HttpOnly.3F
>>>
>>> Best regards,
>>> Stephan
>>>
>>>
>>>
>>> 2014-05-26 10:22 GMT+02:00 stephanos :
>>>
>>>> Hey Vinny,
>>>>
>>>> thanks for your detailed response!
>>>>
>>>> But it seems you are talking about the 'Secure'-flag - not the 
>>>> 'HttpOnly'-flag. Because the 'HttpOnly'-flag has nothing to do with 
>>>> HTTPS/HTTP: It prevents Javascript from accessing the cookie. So even if 
>>>> we 
>>>> use HTTPS everywhere (which we do) if someone is able to inject Javascript 
>>>> into our application it can read the session cookie!
>>>>
>>>>
>>>> On Monday, May 26, 2014 10:18:34 AM UTC+2, Vinny P wrote:
>>>>>
>>>>>  On Fri, May 23, 2014 at 2:53 AM, stephanos 
>>>>>  wrote:
>>>>>
>>>>> Well, this can't be! How are others solving this?
>>>>>>
>>>>>
>>>>> On Wed, Apr 30, 2014 at 3:09 AM, Vinny P  wrote:
>>>>>
>>>>> I don't believe there's a way to do that.
>>>>>> If you want a workaround, you could try hosting a HTTPS version of 
>>>>>> your site on one subdomain, and the regular HTTP version on another 
>>>>>> subdomain. Mark the cookie as only available on a single subdomain.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> There are a couple of ways to solve this. The easiest would be to make 
>>>>> your site available through HTTPS only - detect if the user is using an 
>>>>> unencrypted connection, and if so, redirect to the HTTPS equivalent URL. 
>>>>> Forcing HTTPS everywhere isn't too much of a burden - a Gmail 
>>>>> engineer wrote that SSL accounts for less than 1% of CPU load and less 
>>>>> than 
>>>>> 2% of network 
>>>>> overhead<https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html>
>>>>> . 
>>>>>  
>>>>> Another way - as I noted above - is to use unencrypted connections on 
>>>>> one subdomain and force HTTPS if using a site through a separate 
>>>>> subdomain. 
>>>>> Reddit does this: most connections on reddit are unencrypted, try this 
>>>>> link 
>>>>> and inspect in the console: http://www.reddit.com/r/google 
>>>>>  
>>>>> But if you use the pay.reddit.com subdomain, all communications are 
>>>>> forced to be encrypted. Inspect this page in your console: 
>>>>> https://pay.reddit.com/r/google . If you try and visit 
>>>>> pay.reddit.comwithout u

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread stephanos
Hey Stephan,

thanks for the suggestion! 

But doesn't this solution write the JSESSIONID on every request? And it 
seems to only work after the 2nd HTTP request?

Regards
Stephan :)


On Monday, May 26, 2014 12:57:30 PM UTC+2, Stephan Hartmann wrote:
>
> Hi Stephanos,
>
> Please find here some suggenstions how to set the httponly flag for 
> session cookies on servlet containers prior to JEE6:
> https://www.owasp.org/index.php/HttpOnly#What_is_HttpOnly.3F
>
> Best regards,
> Stephan
>
>
>
> 2014-05-26 10:22 GMT+02:00 stephanos >:
>
>> Hey Vinny,
>>
>> thanks for your detailed response!
>>
>> But it seems you are talking about the 'Secure'-flag - not the 
>> 'HttpOnly'-flag. Because the 'HttpOnly'-flag has nothing to do with 
>> HTTPS/HTTP: It prevents Javascript from accessing the cookie. So even if we 
>> use HTTPS everywhere (which we do) if someone is able to inject Javascript 
>> into our application it can read the session cookie!
>>
>>
>> On Monday, May 26, 2014 10:18:34 AM UTC+2, Vinny P wrote:
>>>
>>>  On Fri, May 23, 2014 at 2:53 AM, stephanos 
>>>  wrote:
>>>
>>> Well, this can't be! How are others solving this?
>>>>
>>>
>>> On Wed, Apr 30, 2014 at 3:09 AM, Vinny P  wrote:
>>>
>>> I don't believe there's a way to do that.
>>>> If you want a workaround, you could try hosting a HTTPS version of your 
>>>> site on one subdomain, and the regular HTTP version on another subdomain. 
>>>> Mark the cookie as only available on a single subdomain.
>>>>
>>>
>>>
>>>
>>> There are a couple of ways to solve this. The easiest would be to make 
>>> your site available through HTTPS only - detect if the user is using an 
>>> unencrypted connection, and if so, redirect to the HTTPS equivalent URL. 
>>> Forcing HTTPS everywhere isn't too much of a burden - a Gmail engineer 
>>> wrote that SSL accounts for less than 1% of CPU load and less than 2% of 
>>> network 
>>> overhead<https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html>
>>> . 
>>>  
>>> Another way - as I noted above - is to use unencrypted connections on 
>>> one subdomain and force HTTPS if using a site through a separate subdomain. 
>>> Reddit does this: most connections on reddit are unencrypted, try this link 
>>> and inspect in the console: http://www.reddit.com/r/google 
>>>  
>>> But if you use the pay.reddit.com subdomain, all communications are 
>>> forced to be encrypted. Inspect this page in your console: 
>>> https://pay.reddit.com/r/google . If you try and visit 
>>> pay.reddit.comwithout using HTTPS, you'll get an error message: 
>>> http://imgur.com/9K81FoB
>>>  
>>> Another alternative is to set up nginx or another server as a reverse 
>>> proxy, and configure it to rewrite cookies with respect to secure/unsecure 
>>> connections. This option is difficult to configure though.
>>>
>>>
>>> -
>>> -Vinny P
>>> Technology & Media Advisor
>>> Chicago, IL
>>>
>>> App Engine Code Samples: http://www.learntogoogleit.com
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread stephanos
Hey Vinny,

thanks for your detailed response!

But it seems you are talking about the 'Secure'-flag - not the 
'HttpOnly'-flag. Because the 'HttpOnly'-flag has nothing to do with 
HTTPS/HTTP: It prevents Javascript from accessing the cookie. So even if we 
use HTTPS everywhere (which we do) if someone is able to inject Javascript 
into our application it can read the session cookie!


On Monday, May 26, 2014 10:18:34 AM UTC+2, Vinny P wrote:
>
> On Fri, May 23, 2014 at 2:53 AM, stephanos 
> > wrote:
>
>> Well, this can't be! How are others solving this?
>>
>
> On Wed, Apr 30, 2014 at 3:09 AM, Vinny P >
>  wrote:
>
>> I don't believe there's a way to do that.
>> If you want a workaround, you could try hosting a HTTPS version of your 
>> site on one subdomain, and the regular HTTP version on another subdomain. 
>> Mark the cookie as only available on a single subdomain.
>>
>
>
>
> There are a couple of ways to solve this. The easiest would be to make 
> your site available through HTTPS only - detect if the user is using an 
> unencrypted connection, and if so, redirect to the HTTPS equivalent URL. 
> Forcing HTTPS everywhere isn't too much of a burden - a Gmail engineer 
> wrote that SSL accounts for less than 1% of CPU load and less than 2% of 
> network 
> overhead<https://www.imperialviolet.org/2010/06/25/overclocking-ssl.html>
> . 
>  
> Another way - as I noted above - is to use unencrypted connections on one 
> subdomain and force HTTPS if using a site through a separate subdomain. 
> Reddit does this: most connections on reddit are unencrypted, try this link 
> and inspect in the console: http://www.reddit.com/r/google 
>  
> But if you use the pay.reddit.com subdomain, all communications are 
> forced to be encrypted. Inspect this page in your console: 
> https://pay.reddit.com/r/google . If you try and visit pay.reddit.comwithout 
> using HTTPS, you'll get an error message: 
> http://imgur.com/9K81FoB
>  
> Another alternative is to set up nginx or another server as a reverse 
> proxy, and configure it to rewrite cookies with respect to secure/unsecure 
> connections. This option is difficult to configure though.
>
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: HttpOnly-Cookie in Java?

2014-05-23 Thread stephanos
Well, this can't be! How are others solving this?


On Wednesday, April 23, 2014 5:04:15 PM UTC+2, stephanos wrote:
>
> Hi there,
>
> how do we make our JSESSIONID-Cookie HttpOnly?
>
> We know that App Engine runs on Servlet 2.5 which doesn't support this 
> flag, but there must be a way around this.
>
> Regards
> Stephan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] appcfg: password visible

2014-05-16 Thread stephanos
Hey there,

we recently noticed that when we deploy our Java app and enter our 
credentials that the password is visible in the console.

We use the (official?) Gradle 
pluginto build 
and deploy. When we run 
*appcfg.sh* manually it hides the password. There is already an 
issuefor
 this, but the author attributes the problem to "OSX and/or JDK". Then I 
dove into the code and found that it defers to 
AppCfg.javawhich
 then reads the credentials by invoking a 
LoginReader.
 
The odd thing is that this reader seems to use the same method for reading 
email and password. hm ... ?

I'm confused. How can we hide the password input on deployment again?

PS: We use OSX 10.9, Gradle 1.12, JDK 1.7.0_45 and SDK 1.9.4.
PPS: We don't want to use OAuth.

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] HttpOnly-Cookie in Java?

2014-04-23 Thread stephanos
Hi there,

how do we make our JSESSIONID-Cookie HttpOnly?

We know that App Engine runs on Servlet 2.5 which doesn't support this 
flag, but there must be a way around this.

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] filter logs by user?

2014-03-01 Thread stephanos
Thanks for your thoughtful comments! :)


On Saturday, March 1, 2014 6:54:34 AM UTC+1, Vinny P wrote:
>
> On Fri, Feb 28, 2014 at 2:44 AM, stephanos 
> > wrote:
>
>> Thanks for your detailed answer, Vinny!
>>
>> We don't use Google authentication but our own, so I guess we are out of 
>> luck and have to resort to matching simple log messages. I'm wondering, 
>> regular expression wise, what would be the best way to mark each request 
>> with the user and company name. The goal would be to have zero accidental 
>> matches of other log messages.
>>
>> Maybe something like:
>>
>> * *
>>
>>
>> So by using '<' and '>' as well as an identifier I could match requests 
>> made by a person or a company.
>>
>> Do you think there is a better way?
>>
>
>
>
> No, that sounds like a good plan. The only thing I would add is to make 
> sure the identifier is on it's own log line and perhaps prefix the line 
> with a special, reserved token. For example, you could write this into 
> logging:
>
> *ID Token - < User:bob > < Company:google >*
>
> Then when you parse the logs using your analyzer, you can first look for 
> log lines prefixed with *ID Token*. If you match the prefix, then you 
> know that this is an ID, and then you can parse out the username and the 
> company. 
>
> This does two things: it simplifies the code in your matcher and also 
> provides a layer of error-checking: without the prefixing token check, a 
> regex might accidentally match some other log information that isn't 
> intended to be ID data.
>
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] filter logs by user?

2014-02-28 Thread stephanos
Thanks for your detailed answer, Vinny!

We don't use Google authentication but our own, so I guess we are out of 
luck and have to resort to matching simple log messages. I'm wondering, 
regular expression wise, what would be the best way to mark each request 
with the user and company name. The goal would be to have zero accidental 
matches of other log messages.

Maybe something like:

* *


So by using '<' and '>' as well as an identifier I could match requests 
made by a person or a company.

Do you think there is a better way?


On Friday, February 28, 2014 8:49:10 AM UTC+1, Vinny P wrote:
>
> On Wed, Feb 26, 2014 at 8:35 AM, stephanos 
> > wrote:
>
>> we would like to filter our logs by user as well as by company. 
>> The dashboard provides filtering by "Labels" and explains that these are 
>> "regular expressions for filtering Apache Combined logs". It also lists a 
>> few valid labels including "user" and "identd_user".
>> How can I specify the values for those labels so that App Engine will 
>> parse them correctly?
>>
>
>
> Hi Stephan,
>
> It's a fairly straightforward regular expression. Here's a simple example: 
> I uploaded a Go application which uses Google Accounts to log in, then 
> logged in with my *vinnyapp* Gmail account. Then I went into logs and 
> searched for my login. Here's an example of the search (note that the 
> *labels* radiobox is selected): http://imgur.com/1qeJ5tZ  and here's an 
> example of one of the logs that the search pulled up: 
> http://imgur.com/XteD1FN . Note that my Google account is listed in the 
> logs.
>
> If you're using the built-in Users service, the logs should automatically 
> record the user logging in. If you're not, then you'll have to find a 
> different way of recording the current user and inspecting the logs.
>   
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] filter logs by user?

2014-02-26 Thread stephanos
Hey everybody,

we would like to filter our logs by user as well as by company. 

The dashboard provides filtering by "Labels" and explains that these are 
"regular expressions for filtering Apache Combined logs". It also lists a 
few valid labels including "user" and "identd_user".
How can I specify the values for those labels so that App Engine will parse 
them correctly?


Cheers
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] In-container testing: Arquillian or Remote API?

2014-01-06 Thread stephanos
Hi everyone,

we are getting started to write some Selenium test for our Java App Engine 
application. 
Since we want to do some setup/teardown we'd like to do *in-container*testing.

As far as I see there are two options:

   - start the local devserver via Java and run commands via the Remote 
API
   - use Arquillian  with arquillian-container-gae 


What are the pros and cons of Arquillian here?

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] run dev_server from JUnit?

2013-12-18 Thread stephanos
Thanks. I just got it running!

   1. I don't seem to get any logging output from the app in my console, is 
   this intended?
   2. Is the access to the datastore now shared between my tests and the 
   server?

Cheers
Stephan


On Tuesday, December 17, 2013 8:24:31 PM UTC+1, schuppe wrote:
>
> We are using gaedriver <https://code.google.com/p/gaedriver/> to start 
> apps with devappserver and then run tests against it. Here is an example:
>
> https://code.google.com/p/gaedriver/source/browse/#hg%2Fjava%2Fsrc%2Ftest%2Fjava%2Fcom%2Fgoogle%2Fappengine%2Fcontrib%2Fgaedriver%2Fe2e%253Fstate%253Dclosed
>
>
> On Tue, Dec 17, 2013 at 7:59 AM, stephanos 
> > wrote:
>
>> Hey,
>>
>> I'd like to do some (gray-box) integration testing with my Java App 
>> Engine app. 
>>
>> How can I start the dev server from within my JUnit tests? With 
>> Jetty/Grizzly, for example.
>>
>> Regards
>> Stephan
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] run dev_server from JUnit?

2013-12-17 Thread stephanos
Hey,

I'd like to do some (gray-box) integration testing with my Java App Engine 
app. 

How can I start the dev server from within my JUnit tests? With 
Jetty/Grizzly, for example.

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] where to put credentials?

2013-11-15 Thread stephanos
Thanks for the ideas, guys!

PS: I found an existing issue that demands the possibility to set 
environment variables via the admin UI: 
https://code.google.com/p/googleappengine/issues/detail?id=3383


On Friday, November 15, 2013 10:20:31 PM UTC+1, Alejandro González Rodrigo 
wrote:
>
> I use resource files to store credentials and on app start i copy them in 
> to a global config entity en the datastore. I cache it for fast access 
> aswell.
>
> Cheers
> El 15/11/2013 11:19, "stephanos" > 
> escribió:
>
>> Hi there,
>>
>> my project currently stores API keys and other credentials in the source 
>> code. That's far from ideal.
>> In Heroku you can set global environment variables which are a great 
>> place to store those sensitive information.
>>
>> So - where do you put your credentials?
>>
>> Cheers
>> Stephan
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] where to put credentials?

2013-11-15 Thread stephanos
Hi there,

my project currently stores API keys and other credentials in the source 
code. That's far from ideal.
In Heroku you can set global environment variables which are a great place 
to store those sensitive information.

So - where do you put your credentials?

Cheers
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] splitting monolith into multiple modules?

2013-11-05 Thread stephanos
I'm imaging partitioning the app into a few modules in order to favour 
agile / lean development & deployment. So when I work on the admin part the 
user app is completely independent.

The question, as you suggest, is whether I put these shared capabilities 
into shared libraries or a shared modules ("services"). The former would 
eliminate the need for inter-module communication but increases the 
deployment overhead: When a library changes all services need to be updated 
and re-deployed. By isolating capabilities into services I would always 
only have to update and deploy that one service (even if the interface adds 
methods - yet not when I'd remove one) but the required communication 
overhead worries me.

Generally, I was wondering about the feasibility of urlfetch for internal 
calls because I read somewhere that you can only have so many parallel 
calls. And I wouldn't want to have a splendid agile, service-oriented 
architecture but realise that some calls just don't succeed when there are 
too many (or are too slow/flaky).

PS: I heard a lot about the split-up approach from Sam Newman's Designing 
for Rapid Release <https://vimeo.com/47515968>.

Regards
Stephan


On Wednesday, November 6, 2013 7:22:42 AM UTC+1, Vinny P wrote:
>
> On Tue, Nov 5, 2013 at 3:34 AM, stephanos 
> > wrote:
>
>> I want to split my big Java application into multiple smaller modules. 
>> They will not be 100% independent so they will need to communicate with 
>> another.
>>
>> I'm wondering...
>>
>>- what communication protocol to use?
>>- will latency be low enough? are there spikes?
>>
>>
> What kind of latency numbers are you looking for? Do you need real-time 
> communications, or can the communication be done async/with a bit of lag?
>
> If you need realtime communication with a different module, you can design 
> a simple API and urlfetch to that. XMPP can also be used for fast 
> communication. If you can tolerate a delay or do the work async, you can 
> communicate between different modules using task queues.
>
> Depending on your application's architecture, you can also try refactoring 
> your application so shared services are consolidated into shared libraries.
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] splitting monolith into multiple modules?

2013-11-05 Thread stephanos
Hi there,

I want to split my big Java application into multiple smaller modules. They 
will not be 100% independent so they will need to communicate with another.

I'm wondering...

   - what communication protocol to use?
   - will latency be low enough? are there spikes?

It would be great if anyone has some experiences with this and could share 
some advice :)

Cheers
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] zopfli compression?

2013-08-29 Thread stephanos
Hi there,

I recently read about Google's Zopfli  (~5% 
better compression of asset files). I was wondering how I can combine this 
with App Engine.

I suppose Zopfli is not currently used for compression of App Engine static 
files, is it?
Is it possible to compress files with Zopfli and let App Engine serve the 
.gz files directly?

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Task Queue: costs?

2013-08-21 Thread stephanos
Hi there,

I'm not sure I understand the cost implications of the Task Queue.

It seems there are 3 ways I can work with it:

   1. *pull* from *inside* App Engine
   2. *push* *inside* App Engine
   3. *pull* via REST from *outside* App Engine

Of course, the task payload counts against the data store storage quota and 
traffic cost are added when talking to the REST API.

But what additional cost arise in the 3 scenarios?
Read/writes (e.g. when polling the REST API)?

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Grunt + App Engine

2013-08-12 Thread stephanos
Hi there,

for those of you who rely on Grunt as a build tool - like me - I created an 
App Engine plugin: https://npmjs.org/package/grunt-appengine

It allows you to run appcfg / dev_appserver commands from Grunt.

Tell me what you think :)


Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Share dedicated Memcache across apps?

2013-08-11 Thread stephanos
Maybe the f1-micro instance of the Google Compute 
Engine<https://cloud.google.com/pricing/compute-engine>could be used. It has 
600 MB, shared CPU and costs ~14 Dollars/month.

The question is how good the latency is and if the CPU is too limiting...



On Thursday, August 8, 2013 12:12:58 PM UTC+2, Brandon Thomson wrote:
>
> On Wednesday, August 7, 2013 2:30:11 AM UTC-4, stephanos wrote:
>
>> Personally I find $0.12 per GB per hour quite expensive, that's about 
>> $86 per GB per month. I would be totally happy with 100MB.
>>
>
> I would also be much more likely to sign up for 100MB at $10/month.
>
> I suspect the reason they don't support smaller allocations is concerns 
> about bandwidth between the instances and the memcache machines. There 
> might not be enough to make 10x as many users happy.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Access memcache and/or datastore from Compute Engine?

2013-08-11 Thread stephanos
Hi there,

assuming I had an app where the frontend runs on App Engine and the backend 
on Compute Engine - how can the backend access the datastore and/or 
memcache?

PS: App Engine backends are (much) too expensive for me.

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] API for app engine admin console?

2013-08-07 Thread stephanos
May I just ask, are those sites being updated a lot? 

I could imagine if you push a new version - maybe every day - things could 
change - sometimes drastically - again.



On Wednesday, August 7, 2013 4:21:41 PM UTC+2, Joshua Smith wrote:
>
> My experience is with enterprise process apps, customer facing apps with a 
> few thousand occasional users, and one consumer app with hundreds of daily 
> users.
>
> In each of those case, I've found that I need to continuously monitor the 
> app for the first week or two to get everything humming (billing status 
> reports are the most useful diagnostic, actually). After that, random spot 
> checks seem to be just fine.
>
> That's sort of the whole point of using GAE. If I wanted to obsessively 
> tune and monitor apps, I'd use AWS.
>
> On Aug 7, 2013, at 9:05 AM, stephanos > 
> wrote:
>
> Interesting. But how about requests/seconds, task backlog, consumed quota, 
> cache hits etc.?
>
>
> On Wednesday, August 7, 2013 3:01:58 PM UTC+2, Joshua Smith wrote:
>>
>> I use ereporter to watch for exceptions, and then just log in to the 
>> console now and then to look for non-exception issues.
>>
>>
>> https://developers.google.com/appengine/articles/python/recording_exceptions_with_ereporter
>>
>> Note that those instructions are not quite right. The correct thing to 
>> add to app.yaml these days (py2.7) is:
>>
>> - url: /_ereporter.*
>>   script: google.appengine.ext.ereporter.report_generator.application
>>   login: admin
>>
>>
>>
>> On Aug 7, 2013, at 7:31 AM, stephanos  wrote:
>>
>> Okay, never mind. I found the according 
>> issue<https://code.google.com/p/googleappengine/issues/detail?id=655>for 
>> this. In 1 month it will be 5 years old :)
>>
>> So, how do you guys monitor your apps? Just login once a day into the 
>> console?
>>
>>
>>
>> On Wednesday, August 7, 2013 11:58:26 AM UTC+2, stephanos wrote:
>>>
>>>
>>> Hi there,
>>>
>>> Is there an API to grab the stats/data that are displayed in an 
>>> application's admin console?
>>>
>>> Specifically, I'd like to get access to the number of tasks in a queue, 
>>> requests per second etc. in order to put it on a dashboard.
>>>
>>>
>>> Thanks,
>>> Stephan
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com.
>> To post to this group, send email to google-a...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengi...@googlegroups.com .
> To post to this group, send email to google-a...@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] API for app engine admin console?

2013-08-07 Thread stephanos
Interesting. But how about requests/seconds, task backlog, consumed quota, 
cache hits etc.?


On Wednesday, August 7, 2013 3:01:58 PM UTC+2, Joshua Smith wrote:
>
> I use ereporter to watch for exceptions, and then just log in to the 
> console now and then to look for non-exception issues.
>
>
> https://developers.google.com/appengine/articles/python/recording_exceptions_with_ereporter
>
> Note that those instructions are not quite right. The correct thing to add 
> to app.yaml these days (py2.7) is:
>
> - url: /_ereporter.*
>   script: google.appengine.ext.ereporter.report_generator.application
>   login: admin
>
>
>
> On Aug 7, 2013, at 7:31 AM, stephanos > 
> wrote:
>
> Okay, never mind. I found the according 
> issue<https://code.google.com/p/googleappengine/issues/detail?id=655>for 
> this. In 1 month it will be 5 years old :)
>
> So, how do you guys monitor your apps? Just login once a day into the 
> console?
>
>
>
> On Wednesday, August 7, 2013 11:58:26 AM UTC+2, stephanos wrote:
>>
>>
>> Hi there,
>>
>> Is there an API to grab the stats/data that are displayed in an 
>> application's admin console?
>>
>> Specifically, I'd like to get access to the number of tasks in a queue, 
>> requests per second etc. in order to put it on a dashboard.
>>
>>
>> Thanks,
>> Stephan
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengi...@googlegroups.com .
> To post to this group, send email to google-a...@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: API for app engine admin console?

2013-08-07 Thread stephanos
Okay, never mind. I found the according 
issue<https://code.google.com/p/googleappengine/issues/detail?id=655>for this. 
In 1 month it will be 5 years old :)

So, how do you guys monitor your apps? Just login once a day into the 
console?



On Wednesday, August 7, 2013 11:58:26 AM UTC+2, stephanos wrote:
>
>
> Hi there,
>
> Is there an API to grab the stats/data that are displayed in an 
> application's admin console?
>
> Specifically, I'd like to get access to the number of tasks in a queue, 
> requests per second etc. in order to put it on a dashboard.
>
>
> Thanks,
> Stephan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] API for app engine admin console?

2013-08-07 Thread stephanos

Hi there,

Is there an API to grab the stats/data that are displayed in an 
application's admin console?

Specifically, I'd like to get access to the number of tasks in a queue, 
requests per second etc. in order to put it on a dashboard.


Thanks,
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Share dedicated Memcache across apps?

2013-08-06 Thread stephanos
Well, of course.

That's why I was asking if I could share *dedicated* memcache across my 
apps (see title).


On Wednesday, August 7, 2013 8:44:49 AM UTC+2, Josselin wrote:
>
> You should only pay for memcache if you are using Dedicated memcache.
> By default, you are using shared memcache (which is free)
>
>
> On Wednesday, August 7, 2013 4:30:11 PM UTC+10, stephanos wrote:
>>
>> Free quota, what free quota? -> 
>> https://developers.google.com/appengine/docs/adminconsole/memcache
>> Personally I find $0.12 per GB per hour quite expensive, that's about 
>> $86 per GB per month. I would be totally happy with 100MB.
>>
>> And merging my 5 apps into 1 application-id is obviously not going to 
>> happen...
>>
>>
>> On Wednesday, August 7, 2013 4:27:28 AM UTC+2, YH Yang wrote:
>>>
>>> LOL, people usually don't complain the free quota is too much. :D
>>> Maybe you can try the new module feature, and make your 5 apps into 1 
>>> app with 5 modules.
>>>
>>>
>>> 2013/8/7 Tamanna Afroze 
>>>
>>>> NO
>>>>
>>>>
>>>> On Tue, Aug 6, 2013 at 6:52 AM, stephanos  wrote:
>>>>
>>>>> Can I share the dedicated Memcache across multiple apps?
>>>>>
>>>>> 1 GB is too much for any of my applications, but divided by 5 apps 
>>>>> this would make sense...
>>>>>
>>>>> Regards
>>>>> Stephan
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Google App Engine" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to google-appengi...@googlegroups.com.
>>>>> To post to this group, send email to google-a...@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/google-appengine.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>  
>>>>>  
>>>>>
>>>>
>>>>  -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Google App Engine" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to google-appengi...@googlegroups.com.
>>>> To post to this group, send email to google-a...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/google-appengine.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>  
>>>>  
>>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Share dedicated Memcache across apps?

2013-08-06 Thread stephanos
Free quota, what free quota? -> 
https://developers.google.com/appengine/docs/adminconsole/memcache
Personally I find $0.12 per GB per hour quite expensive, that's about $86 
per GB per month. I would be totally happy with 100MB.

And merging my 5 apps into 1 application-id is obviously not going to 
happen...


On Wednesday, August 7, 2013 4:27:28 AM UTC+2, YH Yang wrote:
>
> LOL, people usually don't complain the free quota is too much. :D
> Maybe you can try the new module feature, and make your 5 apps into 1 app 
> with 5 modules.
>
>
> 2013/8/7 Tamanna Afroze >
>
>> NO
>>
>>
>> On Tue, Aug 6, 2013 at 6:52 AM, stephanos 
>> > wrote:
>>
>>> Can I share the dedicated Memcache across multiple apps?
>>>
>>> 1 GB is too much for any of my applications, but divided by 5 apps this 
>>> would make sense...
>>>
>>> Regards
>>> Stephan
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-appengi...@googlegroups.com .
>>> To post to this group, send email to 
>>> google-a...@googlegroups.com
>>> .
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Moving application to European datacenter?

2013-08-06 Thread stephanos
Are there any news on that question?


On Saturday, July 13, 2013 2:35:02 PM UTC+2, stephanos wrote:
>
> Just to be clear: Will I be able to move my existing app from US to EU or 
> will I have to create a new app(-id) just for the EU?
>
> Cheers
> Stephan
>
>
> On Friday, July 12, 2013 5:53:28 PM UTC+2, Chris Ramsdale wrote:
>>
>> Peter,
>>
>> we're still building out our footprint in the EU clusters and are 
>> controlling the flow of new users to ensure a high quality of service. 
>>  we're looking to removing the manual whitelisting soon.  in the meantime, 
>> i can enable this support for you.  simply send a direct email to 
>> cram...@google.com with the email / account that you would like enabled.
>>
>> thanks,
>>
>> -- Chris
>>
>> Product Manager, Google App Engine
>>
>>
>> On Wed, Jul 10, 2013 at 12:29 PM, Vinny P  wrote:
>>
>>> Hello Peter,
>>>  
>>> On Wed, Jul 10, 2013 at 9:10 AM, Peter D  wrote:
>>>
>>>> In the app engine documentation, I saw this point:
>>>> *For developers that do not have a Premier account, you will need to 
>>>> enable 
>>>> billing<https://developers.google.com/appengine/docs/billing#Enabling_Paid_Apps>for
>>>>  applications that should reside in the European Union.
>>>> *
>>>> (taken from https://developers.google.com/appengine/docs/
>>>> java/gettingstarted/uploading)
>>>> That is my exact position; I do not have a premier account and I have 
>>>> enabled billing. How would I go about residing my applications in the EU?
>>>>
>>>   
>>>  
>>>  You need to contact the Google App Engine staff to have your 
>>> application moved to European datacenters. See 
>>> https://groups.google.com/forum/#!msg/google-appengine/Oon8Ds3dlO4/gStzRiwCrhcJ
>>>  
>>>   
>>> You can also open a ticket at 
>>> https://code.google.com/p/googleappengine/issues/list 
>>>  
>>> -
>>> -Vinny P
>>> Technology & Media Advisor
>>> Chicago, IL
>>>
>>> App Engine Code Samples: http://www.learntogoogleit.com
>>>   
>>>  
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-appengi...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Share dedicated Memcache across apps?

2013-08-06 Thread stephanos
Can I share the dedicated Memcache across multiple apps?

1 GB is too much for any of my applications, but divided by 5 apps this 
would make sense...

Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] F0/B0 instance types?

2013-08-05 Thread stephanos
Hi there,

I was wondering if there are any plans to support even smaller instances 
than F1 and B1 (both 128MB, 600 MHz)?

With Go I think you could probably almost half that instance and it would 
still work great for IO-bound applications.


Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Moving application to European datacenter?

2013-07-13 Thread stephanos
Just to be clear: Will I be able to move my existing app from US to EU or 
will I have to create a new app(-id) just for the EU?

Cheers
Stephan


On Friday, July 12, 2013 5:53:28 PM UTC+2, Chris Ramsdale wrote:
>
> Peter,
>
> we're still building out our footprint in the EU clusters and are 
> controlling the flow of new users to ensure a high quality of service. 
>  we're looking to removing the manual whitelisting soon.  in the meantime, 
> i can enable this support for you.  simply send a direct email to 
> cram...@google.com  with the email / account that you would 
> like enabled.
>
> thanks,
>
> -- Chris
>
> Product Manager, Google App Engine
>
>
> On Wed, Jul 10, 2013 at 12:29 PM, Vinny P 
> > wrote:
>
>> Hello Peter,
>>  
>> On Wed, Jul 10, 2013 at 9:10 AM, Peter D 
>> > wrote:
>>
>>> In the app engine documentation, I saw this point:
>>> *For developers that do not have a Premier account, you will need to enable 
>>> billingfor
>>>  applications that should reside in the European Union.
>>> *
>>> (taken from https://developers.google.com/appengine/docs/
>>> java/gettingstarted/uploading)
>>> That is my exact position; I do not have a premier account and I have 
>>> enabled billing. How would I go about residing my applications in the EU?
>>>
>>   
>>  
>>  You need to contact the Google App Engine staff to have your application 
>> moved to European datacenters. See 
>> https://groups.google.com/forum/#!msg/google-appengine/Oon8Ds3dlO4/gStzRiwCrhcJ
>>  
>>   
>> You can also open a ticket at 
>> https://code.google.com/p/googleappengine/issues/list 
>>  
>> -
>> -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: http://www.learntogoogleit.com
>>   
>>  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] [Java] PutException: Failed to complete in the allocated time 4492ms

2013-06-08 Thread stephanos
Hi,

I just found this error in my logs:

java.util.concurrent.ExecutionException: 
com.google.appengine.api.search.PutException: Failed to complete in the 
allocated time 4492ms

at 
com.google.appengine.api.utils.FutureWrapper.setExceptionResult(FutureWrapper.java:63)

at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:94)


I would love to know how to increase this timeout. Didn't find it so far ...


Regards
Stephan 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Backend instance receiving "/_ah/stop" quickly

2013-05-21 Thread stephanos
I think I solved it. It appears as if the backend instance crashed silently 
(is this possible?). I reduced the necessary JARs drastically and now it 
seems to work fine.

On Monday, May 20, 2013 1:28:09 PM UTC+2, stephanos wrote:
>
> Hi,
>
> I just deployed my first backend (dynamic, private, B2). When I invoke a 
> URL it calls "/_ah/start" and then does its (small) job.
>
> But less than 1 minute later there is a call to "/_ah/stop" in the logs: 
> the instance disappears from the admin UI - yet the button "Stop" is still 
> there, implying that it is still running.
>
> I though the instance is stopped after being idle for 15 minutes ... w*hat's 
> happening?*
>
>
> Cheers
> Stephan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Backend instance receiving "/_ah/stop" quickly

2013-05-20 Thread stephanos
Hi,

I just deployed my first backend (dynamic, private, B2). When I invoke a 
URL it calls "/_ah/start" and then does its (small) job.

But less than 1 minute later there is a call to "/_ah/stop" in the logs: 
the instance disappears from the admin UI - yet the button "Stop" is still 
there, implying that it is still running.

I though the instance is stopped after being idle for 15 minutes ... w*hat's 
happening?*


Cheers
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Management of Java Threads?

2013-05-08 Thread stephanos
The available Thread-API is kind of low level. Do you use any (simple) 3rd 
party Java libraries that help to deal with them?

For example, I have 2 Threads and want to wait at some point until both 
finish.


Regards
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Application Limit in App Engine

2013-05-01 Thread stephanos
I found myself reaching the "10 applications" limit. What's the current way 
to ask for an increase?

PS: I try to create a "stage" environment for all my apps, so actually I'd 
effectively only have 5 apps.

Regards,
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] How to add an a handler to JUL?

2012-01-23 Thread stephanos
I want to send server runtime errors to me via email. 

Since it should include HTTP request data, I wrote a servlet filter 
where I'm trying to dynamically attach a handler to JUL since I can't just 
define it in the logging.properties.

When I instantiate my handler I just get:

com.crashnote.jul.impl.JulConnector err: unable to attach appender
java.security.AccessControlException: access denied 
(java.util.logging.LoggingPermission control)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:355)
at 
java.security.AccessController.checkPermission(AccessController.java:567)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at 
com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45)
at java.util.logging.LogManager.checkAccess(LogManager.java:1113)
at java.util.logging.Handler.checkAccess(Handler.java:301)
at java.util.logging.Handler.setLevel(Handler.java:256)
at com.example.jul.CrashHandler.setLogLevel(CrashHandler.java:97)
at com.example.jul.CrashHandler.start(CrashHandler.java:122)
at com.example.jul.CrashHandler.init(CrashHandler.java:69)
at com.example.jul.CrashHandler.(CrashHandler.java:60)
at com.example.jul.impl.JulConnector.attach(JulConnector.java:55)


Any ideas on how to solve this? 

-- 
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/-/X6ezWTjX2s4J.
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] Offering a Google App Engine service: using the logo?

2011-12-02 Thread stephanos
Hi,

I'm developing a error tracking service called http://crashnote.com and one 
of the platforms I want to target is the App Engine. Obviously I want to 
make this very clear on my landing page, so I thought using the logo is a 
great way of doing this.

Today I received a response to my request which said "we cannot approve 
your request". I can understand them, I mean I wouldn't want anyone to use 
my logo and misguide users.

But I want to be a legit SaaS offering for this App Engine platform, there 
must be some way to become an official "partner".

I'd be happy to hear advice/suggestions.


Regards,
Stephan

-- 
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/-/xlQqO89xKrAJ.
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] Copyright of App Engine Logo?

2011-10-14 Thread stephanos
I was wondering if I am allowed to put the App Engine Logo

<http://code.google.com/appengine/images/appengine_lowres.png>
on a business card? I only found branding statements for the Android 
logo<http://www.android.com/branding.html>
...

Cheers!
Stephanos

-- 
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/-/K2SXRSG--XEJ.
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.