[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] Access to Expanded EU Support Datacenter

2013-11-15 Thread Marcel Manz


 Thanks, Marcel. I filled out the request form of the blog post a week ago. 
 Do you know how long it normally takes until you get a response? 


Sorry, I have no idea. If you have to deploy in the EU immediately, sign up 
for at least silver support at:

https://cloud.google.com/support/packages

This will give you immediate access to EU datacentres. You can still cancel 
the support package at a later date, if you feel you won't need 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/groups/opt_out.


Re: [google-appengine] Access to Expanded EU Support Datacenter

2013-11-15 Thread Marcel Manz
..and I forgot to mention that if you have a support package you also get 
all services through postpaid (no credit card needed. You'll get a monthly 
invoice which you pay postpaid by wire transfer for all Google Cloud 
Services). Further to that you can have all pricing in EUR instead of USD, 
so there won't be any currency fluctuations.

Marcel

-- 
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] What is the most efficient way to compute a rolling median on appengine?

2013-11-15 Thread Stephen
On Tue, Nov 12, 2013 at 8:07 PM, Mathieu Simard
mathieu.simar...@gmail.comwrote:

 Since there is no appengine solution available such as the Redis atomic
 list, I'm left wondering how to implement a cost effective rolling median.
 Has anyone come up with a solution that would be more convenient than
 running a redis instance on Google Compute Engine?


- batch data in front-end instance memory
- flush data to a pull queue every time window
- run a task every time window to gather all data batches from pull queue
- merge data, compute moving median, write result to data store

Instances will be started as more data is submitted. Tune the frequency of
the calculation so that the size of the pending data batches does not
overwhelm a single task.

-- 
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] What is the most efficient way to compute a rolling median on appengine?

2013-11-15 Thread Kaan Soral
This seems like a bad idea, you could just add it as a pull-queue task, 
instances can die pretty easily

You also assumed that the data is small enough to process/store easily, 
however this doesn't seem to be the case

On Friday, November 15, 2013 9:04:58 PM UTC+2, Stephen wrote:


 On Tue, Nov 12, 2013 at 8:07 PM, Mathieu Simard 
 mathieu@gmail.comjavascript:
  wrote:

 Since there is no appengine solution available such as the Redis atomic 
 list, I'm left wondering how to implement a cost effective rolling median.
 Has anyone come up with a solution that would be more convenient than 
 running a redis instance on Google Compute Engine?


 - batch data in front-end instance memory
  - flush data to a pull queue every time window
 - run a task every time window to gather all data batches from pull queue
 - merge data, compute moving median, write result to data store

  Instances will be started as more data is submitted. Tune the frequency 
 of the calculation so that the size of the pending data batches does not 
 overwhelm a single task.


-- 
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] What is the most efficient way to compute a rolling median on appengine?

2013-11-15 Thread Mathieu Simard
I decided to settle with a solution that will do the trick for now.

I'm building heaps of data per metrics per system in memcache and just 
accepting the fact that sometimes I will not be able to compute my results.
I've no guarantee of consistency, since now all my writes in memcache can 
overwrite others.

It's far from perfect, but it does the trick quite well at a fraction of 
the cost.
If flush rates get too intense I'll simply upgrade to a dedicated memcache.

I will post an update if I hit a wall with that approach.

On Friday, November 15, 2013 2:10:39 PM UTC-5, Kaan Soral wrote:

 This seems like a bad idea, you could just add it as a pull-queue task, 
 instances can die pretty easily

 You also assumed that the data is small enough to process/store easily, 
 however this doesn't seem to be the case

 On Friday, November 15, 2013 9:04:58 PM UTC+2, Stephen wrote:


 On Tue, Nov 12, 2013 at 8:07 PM, Mathieu Simard mathieu@gmail.comwrote:

 Since there is no appengine solution available such as the Redis atomic 
 list, I'm left wondering how to implement a cost effective rolling median.
 Has anyone come up with a solution that would be more convenient than 
 running a redis instance on Google Compute Engine?


 - batch data in front-end instance memory
  - flush data to a pull queue every time window
 - run a task every time window to gather all data batches from pull queue
 - merge data, compute moving median, write result to data store

  Instances will be started as more data is submitted. Tune the frequency 
 of the calculation so that the size of the pending data batches does not 
 overwhelm a single task.



-- 
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: where to put credentials?

2013-11-15 Thread Chad Vincent
In a global settings object in the datastore sounds good to me.

On Friday, November 15, 2013 4:18:53 AM UTC-6, stephanos wrote:

 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] where to put credentials?

2013-11-15 Thread Alejandro González Rodrigo
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 stephan.beh...@gmail.com 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-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.


