[google-appengine] Re: Memcache problems (eu west)

2017-07-28 Thread Ruben Schwarz
Same on our project.

Magically the error disappeared at ~8:30 UTC.

Any idea what's the cause of this problem?

Am Freitag, 28. Juli 2017 09:28:19 UTC+2 schrieb Linus Larsen:
>
> Lately I'm getting a lot of these (java, standard env):
>
> com.google.appengine.api.memcache.MemcacheServiceApiHelper$RpcResponseHandler 
> handleApiProxyException: Memcache putAll: Unknown exception setting 1 keys: 
> Memcache is temporarily unavailable. (MemcacheServiceApiHelper.java:68 
> 
> )
>
> I've seen this before however not as frequent, now it happens every minute 
> but not on every request.
>
> Is there any work going on or is something really broken with Memcache in 
> Europe-west region?
>
>
>
>
>   
>  
>

-- 


Besuchen Sie unseren Chrome Webshop unter shop.cloudwuerdig.com

www.sotec.eu | www.cloudwuerdig.com 
-- 
SOTEC Software Entwicklungs GmbH + Co Mikrocomputertechnik KG 
Calwer Straße 11, D-75395 Ostelsheim 
Sitz Ostelsheim, Amtsgericht Stuttgart HRA 330821/HRB 330664, 
Geschäftsführer: Florian Holz 
Cloudwürdig® ist eine eingetragene Marke der SOTEC Software Entwicklungs 
GmbH + Co Mikrocomputertechnik KG

Der Inhalt dieser e-Mail ist ausschließlich für den bezeichneten Adressaten 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser e-Mail oder dessen 
Vertreter sein sollten, so beachten Sie bitte, dass jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des 
Inhalts dieser e-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall 
mit dem Absender der e-Mail in Verbindung zu setzen.

The content of this e-mail is meant exclusively for the person to whom it 
is addressed. If you are not the person to whom this e-mail is addressed or 
his/her representative, please be informed, that any form of knowledge, 
publication, duplication or distribution of the content of this e-mail is 
inadmissible. We ask you, therefore, in such a case to please contact the 
sender of this e-mail.

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/066cb970-86fb-44c0-b8d1-c831afc8bcce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Google App Engine Android Facebook login

2015-10-23 Thread Ruben A.
Les, I have a quick question for you.  Above you state:

"If you expect a small number of users, at least to start with - use 
Firebase.
If you already have a lot of users or expect lots of users -- use Identity 
Toolkit."

I am not looking for an exact number, but would you consider 50k users 
'small' and better for a firebase app then Identity toolkit?

Thanks

Ruben


On Saturday, July 11, 2015 at 1:16:11 PM UTC-5, Les Vogel wrote:
>
> I should have it published before 2pm today.
>
> On Sat, Jul 11, 2015 at 9:16 AM, Shruthi Sharat <sruthi@gmail.com 
> > wrote:
>
>> Hi,
>>
>>Thank you for the reply. I will be waiting for that sample code.
>>
>> How do I validate the id token in my app engine back end which i am 
>> getting from the toolkit? Can you please provide some kind of documents or 
>> sample code.
>>
>> Regards,
>> Shruthi Kumbham
>>
>>
>>
>> On Fri, Jul 10, 2015 at 12:19 AM, 'Les Vogel' via Google App Engine <
>> google-a...@googlegroups.com > wrote:
>>
>>> Firebase Auth is easy to get started with and use.  Your connecting 3rd 
>>> party auth to it.  (The folks from Firebase might describe this differently)
>>> Identity Toolkit is fairly robust and will scale to millions of users.
>>>
>>> If you expect a small number of users, at least to start with - use 
>>> Firebase.
>>> If you already have a lot of users or expect lots of users -- use 
>>> Identity Toolkit.
>>>
>>> The sample I mentioned should be published tomorrow afternoon.   
>>> https://github.com/GoogleCloudPlatform/Abelana
>>>
>>> On Thu, Jul 9, 2015 at 1:37 AM, Shruthi Sharat <sruthi@gmail.com 
>>> > wrote:
>>>
>>>> Hi, 
>>>>
>>>>  Thank You. Please let me know how is Firebase and Identity Toolkit 
>>>> differs ? I am not able to decide which one to go with.
>>>>
>>>> Can I have my backend code and database running on App Engine and just 
>>>> use Firebase for authentication and sessions ? If Yes, how can i connect 
>>>> my 
>>>> Firebase with my App Engine ?
>>>>
>>>> Which is best to go with, Firebase or Identity Toolkit ? 
>>>>
>>>> Kindly clarify. I find very less documentation on these.
>>>>
>>>> Regards,
>>>> Shruthi Kumbham
>>>>
>>>>
>>>>
>>>> On Mon, Jul 6, 2015 at 10:05 PM, 'Les Vogel' via Google App Engine <
>>>> google-a...@googlegroups.com > wrote:
>>>>
>>>>> Hope to have an example published by Tuesday of next week.
>>>>>
>>>>> Les
>>>>>
>>>>> On Fri, Jul 3, 2015 at 12:38 AM, Shruthi Sharat <sruthi@gmail.com 
>>>>> > wrote:
>>>>>
>>>>>> Thank you so much for reply.
>>>>>>
>>>>>>  I could able to use the identity toolkit API and able to login via 
>>>>>> G+ and facebook.  But I am not able to access my endpoints by logging 
>>>>>> into 
>>>>>> G+ or Facebook. 
>>>>>>
>>>>>> Please let me know the procedure to do it. I can't find any 
>>>>>> documentation also.It will be a great help.
>>>>>>
>>>>>> Regards,
>>>>>> Shruthi Kumbham
>>>>>>
>>>>>> On Thu, Jul 2, 2015 at 2:07 AM, 'Les Vogel' via Google App Engine <
>>>>>> google-a...@googlegroups.com > wrote:
>>>>>>
>>>>>>> Hi Shruthi,
>>>>>>>
>>>>>>> You might wish to take a look at the Google Identity Toolkit 
>>>>>>> <https://developers.google.com/identity/toolkit/> Libraries(Java 
>>>>>>> <https://github.com/google/identity-toolkit-java-client>, & Go 
>>>>>>> <https://github.com/google/identity-toolkit-go-client> ) & Samples (
>>>>>>> Android <https://github.com/googlesamples/identity-toolkit-android>, 
>>>>>>> iOS <https://github.com/googlesamples/identity-toolkit-ios>, & Java 
>>>>>>> <https://github.com/googlesamples/identity-toolkit-java>).  It will 
>>>>>>> let you do Facebook & G+ and your own authentication and connect with 
>>>>>>> Android, iOS, and your backend on AppEngine.  The docs should help 
>>>>>>> explain 

[google-appengine] Re: Memory usage while parsing XML file into Google App Engine datastore

2013-07-30 Thread ruben . orduz
That large of a file/job seems like a job for MapReduce rather than 
AppEngine front or backend instances, IMO.

My 2c.

On Tuesday, July 30, 2013 2:29:31 AM UTC-4, Andrew Free wrote:

 I'm trying to parse a big (5GB) XML file (product catalog) into a google 
 datastore. The issue I am having is it taking up a lot of memory. I was 
 able to get the memory down from the parsing part by reading it line by 
 line and deleting elements as I go. However something is still sticking 
 behind.

 My code is http://pastebin.com/ESARQikC

 I believe the issue is occuring in this specific function (
 process_element)

 def process_element(self,item):
 if item.tag == programname:
 self.Plist.append(item.text)
 elif item.tag == 'name':
 self.Plist.append(item.text)
 elif item.tag == 'description':
 self.Plist.append(item.text)
 elif item.tag == 'sku':
 self.Plist.append(item.text)
 elif item.tag == 'manufacturer':
 self.Plist.append(item.text)
 elif item.tag == 'price':
 self.Plist.append(item.text)
 elif item.tag == 'buyurl':
 self.Plist.append(item.text)
 elif item.tag == 'imageurl':
 self.Plist.append(item.text)
 elif item.tag == 'advertisercategory':
 self.Plist.append(item.text)
 elif item.tag==product:
 Product(
 programname=(%s % self.Plist[0]),
 name=(%s % self.Plist[1]),
 description=(%s % self.Plist[2][0:500]),
 sku=(%s % self.Plist[3]),
 manufacturer=(%s % self.Plist[4]),
 price=(%s % self.Plist[5]),
 buyurl=(%s % self.Plist[6]),
 imageurl=(%s % self.getBigImageUrl(self.Plist[7])),
 advertisercategory=(%s % self.Plist[8])).put()

 self.count+=1
 print self.count
 if self.count%15000 == 0:  
 time.sleep(1)
 for ob in self.Plist:
 del ob
 del self.Plist
 self.Plist=[]
 del item

 When I comment out the Product().put() line and run it, it can go through 
 tons of lines without making much of a memory impact. The reason I added 
 the sleep in the middle of it is I was thinking some subprocesses that GAE 
 spawns were adding the data to the datastore and might need some time to 
 operate. So I waited after adding 15000 items to see if any ram would be 
 freed up (purged memory on the OS side as well) however it did not help. Is 
 this something in my code or something I can't change related to adding 
 data to a datastore. I'm stuck and confused after hours/days of playing 
 around with 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.




[google-appengine] Blobstore file-like API deprecation timeline (Py 2.7 Runtime)

2013-07-29 Thread ruben . orduz
We recently noticed that the file-like API to store and retrieve blobs from 
the blobstore has been suddenly deprecated. We built quite a bit of our app 
infrastructure using the file-like API given that it's very elegant, terse 
and functional. Now we need to migrate all that infrastructure as well as 
all the testing around it to use Google Cloud Storage and this won't be a 
trivial effort. So my question to the App Engine team is, could you give us 
a rough/ballpark timeline when the Blobstore file-like API will be 
completely removed (a month, six months, a year)? It's really important we 
know so that we can re-prioritize our backlog if need be. 

Your answer is much appreciated.

-- 
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] Re: Custom domain issue