-- 
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 app engine outage ???

2013-11-15 Thread opg
Hi,
Since half an hour ago all my requests to frontend instance are getting the 
same error : 

Request was aborted after waiting too long to attempt to service your 
request.

Can somebody confirm this or explain this ?? 
On the other hand my backend continues working fine.

I've changed nothing to my app in the last 24 hours...

Thank you
Tomer

-- 
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: Java app engine outage ???

2013-11-15 Thread opg
Moreover my frontend instances are killed immediately all the time and then 
fail to spin new ones !!!


On Friday, November 15, 2013 11:26:58 PM UTC+2, o...@haitov.com wrote:

 Hi,
 Since half an hour ago all my requests to frontend instance are getting 
 the same error : 

 Request was aborted after waiting too long to attempt to service your 
 request.

 Can somebody confirm this or explain this ?? 
 On the other hand my backend continues working fine.

 I've changed nothing to my app in the last 24 hours...

 Thank you
 Tomer



-- 
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] memcache totally down

2013-11-15 Thread James Gilliam
right now

-- 
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: Java app engine outage ???

2013-11-15 Thread opg
Backends also responding very slow.

Apparently there is an outage ! 
https://groups.google.com/forum/#!topic/google-appengine-downtime-notify/4P2n9DV-bTc

But status page is all green 


On Friday, November 15, 2013 11:26:58 PM UTC+2, o...@haitov.com wrote:

 Hi,
 Since half an hour ago all my requests to frontend instance are getting 
 the same error : 

 Request was aborted after waiting too long to attempt to service your 
 request.

 Can somebody confirm this or explain this ?? 
 On the other hand my backend continues working fine.

 I've changed nothing to my app in the last 24 hours...

 Thank you
 Tomer



-- 
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.
attachment: Screen Shot 2013-11-15 at 11.54.43 PM.png

[google-appengine] Re: memcache totally down

2013-11-15 Thread James Gilliam
back up but very slow

On Friday, November 15, 2013 1:47:41 PM UTC-8, James Gilliam wrote:

 right now


-- 
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 stephan...@gmail.com javascript: 
 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 javascript:.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 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: memcache totally down

2013-11-15 Thread James Gilliam
according to my error logs ... there was a outage from 13:24 to 13:52 PT 
... 28 mins

On Friday, November 15, 2013 1:47:41 PM UTC-8, James Gilliam wrote:

 right now


-- 
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] Ofbiz hosting with google app engine

2013-11-15 Thread Antony Adopo
it is ecommerce ofbiz app


Le jeudi 14 novembre 2013 03:32:27 UTC+1, Vinny P a écrit :

 On Wed, Nov 13, 2013 at 5:34 PM, Antony Adopo saiu...@gmail.comjavascript:
  wrote:

 Is it possible host an ecommerce ofbiz application in google app engine? 
 if yes, how?



 It's possible to host many types of applications on App Engine. Is there a 
 specific ofbiz application you're interested in deploying to App Engine, or 
 are you planning to write your own?

 Once you determine the app's actual requirements, then you can compare it 
 to the services that App Engine offers.
  
  
 -
 -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] PHP Error 204 - but goes away on refresh (Zend Framework)

2013-11-15 Thread Jeffery Fernandez
Hi Rodrigo,

See if this problem is related to APC as detailed in this report
https://code.google.com/p/googleappengine/issues/detail?id=9553



On Tue, Nov 12, 2013 at 5:52 PM, Rodrigo Silveira rodri...@gmail.comwrote:

 I'm running a Zend Project on GAE (PHP 5.4). On my development
 environment, everything works fine. When I deploy the app, however, I get
 500 errors on form posts. If I refresh the page, the data gets posted, even
 though the form validation fails. In both cases, the request only takes a
 couple of seconds to return (leading me to believe that *this is not a
 timeout issue*).

 I've had this happen consistently, but the 500 has only been logged once:

 Logging Severity: Warning
 A problem was encountered with the process that handled this request,
 causing it to exit. This is likely to cause a new process to be usedfor the 
 next request to your application. (Error code 204)

 Here's the response header from one of the times I got the error:

 HTTP/1.1 500 Internal Server Error
 status: 500 Internal Server Error
 version: HTTP/1.1
 alternate-protocol: 443:quic
 content-length: 466
 content-type: text/html; charset=UTF-8
 date: Tue, 12 Nov 2013 06:20:38 GMT
 server: Google Frontend

  --
 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.




-- 
Mobile: +61 430 534 464
Home: +61 3 9764 4439
Work: +61 3 9723 9399

-- 
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.