2012-04-03 Thread Ruben D. Orduz
The problem he is having is that secure connections are only through
https://app.appspot.com and not through his custom domain.
On Apr 3, 2012 6:51 AM, Gwyn Howell gwyn.how...@appogee.co.uk wrote:

 not sure i fully understand, but if you are finding that all your urls
are being directed to https then you may wish to check your app.yaml file
for secure: always.

 Forgive me if I've misunderstood.


 On Friday, 16 March 2012 10:03:47 UTC, msanztru wrote:

 Hello,

 We have added a custom domain to our appengine app. We followed the
 isntructions changed everything but something went wrong and we can't
 find the way to fix it. The thing is that in the google apps appengine
 tab the main url specified is https://appid.appspot.com. However, and
 that means all traffic from the domain mappings will be sent to the
 https url, and of course this won't work. I don't know how this https
 url ended up there as in the app engine admin console, the app url is
 http://appid.appspot.com.

 We haven't find the way to change this url. We have tried to disable
 this app in google apps but it didn't work, it stays there.

 This is quite urgent, so any help will be really appreciated!!

 Thanks in advance!

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

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

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



Re: [google-appengine] Re: Custom domain issue

2012-04-03 Thread Ruben D. Orduz
Not a bad idea, Alex. But I find all the approaches so far like a
looking the other way: excuse for Google. It should not be up to the
users to come up with all sorts hoops and work-arounds to solve the
problem. It should be Google the one trying to offer legitimate
solutions. Until they do, my money (although a pittance) will continue
to go to AWS. If and when Google makes it easy (i.e. not jumping
though 10 different hoops between Google Apps and App Engine) to add
custom domains and provide SSL option for them, we'll re-evaluate GAE
as a viable app-hosting platform.

On Tue, Apr 3, 2012 at 12:55 PM, alex a...@cloudware.it wrote:
 I've been thinking about an alternative for awhile now: HTML5 CORS feature
 (here's a nice example: http://www.html5rocks.com/en/tutorials/cors/)

 That, of course, highly depends on the app structure. This could work if the
 app is using Ajax to deliver actual content to the users. At least for
 browsers that support XmlHttpRequest2/XDomainRequest. For instance, GWT
 could be a perfect match. Like this forum, the new version, is built with
 GWT I assume.

 Basically, a base HTML is being requested from http://www.example.org but
 the actual content is being loaded from https://example-org.appspot.com, and
 fall back to HTTP from the custom domain in case the browser doesn't support
 XHR2.

 Could be an optional feature to customers. Something similar to a Always
 use HTTPS setting in Google Apps configuration for GMail and other
 services.


 What do you guys think?


 On Tuesday, April 3, 2012 5:52:59 PM UTC+2, Jeff Schnitzer wrote:

 Or, if appropriate, use this:

 http://blorn.com/post/20185054195/ssl-for-your-domain-on-google-app-engine

 (CF is re-investigating whether they can run the last-mile in SSL too)

 Jeff

 On Tue, Apr 3, 2012 at 7:09 AM, Gwyn Howell gwyn.how...@appogee.co.uk
 wrote:
  right. well as i'm sure your aware, ssl isn't available for custom
  domains
  on app engine. there is a trusted tester program running you may wish to
  sign up
 
 
  On Tuesday, 3 April 2012 12:04:55 UTC+1, Ruben D. Orduz wrote:
 
  The problem he is having is that secure connections are only through
  https://app.appspot.com and not through his custom domain.
  On Apr 3, 2012 6:51 AM, Gwyn Howell gwyn.how...@appogee.co.uk
  wrote:
  
   not sure i fully understand, but if you are finding that all your
   urls
   are being directed to https then you may wish to check your app.yaml
   file
   for secure: always.
  
   Forgive me if I've misunderstood.
  
  
   On Friday, 16 March 2012 10:03:47 UTC, msanztru wrote:
  
   Hello,
  
   We have added a custom domain to our appengine app. We followed the
   isntructions changed everything but something went wrong and we
   can't
   find the way to fix it. The thing is that in the google apps
   appengine
   tab the main url specified is https://appid.appspot.com. However,
   and
   that means all traffic from the domain mappings will be sent to the
   https url, and of course this won't work. I don't know how this
   https
   url ended up there as in the app engine admin console, the app url
   is
   http://appid.appspot.com.
  
   We haven't find the way to change this url. We have tried to disable
   this app in google apps but it didn't work, it stays there.
  
   This is quite urgent, so any help will be really appreciated!!
  
   Thanks in advance!
  
   --
   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/-/OCpFcT_0ys4J.
  
   To post to this group, send email to
   google-appengine@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.com.
   For more options, visit this group at
   http://groups.google.com/group/google-appengine?hl=en.
 
  --
  You received this message because you are subscribed to the Google
  Groups
  Google App Engine group.
  To view this discussion on the web visit
  https://groups.google.com/d/msg/google-appengine/-/zBj62V4r1GsJ.
 
  To post to this group, send email to google-appengine@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/WTpwdt02W7kJ.

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

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send