[google-appengine] OAuth + App Engine access tokens per user and application

2010-09-22 Thread thstart
According:
OAuth for Web Applications
http://code.google.com/apis/accounts/docs/OAuth.html

"If you require access to more than one Google service, you can obtain
multiple access tokens, but no more than ten access tokens per user
and application can be outstanding at any time."

Are there similar limits for OAuth + App Engine?

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



[google-appengine] Re: OAuth + App Engine access tokens per user and application

2010-09-22 Thread thstart
Hi Ikai,

Using Google App Engine I want to create a Python App using
GData API to do the following:

1) as administrator I want to create a group of members using their
Gmail accounts as ID. I know their email addresses.

2) my App will send request to each member to get permission
to access their Gmail Contacts. The members approve it because
they want to be a members of my group - so my App is getting access
tokens associated with each member.

3) periodically update each members' Contact list with new Contacts

In order to achieve this I have to store members' access tokens
and use them when I need to update members' Contact list.

Now the questions:
1) How many members can I have? The question
comes down to how many tokens outstanding I can have?
2) In OAuth for Web Applications documentation - what is
considered Web Application? Does this relates to Google Apps
Engine Apps? For Google Apps Engine Apps at some point I will
pay for usage, CPU etc. but I don't see the token limits there.

Thank You!

On Sep 22, 7:33 am, "Ikai Lan (Google)" 
wrote:
> Yes, I'd imagine so. I'll double check and re-post if it's not true. Do you
> have an application that needs to retain more than 10 Google applications
> per user? I'm not even sure there are 10 Google OAuth enabled services.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger:http://googleappengine.blogspot.com
> Reddit:http://www.reddit.com/r/appengine
> Twitter:http://twitter.com/app_engine
>
>
>
> On Wed, Sep 22, 2010 at 3:05 AM, thstart  wrote:
> > According:
> > OAuth for Web Applications
> >http://code.google.com/apis/accounts/docs/OAuth.html
>
> > "If you require access to more than one Google service, you can obtain
> > multiple access tokens, but no more than ten access tokens per user
> > and application can be outstanding at any time."
>
> > Are there similar limits for OAuth + App Engine?
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: OAuth + App Engine access tokens per user and application

2010-09-22 Thread thstart
Hi Ikai,

about your question:
>10 Google applications per user?
I need only one application per user - Contacts.
The question is how many users?

On Sep 22, 7:33 am, "Ikai Lan (Google)" 
wrote:
> Yes, I'd imagine so. I'll double check and re-post if it's not true. Do you
> have an application that needs to retain more than 10 Google applications
> per user? I'm not even sure there are 10 Google OAuth enabled services.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger:http://googleappengine.blogspot.com
> Reddit:http://www.reddit.com/r/appengine
> Twitter:http://twitter.com/app_engine
>
>
>
> On Wed, Sep 22, 2010 at 3:05 AM, thstart  wrote:
> > According:
> > OAuth for Web Applications
> >http://code.google.com/apis/accounts/docs/OAuth.html
>
> > "If you require access to more than one Google service, you can obtain
> > multiple access tokens, but no more than ten access tokens per user
> > and application can be outstanding at any time."
>
> > Are there similar limits for OAuth + App Engine?
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-appeng...@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] App Engine + ClientLogin tokens outstanding?

2010-09-23 Thread thstart
I want my App Engine code to access Gmail accounts
Contact data,

Obviously OAuth and AuthSub have a token limits.

The remaining option is to use ClientLogin username/password
authentication. My App can reuse a token per user for 24 hours.

Are there are limitations for number of outstanding tokens for
ClientLogin authentication?

-- 
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-appeng...@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] AppEngine - Implementing OAuth with Federated Login

2010-09-23 Thread thstart
AppEngine - Implementing OAuth with Federated Login
http://code.google.com/apis/accounts/docs/OpenID.html

This AppEngine example asks the users' permission to access
his data on Gmail. It stores the token for each user. If many
user try to do the same how many users can be handled?
It narrows down to the question how many tokens outstanding?

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



[google-appengine] Re: AppEngine - Implementing OAuth with Federated Login

2010-09-25 Thread thstart
That would be great. It is good to know there is no token limits
before commiting resources for development.

On Sep 25, 11:49 am, Robert Kluin  wrote:
> If I understand what you are asking, I am not aware of any limit.  So
> you should be able to handle lots of users.
>
> Robert
>
>
>
> On Thu, Sep 23, 2010 at 18:25, thstart  wrote:
> > AppEngine - Implementing OAuth with Federated Login
> >http://code.google.com/apis/accounts/docs/OpenID.html
>
> > This AppEngine example asks the users' permission to access
> > his data on Gmail. It stores the token for each user. If many
> > user try to do the same how many users can be handled?
> > It narrows down to the question how many tokens outstanding?
>
> > --
> > 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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-appeng...@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] task queue PermanentTaskFailure:DJANGO_SETTINGS_MODULE

2011-06-06 Thread thstart
I am using Django 1.2, AppEngineHelper. This error happens from time to time 
- 
e.g. some tasks got this error, some - not.

How to solve this challenge?

here is the log trace:

Permanent failure attempting to execute task
Traceback (most recent call last):
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/deferred/deferred.py",
 
line 269, in post
run(self.request.body)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/deferred/deferred.py",
 
line 129, in run
raise PermanentTaskFailure(e)
PermanentTaskFailure: Settings cannot be imported, because environment 
variable DJANGO_SETTINGS_MODULE is undefined.

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



[google-appengine] Re: task queue PermanentTaskFailure:DJANGO_SETTINGS_MODULE

2011-06-06 Thread thstart
thank you!

would is the recommended setup for main.py for AppEnginehelper?

I am getting sometimes a messages in the log it being already loaded - it 
slows down 
the code.

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



[google-appengine] Re: task queue PermanentTaskFailure:DJANGO_SETTINGS_MODULE

2011-06-06 Thread thstart
it works perfectly now - had to remove the ",debugme=False"

I am getting this message in the log too:

"App Engine Helper has already been installed for this process (not going to 
reinstall)"

not critical but it slows down the execution.


-- 
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/-/S0EzREFwMDAyRzhK.
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] Should Google deprecate Master/Slave data store option?

2011-08-18 Thread thstart
Let me share my experience. 

I was developing an AppEngine app for a year.
It was very fast (extremely fast), with latency > 1 sec.
When High Replication data-store was released I decided to give it
a try and switched to it. Unfortunately the latency got >1 Sec 
sometimes > 2 Sec. The app worked a wile that way and because 
still in beta I could experiment. So I decided to go to Billed option
to see if the reliability and more importantly the latency could improve.
Unfortunately this do not affected latency. Then I decided to go back to 
Master/Slave - our customers mentioned immediately our app is 2 times 
faster - again < 1 Sec latency. Then I needed to add https which is 
very important for our app. This do not added significant latency so our
customers are very happy with this solution. Soon we will go public.

So the latency issue is a show stopper for high replication version 
and we would want to stay with master slave. 

Anybody with similar experience?

Thank you,




-- 
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/-/P1c_gMSRtl0J.
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] redirection to HTTPS is not working for Python app.yaml

2011-08-18 Thread thstart
to my Python app.yaml I added

- url: /.*
  script: main.py
*  secure: always*

BUT

*I don't get automatically redirected to the HTTPS*
*
*
*What is wrong?*
*
*
According:
http://code.google.com/appengine/docs/python/config/appconfig.html#Secure_URLs

handlers:

- url: /youraccount/.*
  script: accounts.py
  login: required
  *secure**: always*


always. Requests for a URL that match this handler that do not use HTTPS are
* automatically redirected to the HTTPS URL with the same path.* Query 
parameters are preserved for the redirect.

-- 
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/-/3AK1D939P5sJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-18 Thread thstart
*I am responding here to combined comments:*

*I followed Brett Slatikn recommendations how to perform most efficient 
operations on DataStore and it works extremely fast *
*in Master / Slave.*

+Robert Kluin
> For instance, fetching a large list of keys from multiple entity groups 
may be slower due to the transaction overhead.

*I have list of keys only from one entity.*

>So you might need to evaluate your use of entity groups.  It may also
>be that you've got a design that is making many datastore RPCs in
>serial, that will probably be more of an issue when on HR since there
>is a slightly higher average latency.

*I store keys in lists. When getting the list *
*
*
*for example*
*class MyList(BaseModel):*
*My_keys = db.ListProperty(db.Key) *
*
*
*Brett Slatkin recommends about no more than 3,000 max and so do I.*
*
*
*and this is parallel:*
*
e = MyList.get_profile(email)
*
*
my_keys = e.my_keys
my_key = db.get(my_keys)

#That's it! Super fast!
@classmethod
def get_profile(self, email):
if not email:
return None
root = MyRoot.get_profile()
#cache
self._cache = get_cache("memcached://")
skey = email
key_cache = 'MyList' + skey + str(root.key())
profile = self._cache.get(key_cache)
#cache
if not profile:
key = db.Key.from_path('MyList',
   skey,
   parent=root.key())
profile = db.get(key)
# not found - create
if not profile:
#def txn():
root = MyRoot.get_profile_del_cache()
profile = MyList(key_name=skey,
   parent=root.key())
profile.put()
return profile
#return db.run_in_transaction(txn)
#cache
self._cache.set(key_cache, profile, timeout=CACHE_TIMEOUT)
#cache
return profile

*

+Fred Sauer
>verifying whether you are performing batch gets across entity groups

*I have transactions in which I have an operations on different entity 
groups but this is by design. *

>I should also point out that I have yet to meet a developer whose not 
happier on HRD and migrating their app. 
>You may well be the first (although I'm not trying to imply that you are 
the only one)... :)

*The app is in development for more than a year and I followed best 
practices valid at this time before high replication*
*datastore was introduced. Redesign is not an option because I already have 
generated a lot of interest and waiting list*
*of customers ready to pay for the current functionality. The benefit I 
would get from going to High Replication does not *
*justifies the effort: I have already 20,000 lines of code - redesign is not 
practical.*
*
*
*Best,*
*
*
*--Constantine*

-- 
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/-/S6G9eOWRvVUJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-18 Thread thstart
+Joshua Smith
>From my reading, M/S seems to have better throughput than HR, at the 
expense of more frequent downtime, 
>and spurious datastore timeouts.  I'd like to have that option in a 
multi-threaded app.

This is more important for public app (site) with many anonymous users. 

My app is 100% user based - e.g. used after log-in, but heavy on data 
related to each particular user. 
The users are not accessing it very often (say they access it many times a 
day but this is not much)
but when they access it they need to be as fast as possible.

So  *frequent downtime *is a non-issue, the chance a user to access it at 
exactly this time are minimal,* *
*spurious datastore timeouts *is a non-issue because this is rare - so I can 
live with Master / Slave 
imperfections - it is good enough and I don;t need to rewrite and optimize 
again.

+Ikai Lan
>Master/Slave doesn't have better throughput. In the 99th percentile, 
because of datastore latency spikes, 
>high replication far outperforms master/slave.

I think Master/Slave is a lot faster in my case up to 10 times faster. I 
tested it with only read, no write operations,
no transactions, nothing special for example I have a heavy use of this 
expression:

*
e = MyList.get_profile(email)
*
*
my_keys = e.my_keys  
my_members = db.get(my_keys)

for member in my_members:
member., etc. <-- do something with the 
property

*
*and it is parallel in Master/Slave (according to Brett Slatkin 
presentation) . In High Replication I believe it is serial,*
*probably I am wrong (I don't have a way to know) but this operation is very 
slow in High Replication.*
*
*
*My code uses heavily this construct and it is extremely fast.*
*
*
*Best,*
*
*
*--Constantine*
*
*
*

*



-- 
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/-/DoYJ0jkPJ7cJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-18 Thread thstart
>If you enable eventually consistent queries, a batch get by key in high 
replication should perform as fast as in master/slave.

*is this related only to queries like:*

q = db.GqlQuery("SELECT * FROM Person " +
"WHERE last_name = :1 AND height < :2 " +
"ORDER BY height DESC",
"Smith", 72)


http://code.google.com/appengine/docs/python/datastore/queries.html

The Master/Slave Datastore and the High Replication 
Datastore have 
different guarantees when it comes to query consistency. By default:

   - The Master/Slave datastore is strongly consistent for all queries.
   - The High Replication datastore is strongly consistent by default* for 
   queries* within an entity 
group.
 With 
   the High Replication Datastore, non-ancestor queries are always eventually 
   consistent.



*If that is the case I managed to get rid of queries - I don't use any any 
queries, just working with lists and keys - 
*
*it is parallel, fast, don't need indexes, etc. Bret Slatkin had very useful 
presentations and found them to be very simple*
*and to work in practice.*
*
*
*By the way our customers don't know what technique I am using only thing 
they care is to be fast and they are telling me*
*up to now they haven't used a web app with so much functionality to be so 
fast. *
*
*
*I would say they to be fast is that I designed the database as separate 
entity for each user - e.g. it scales with numbers of users*
*automatically. Very important is that I don;t use any queries, indexes, 
etc. just lists of keys and for ... in construct for search,*
*also the keys and entities are composed in as many ways possible in advance 
so when the user is searching for data it gets*
*it instantly because search is embedded in the keys. In Master/S**lave all 
this worked in parallel and was extremely fast.*
*
*
*
*
>The practice you're citing from Brett is a few years old and predates high 
replication; would you be willing to revisit it if I roped him into updating 
it for high >replication?*
*

Yes this is true, but you have to admit this is the only useful information 
on designing efficient data-store. There is *only one* serious book 
explaining
how *AppEngine Datastore* is working and in this book you can read the same 
recommendation like Brett Slatkin recommends. And the book 
is a year old:

Programming Google App Engine
by Dan Sanderson
Copyright © *2010* Dan Sanderson.

Dan Sanderson is working at Google and explains everything extremely well 
and I believe after so much time and efforts invested to understand how it 
works and to successfully implement a very useful app with waiting customers 
- *do I have to think a book and technique explained in 2010 is already 
out-dated?*


>would you be willing to revisit it if I roped him into updating it for high 
replication?

*I always want to know new techniques, so the quick answer is yes, 
definitely. *
*
*
*You should also keep in mind that it is not a good business idea to 
constantly revisit *
*and rewrite a perfectly working and tested code.*
*
*
*Best,*
*--Constantine*






*
*

-- 
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/-/BzQWzYVCk3UJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-19 Thread thstart
*+Ikai Lan 
*
*+Fred Sauer*
*+Stephen*
*
*
Thank you, I need to rethink again with this information: it is useful. I am 
fine
with new technologies, in my case the product is very sophisticated and the 
balance
between new Google technology and what my business requires was tilted to 
business
side - e.g. less new technology and techniques, more pro business solution. 

Definitely an extension to the book, an update to the excellent Brett 
Slatkin (he explains very well) 
materials will be of much help and am awaiting them and am wondering how i 
will know if they are ready?

There is some practical questions: these changes obviously have to be 
tested, I am fine to set up a second
app just for that, but still it would be not the real thing in real 
situations. Right now I have a group of trusted people 
who are already using it and looking at the logs I can see real life 
situations which never pop up in test accounts.
So my question is - I obviously will want to implement the changes one by 
one and see the effect, being right now
on M/S could this be done in M/S environment and then move my users to HR?

Also I suppose when Google goes full HR and obviously wants we to move out 
of M/S, do Google has benchmarks 
for this kind of usage as I described in order to have a good motivation to 
move to HR?

Thanks to all!



-- 
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/-/cmDqAoiZDiwJ.
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] redirection to HTTPS is not working for Python app.yaml

2011-08-19 Thread thstart
I am testing it on production: e.g. uploaded to Google cloud, but don't see 
the redirection
to https in the browser address bar.

I am using Python+Django+appengine_django helper

my actual app.yaml:
- url: /.*
  script: main.py
  secure: always

probably appengine_django helper is the culprit?

-- 
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/-/n-l_VrHM260J.
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] redirection to HTTPS is not working for Python app.yaml

2011-08-19 Thread thstart
>only works on appspot domains
yes I know, but it don't works on appspot - no redirection, it stays with 
http

-- 
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/-/sMi2W9XUipAJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-19 Thread thstart
A bit from business side reality - today my partners where on a meeting 
with a BIG customer representatives. Functionality and speed especially 
(M/S currently) impressed them so much that they wanted to add 500 users 
immediately
to our app and paid for it to be sure they get an access. 

Our app is with Billing On so I don't see this High Replication vs. Master/ 
Slave 
thing as an issue for Google -  we are paying customers. 

So now the question is open before me and my partners especially:
1) Things are moving very fast from business side and I will mark the app 
from Alpha
to Beta soon after looking how it works with more simultaneous users.
2) The users are already feeling the speed and any speed decrease will be 
mentioned
immediately. That is because the app is actually a mobile HTML5 app and used 
in 
all kind of devices: Android, iPhone, Blackberry. For such kind of app the 
speed is of
1st priority and any decision about functionality is rejected if the speed 
is slowed down.
3) Now the question is what benefit we will get (if any) moving from M/S to 
HR WITHOUT
disrupting the current functionality and speed? Does the amount of time, 
effort and cost 
which need to be invested in migration to HR is justified? As a start-up 
this is critical for us.
Every day we have a NEW list of priorities which are business related - 
users need more and more -
we get this from the feedback. Nobody cares about underlying technology if 
it works good enough.

Best,
--Constantine



-- 
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/-/iDQzYaVOSioJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-19 Thread thstart
+Fred Sauer

>Test where you like, but test the scenario which you plan to use.

the question is if these changes suggested will work on M/S because I will 
not change everything
in one time, but gradually on M/S and if it works to move it to HR.

-- 
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/-/2oNR9zcNUh0J.
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] Should Google deprecate Master/Slave data store option?

2011-08-19 Thread thstart
+Fred Sauer

>To put it another way: I have yet to find a use case, when the whole app is 
considered, where M/S is preferable to HRD.

My only concern if I will get the same speed. I don't want to spend all this 
effort
costing me money and time and at the end to find it will be slower than M/S.

By the way while I was on HR (about 2 months) I mentioned there was a time I 
cannot upload
my app, had to try 10 times, sometimes to wait 1 hour. This happened very 
often.

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



[google-appengine] Re: Announcing: Programming Google App Engine, 2nd Edition Rough Cuts

2011-08-19 Thread thstart
Hi Dan,

I was happy with 1st edition, build a whole app working perfect under
M/S, now the advice is to move to HR. My main concern is the speed
and the cost of translation. The last 2 months switched the app from M/S
to HR but it was working 2-5 times slower, so I switched back to M/S
and it is working perfectly well.

Could please look at this discussion:
https://groups.google.com/forum/#!topic/google-appengine/1dbE4aihYZo

Do you have answers to these questions? I will purchase the 2nd edition 
right now if you do.

Best,
--Constantine

-- 
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/-/OFR7GDS8jj0J.
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] Should Google deprecate Master/Slave data store option?

2011-08-19 Thread thstart
+Jeff Schnitzer
>EVENTUAL_CONSISTENCY

so with this we are 1 step back to M/S using HR? What is the point?

P.S. it is 3 hours and I still can not upload my app on the cloud (M/S). 
Weekends is the time
for most productive work, and I consistently cannot do that. 

For the record now is 11:30 PM PST, 8/19/2011. Checked system status - it 
says it is OK.
It is not OK if I cannot upload for 3 hours.


-- 
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/-/QWksXz4zVqcJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-20 Thread thstart
+Jeff Schnitzer
> pry the details out of you.

I posted a code if you care to read, the advice is EVENTUAL_CONSISTENCY 
which is a compromise and I don't need to do it in M/S.

>get better reception ...

Yes I got a reception, Brett will update his presentations, Dan will update 
his book - I just purchased an access to his 2nd edition - a work in 
progress, and yes - I make every effort to do what is needed. 

The point is if you have a project which you really care you will do the 
same to make sure it works. If you have the time to thinker 24/7 with 
database experimenting, then good luck.

Just checking - have you looked at the code I posted, made tests both in HR 
and M/S, performed benchmarks or you just want to talk not having  what else 
to do?
Do this and then come back ton talk about real world situations.

>get a terapist
If you are at the point to have a waiting list of paying customers, and you 
invested a year in developing, testing and almost to the final, and at this 
point you have to completely redesign you code without knowing in advance, 
if you an in areal world situation probably you will get a terapist, I don't 
need one.

-- 
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/-/Q3CS2U8McpAJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-20 Thread thstart
+Jeff Schnitzer

Just got an answer from Dan on G+: "Compared to M/S, the HRD does indeed 
trade some speed for reliability." 

That was my point. 

-- 
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/-/9IjKpLqo90QJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-20 Thread thstart
> P.S. it is 3 hours and I still can not upload my app on the cloud (M/S).

>I get that you're upset about something being broken.

Yes there are many times when try to upload my code on the cloud but the 
uploads are rolled back. This lasted yesterday for 3 hours. 

Is it not clear what I want to say? What is your recommendation?

-- 
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/-/6Fw0-Zu0uSsJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Mike Lawrence

As you post I have couple of questions to you.

>Average response time is still sub-second for the week.

Do you use queries to fetch data or you use a lists?

Do you modified your app when moving to HR, or just transferred it?

>1000 simultaneous users.

Are you users logged in or just retrieving data anonymously?




-- 
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/-/rpGj8t4Gy-0J.
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] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
Hi Mike,

Thank you, I am collecting the bits needed for eventual switch.

In fact I already switched my app to HR, it worked for 1 month but 
I never got the speed of M/S. So now I have to figure out why.

Best,
--Constantine

-- 
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/-/IUqfj2T8lU0J.
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] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Ikai Lan

>Dan's advice is correct: use get-by-key as much as possible, and any update 
to the book will likely include a section about high replication.

*I just bought an access to his book in progress. Asked him a question on G+ 
about speed in general, get the following answer:
"Compared to M/S, the HRD does indeed trade some speed for reliability. But 
that reliability is crucial.". Now if that is true what do you recommend to 
get same speed? Probably there is a way for better parallelization?*
*
*
*What is most important is how to achieve the maximum read speed, the writes 
I do in background in deferred tasks and the user can wait till the process 
finishes - this is not an issue.*

>The practice you're citing from Brett is a few years old and predates high 
replication; would you be willing to revisit it if I roped him into updating 
it >for high replication?

*How quick can we get that?*

*Because the information about migrating M/S to HR is dispersed in different 
places, *
*where is the best place to start? *
*
*
*Best,*
*--Constantine*
*
*

-- 
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/-/BXrr5vbtM-8J.
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] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Ikai Lan

In my example:

*
root = MyRoot.get_profile()
**
skey = email
*
*
key = db.Key.from_path('MyList',
   skey,
   parent=root.key())
profile = db.get(key)

For HR are there a need to change the way these keys are formed? 

Does your data migration tool can transfer my database from M/S to HR 
automatically?
Do my users need to re-enter their data again?


*

-- 
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/-/CBRAyB0paHwJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-22 Thread thstart
+Ikai Lan

>As far as speed goes, let me give you an example of speed in action.

I very much appreciate your explanation. I understand we cannot know much of 
the 
internal working and don't need to. That is good enough for me to decide now 
to move back
to HRD. So did I - I just reactivated the HRD version of same app with same 
data and mentioned 
it is much faster now. I did not change anything, probably Google made some 
improvements.
So let we do some internal testing again to see how it will behave now.

Still I will go deeper and optimize from HRD in mind. Any written tutorials, 
guides, etc. will be 
of much help.

One more recent development makes the debate about M/S vs. HRD obsolete for 
Python developers
especially - the today's announcement for trusted beta for Python 2.7 under 
AppEngine which will work
only on HRD. It is clear any speed disadvantage HRD may have (small or not), 
we can overcome with
2.7 capabilities - concurrency and threading so I am fully in - just send an 
application for trusted testers.

Thank you!


-- 
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/-/aUl5xHkCqWYJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-23 Thread thstart
+Fred Sauer 

>EVENTUAL_CONSISTENCY 

Thank you I will explore this possibility. Yesterday I moved back the app to 
HRD and my tests
show significant speed improvement. No change in my code. I suppose Google 
improved the 
speed somehow. If this is consistent then my users will be happy.

-- 
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/-/d6rhj8mmiyIJ.
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] Should Google deprecate Master/Slave data store option?

2011-08-25 Thread thstart
haha COBOL ;) my COBOL is 1 year old. 

*The code was fine. Case closed*, moved to HRD, the app on HRD is much 
faster that 
what used to be 1 month ago. No change in code, just moved to HRD. I suppose 
Google worked 
very hard to improve the speed. 

*Bottom line:*
My users are reporting to me it works faster than M/S and faster than HRD 1 
month ago. 
And yes my code is up to date and following best practices. It turned out 
this was a temporary 
speed issue with Google servers after they announced HRD. I published some 
important code I use
in my app and Google confirmed it is OK, I use keys, lists the right way. So 
it was not the code.

Let's move on.

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



[google-appengine] Re: A comparison of your current bill against the new pricing model is now available in the Billing History page.

2011-08-31 Thread thstart
I have billing on set up with one credit card.

Now I want to change the credit card and leaving 
same billing - how top do that? 

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



[google-appengine] Re: A comparison of your current bill against the new pricing model is now available in the Billing History page.

2011-08-31 Thread thstart
how top do that = how to do that
sorry, I was quick in submitting

On Wednesday, August 31, 2011 1:50:27 PM UTC-7, thstart wrote:
>
> I have billing on set up with one credit card.
>
> Now I want to change the credit card and leaving 
> same billing - how top do that? 
>

-- 
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/-/EoTIQ9fLP3MJ.
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: Keep it short: Who is forced to leave GAE?

2011-09-01 Thread thstart
>*Python 2.7 with multiprocessing* will serve more computing per 
>instance.*We're going to work with you to make this happen. 
*
*
*
*I would like to modify my code right now. Do I need to tell you I am not 
happy in order to get access for more information?*
*
*
*--Constantine*
*
*

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



[google-appengine] How to change my credit card for billing?

2011-09-02 Thread thstart
I have Billing On for my app. Need to change my credit card.

How to do it? If I disable billing it takes 7 days. 
I just want to switch to another credit card.

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



[google-appengine] Re: How to change my credit card for billing?

2011-09-02 Thread thstart
Thanks guys,

Yes I did that, clicked on Edit, then I see
I can change everything else but not the 
card number. Got an email about new pricing
change, there was an email address where I 
can write Google about pricing questions.
Two days - no response.

There is no rush but I have to change my credit 
card to the corporate one - this is important - 
I got more customers, usage will go up and
billing also - I need it on my business account.

>No one is available to solve issues this week, you are only allowed to 
complain about the price. :-)

Haha that is true. 

I believe we have to move on with this pricing issue. 
>From what I see M/S was designed for low latency 
high traffic "free" web sites. HRD is more user 
based, after log-in oriented. I would not build my 
business around "free now, find a way to charge 
later" business model - we are not Google with all his 
resources.

Best,

--Constantine

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



[google-appengine] Re: Keep it short: Who is forced to leave GAE?

2011-09-02 Thread thstart
>I am stunned by some of the service numbers reported here. 

I am wondering too. These are huge numbers and if they are true there must 
be a way to charge for them.  30 million requests per day? This cannot be 
free.

-- 
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/-/QxtJ6MldZIoJ.
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] Needed: Quota Details History

2011-09-06 Thread thstart
We have a Billing History, we have now 
Estimated Charges Under New Pricing.

We need also Quota Details History.

Estimated Charges Under New Pricing shows "Used" be I would like to have 
the ability to go back and check the actual usage as it is now under 
Quota Details.

This can help optimization, also will prevent questions I see now in the 
forum:
"actual usage is different than reported".

Best,

--Constantine




-- 
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/-/e8ChUEzl8qcJ.
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] Multiple attachments limits

2011-09-19 Thread thstart
According to Mail
Quotas and Limits

http://code.google.com/appengine/docs/python/mail/overview.html
maximum size of outgoing mail messages, including attachments10 megabytes
The question I have is if I have multiple attachments what is the limit? 
For example I want to send 5 attachments 10MB each. Can I do that?
If not how is the best practice to implement this functionality?

Also are there a change in new pricing related to email attachments?

Thanks in advance,
--Constantine

-- 
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/-/I7H1TbWlF7IJ.
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] Multiple attachments limits

2011-09-21 Thread thstart
>Most Mail servers will bounce a message over 10megs anyway.

That was a good point. Now embedded link makes much more sense.

-- 
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/-/rxx6TTYWAdgJ.
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] expanding OAuth2 scopes

2011-09-23 Thread thstart
my users allowed authorization for one 
OAuth2 scope in Gmail account.

Now I want them to accept another authorization for another scope
and from this time on my app to have an access to combined scope.

The question is how to check what scope current credentials have
and to request the new scope if it doesn't.


-- 
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/-/eKLSk8JdV1AJ.
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] Is a list allowed in reply_to field in message?

2011-10-24 Thread thstart
I want to assign a list to reply_to field in message.

Like this:
reply_tos = ['ema...@gmail.com', 'ema...@gmail.com', 'ema...@gmail.com']
message.reply_to = reply_tos

1) does appengine Email allows this? It is defined in 
http://www.ietf.org/rfc/rfc0822.txt
4.4.3.  REPLY-TO / RESENT-REPLY-TO
This field provides a general  mechanism  for  indicating  any
mailbox(es)  to which responses are to be sent.  Three typical
uses for this feature can  be  distinguished.   In  the  first
case,  the  author(s) may not have regular machine-based mail-
boxes and therefore wish(es) to indicate an alternate  machine
address.   In  the  second case, an author may wish additional
persons to be made aware of, or responsible for,  replies.   A
somewhat  different  use  may be of some help to "text message
teleconferencing" groups equipped with automatic  distribution
services:   include the address of that service in the "Reply-
To" field of all messages  submitted  to  the  teleconference;
then  participants  can  "reply"  to conference submissions to
guarantee the correct distribution of any submission of  their
own.

2) if allowed, how long the list can be? 1,000 emails, 2,000?

Thank you in advance,

Regards,
--Constantine



-- 
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/-/-QUZyKZIIOAJ.
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] totally weird behavior - my .net app forwarded to Facebook and Oracle in different browsers

2011-11-01 Thread thstart
I have an AppEngine app attached to .net domain.
.net domain is hosted in GoDaddy and
I use GoogleApps standard attached to this
domain.

According Google Apps recommendations:
A Host:
@=216.239.32.21
@=216.239.34.21
@=216.239.36.21
@=216.239.38.21

CNAME:
www: ghs.google.com

naked domain forwarded to www in Google Apps.

Worked fine from several days.

Today too, just tried to access it 10 mins ago
from Chrome and it was forwarded to Faceboook page!?!?
With Mozilla - forwarded to Oracle login page!?!?

Tested with Safari and IE - no problem. 


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



[google-appengine] Re: totally weird behavior - my .net app forwarded to Facebook and Oracle in different browsers

2011-11-01 Thread thstart
tested again after 15 minutes - works normal but 
this is weird?!?

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



[google-appengine] Re: totally weird behavior - my .net app forwarded to Facebook and Oracle in different browsers

2011-11-03 Thread thstart
What do you mean DNS upstream? 

The question is if my user get this it will be totally weird
for him.

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



[google-appengine] Re: totally weird behavior - my .net app forwarded to Facebook and Oracle in different browsers

2011-11-04 Thread thstart
Do we have control on 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/-/tanExSzn10EJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: totally weird behavior - my .net app forwarded to Facebook and Oracle in different browsers

2011-11-04 Thread thstart
But this is Google's IP Addresses:

@=216.239.32.21
@=216.239.34.21
@=216.239.36.21
@=216.239.38.21

I believe Google has a stable solution.

Anyway - I checked form another location
at the absolutely the same time - there there 
was not any issue - i asked another person to check.

Also If you read my original post this happened 
only with Chrome and Mozilla browse.
Chrome redirecting to facebook.com,
Mozilla to oracle.com

IE and Safary where OK. All of them were opened up 
and refreshed in same time under 2-3 secs interval to be able 
to compare. On the other location same 
browsers opened at the same time and refreshed 
the same way - no issue at the same time we both tested.

After 10 minutes - no issue. There is also nothing in the AppEngine
logs to see. 



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



[google-appengine] Re: 1.6.0 is now launched

2011-11-08 Thread thstart
Just installed  1.6.0 SDK

When running my app got the messages:

WARNING  2011-11-08 09:33:04,487 rdbms_mysqldb.py:90] The rdbms API is not 
available because the MySQLdb library could not be loaded.

Error: option --rdbms_sqlite_path not recognized

What is wrong?

-- 
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/-/-l4dMMXvHMgJ.
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] SDK 1.6.0. Can't pickle : it's not found as __builtin__.module

2011-11-10 Thread thstart
With new SDK 1.6.0. 
I am getting the following error trying to use *deferred.defer:*

Can't pickle : it's not found as __builtin__.module

What is wrong?

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



[google-appengine] Re: many uncaused 500 status code, who to contact?

2011-12-12 Thread thstart
I have the same issue today - usually my app is very fast.

-- 
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/-/TvttwSIs_VsJ.
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: DeadlineExceeded errors haunting every now and then

2011-12-12 Thread thstart
I got the same error today, usually my app is very fast

-- 
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/-/xJ_SWvSIG_YJ.
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] Entitity returned as an one entity item list, not just an entity

2012-01-19 Thread thstart


I am fetching one record's key like this.

The result I got in 'profile' is a list containing 

one entity. I was expecting the result the be an entity,

not a one item list.

===

key = google_db.GqlQuery('SELECT __key__ FROM LMN WHERE n_name = :1',   
n_name).fetch(1)
profile = db.get(key)


===

To get the entity I have to do this:


profile=profile[0]



What is wrong?



-- 
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/-/gqMr673YCT8J.
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] Entitity returned as an one entity item list, not just an entity

2012-01-19 Thread thstart
Thank you!

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



Re: [google-appengine] How to perform Blobstore Asynchronous Requests for getting upload result.

2012-02-06 Thread thstart
>Performing the upload itself is done by the user, not your application. 

The app is in usage and I am aware how it works, the debugger show it very 
well.

But I get the issues described above:
1) errors.
2) timeouts.



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



Re: [google-appengine] How to perform Blobstore Asynchronous Requests for getting upload result.

2012-02-06 Thread thstart
Occasionally I am getting error 500.  Occasionally a file of 10KB cannot be 
uploaded in the 30-60 Sec limit and I am getting timeout.

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



Re: [google-appengine] How to perform Blobstore Asynchronous Requests for getting upload result.

2012-02-06 Thread thstart
Do you never got 500 error?

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



Re: [google-appengine] How to perform Blobstore Asynchronous Requests for getting upload result.

2012-02-07 Thread thstart
Here is an extracted source.

 
def upload():

###
# BEGIN  Import
###
if request.env.request_method == 'POST':
form_import_submit = True
post_vars = request.post_vars

file_csv_value = None
delimiter = ','

try:
file_csv = post_vars.file_csv
filename = file_csv.filename

bufsize = file_csv.bufsize
filename_size = bufsize
"""

http://code.google.com/appengine/docs/python/blobstore/blobreaderclass.html
"""
blob_key = file_csv.type_options['blob-key']
# Instantiate a BlobReader for a given Blobstore value.
blob_reader = blobstore.BlobReader(blob_key)
file_csv_value = blob_reader.read()
filename_size = len(file_csv_value)
 except Exception, e:
logging.info('%s:Error uploading=e=%s' % (sub, e)) 
 
msg = 'Error uploading.'
result = 400

 http_host = 'My.appspot.com'
 network = 'TestNetwork'
 back_url = 'http://' + http_host + '/' + 'import' + '?network=' + 
network
 upload_url = blobstore.create_upload_url(back_url)
 *upload_url* = blobstore.create_upload_url(back_url)


 return dict(
*upload_url*=*upload_url*,
)


upload.html:



Upload CSV file:

  
  

 
 

-- 
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/-/T9dFYdwkmugJ.
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] Indexing Documents

2018-05-28 Thread thstart
I would like to use CloudDatastore. With Pricing Calculator I see Indexing 
Documents.
What Indexing Documents is? Looks like too expensive if I have database of 
such size.
Indexing Documents: 100 GB
*$199.98*


-- 
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/3eeba064-ddf2-4e18-86cf-f3ffc5b44ae0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Preloading in CloudDataStore

2018-05-28 Thread thstart
How to preload data in CloudDataStore?

I have .csv file of size 100GB/100 million records. 

CloudDataStore would be read only. How is the best way to do that
minimizing cost? I would have 200 fields but only 10 are searchable.

Because of the size I should make them in such a way that to have only 
these 10
in CloudDataStore with one key as a link to a bucket in CloudStorage where 
they can be in Json
format.

I would like to preload the 10 keys and the link in CloudDataStore and to 
be ready to use.

How is the best and most cost efficient way to do 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/606416c6-bd90-4d57-9921-0d304b4ea284%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Preloading in CloudDataStore

2018-05-29 Thread thstart
Hi Jordan,

Thank you for detailed response. The only thing not clear to me is this.
For simple calculations if say I have 1 index only how much is the price 
and how it is calculated?

In price calculator I can see Document Index $2/GB. It seems too expensive.
Is this index the same index made from Datastore automatic index generation?

Thank you,
--Constantine

On Tuesday, May 29, 2018 at 8:12:18 AM UTC-7, Jordan (Cloud Platform 
Support) wrote:
>
> Since Google Cloud Datastore 
>  is a 
> non-relational, NoSQL, highly-scalable database, you must create a script 
> in the supported language of your choice that reads your CSV, converts your 
> data into Datastore Entities 
> ,
>  
> and then saves those Entities to your Datastore. Once your data is loaded 
> into the Datastore you can then easily export it and import it into other 
> projects' Datastores via the Managed Import/Export service 
> 
> . 
>
> The way to minimize costs in the Datastore is to use the least amount of 
> indexes  as 
> possible. You can think of an index as a sorted table. For every query you 
> use, you need an associated sorted index (aka a copy of your data sorted 
> specifically for that query). By default, an index is automatically created 
> for each field of each Entity Kind 
> .
>  
> Therefore to avoid having 200 automatically created indexes, it is 
> recommended to mark all of the properties that you do not plan on querying 
> as un-indexed 
> 
>  
> to save you money. 
>
> It is actually recommended to use Datastore's automatic key generation 
> when saving 
> Entities, instead of creating custom keys. Datastore will ensure that your 
> data is properly sharded and evenly distributed across Datastore servers in 
> order to avoid hotspots and latency when specific entities are accessed a 
> lot. Therefore, your link to Google Cloud Storage should be saved as an 
> additional Entity property that will be returned when you query for an 
> Entity.  In general it is recommended to follow the Best Practices for 
> Datastore .
>
> - Note that Google Groups is reserved for general product discussions and 
> not for technical support. If you require further technical support for the 
> Datastore, it is recommended to post your detailed questions 
>  to Stack Exchange 
>  using the supported 
> Cloud tags. 
>
>

-- 
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/a384720d-30c0-4095-9662-a70b75f3c41c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Indexing Documents

2018-05-29 Thread thstart
I am trying to calculate how much an index will cost from here:
https://cloud.google.com/datastore/docs/concepts/storage-size
Let say The total size of the index entry is 128 bytes. 1o million records 
~1GB
from the calculator:
https://cloud.google.com/products/calculator/#id=9102d5c8-d24f-4b36-a5ad-d4eeb82a7f55
the only price related ti indexes is Indexing Documents. Is this the same 
index
we are talking about?


On Tuesday, May 29, 2018 at 9:46:58 AM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> Before you can query a document's contents, you must add the document to 
> an index 
> .
>  
> Indexing allows the document to be searched with the Search API's query 
> language and query options. Fees for use of the Search API are listed here 
> . As mentioned 
> in the App Engine Pricing , 
> you may take a look at the Java 
> 
>  
> and Python 
> 
>  
> documentation for a detailed description of each type of Search call.
>

-- 
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/f99b98c5-0218-4a77-b77b-81a0edba3caf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] iOS IPv6/IPv4 https requirements for AppEngine

2018-05-29 Thread thstart
I want to host my backend on Google Cloud and use 
App Engine + datastore as backend. The AppEngine endpoint
would be called with IPv6/IPv4  https POST request.

Currently I have an App on iOS AppStore working as follows:
1) user taps on the map
2) location data is transmitted to my Golang server.
3) data related to location is retrieved from database
4) response is received in the App

I add certificates and my Golang handler is follows:

configTc := &tls.Config{
Rand: rand.Reader,
Certificates: []tls.Certificate{certTc},
MinVersion:   tls.VersionTLS12,
PreferServerCipherSuites: true,
CipherSuites: []uint16{

tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, // requiredCipher for hhtp/2
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
tls.TLS_RSA_WITH_AES_256_CBC_SHA,
},
CurvePreferences: []tls.CurveID{tls.CurveP521, tls.CurveP384, 
tls.CurveP256},
srvTc := &http.Server{Addr: addrTc + ":8083", TLSConfig: 
configTc,
ln4Tc, errTc := net.Listen("tcp4", ":8083")
defer ln4Tc.Close()

if errTc != nil {
fmt.Printf("\n Error:net.Listen(tcp4): %s", errTc)
}
tlsListener4Tc := 
tls.NewListener(tcpKeepAliveListener{ln4Tc.(*net.TCPListener)}, configTc)
go func() {
srvTc.Serve(tlsListener4Tc)
}()
tlsListener6Tc := 
tls.NewListener(tcpKeepAliveListener{ln6Tc.(*net.TCPListener)}, configTc)
srvTc.Serve(tlsListener6Tc)

What I should do to have the same functionality in AppEngine?

Passing Apple requirements was monumental task and I want to be sure
the new version of the app will pass smoothly.

I attached custom domain to my AppEngine app and as I see
https is from Let's Encrypt. I suppose auto renewals are done 
automatically from Google.

Number one requirement is IPv6/IPv4 support on https.

Can App Engine handle this task smoothly? I suppose there are already apps
on iOS App Store using AppEngine.

Best,
--Constantine

-- 
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/c38aecd8-6722-49d9-b2ef-bc9a95cf19e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Preloading in CloudDataStore

2018-05-30 Thread thstart
I know about Datastore tab.

In GC Pricing calculator:
AppEngine:
App Engine APIs and Services->Indexing Documents

Where I can read about what Documents are these?



On Wednesday, May 30, 2018 at 9:55:26 AM UTC-7, Jordan (Cloud Platform 
Support) wrote:
>
> You seem to be confusing the Search API 
> document 
> indexes with Datastore indexes 
> . Datastore has its own tab 
> in the Pricing Calculator , 
> and charges $0.18 GB/Month.
>

-- 
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/a5727397-4551-4861-8b19-8118f837b9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Indexing Documents

2018-05-30 Thread thstart
App Engine Indexing Documents - do you have a link with 
documentation what that means?

On Wednesday, May 30, 2018 at 6:16:09 AM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> “Indexing Documents” is in App Engine tab of Google Cloud Platform 
> Pricing Calculator . Since 
> you have created this thread in App Engine group, my assumption was you are 
> asking about App Engine Indexing Documents.
>
> For Cloud Datastore you should consider the amount of Stored data 
> including “Index entry size” 
> .
>  
> For the whole Stored data less than 1GB (as mentioned in this 
> documentation ), you would be 
> in free quota limit per day and will be charged USD 0.18 for each extra 
> GB/Month.
>

-- 
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/e14d9627-b1c5-44f4-8d5e-24ef831c2c9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Preloading in CloudDataStore

2018-05-30 Thread thstart
Where are these Documents stored - in Google Cloud Storage?

On Wednesday, May 30, 2018 at 10:35:09 AM UTC-7, Jordan (Cloud Platform 
Support) wrote:
>
> As previously mentioned, that is the Search API 
> , and is 
> not related to the Datastore. The Search API allows you to store document 
> objects and query for these objects based on their contents. It uses 
> ranking and indexing to find the most relevant objects, much like actual 
> Google Search. It is not used as an actual main database 
> , and is strictly for generic 
> search (as the search results may change). 
>

-- 
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/7fbf3039-012d-4f77-a572-242fdd756688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Preloading in CloudDataStore

2018-05-30 Thread thstart
Thank you, the documentation is not clear about that.

On Wednesday, May 30, 2018 at 11:13:47 AM UTC-7, Jordan (Cloud Platform 
Support) wrote:
>
> Since the 'documents 
> '
>  
> are JSON objects and not raw binary, they cannot be saved into Google Cloud 
> Storage. I think they use to be persisted to BigTable 
> , but I believe they may now actually 
> be stored in Spanner . 
>

-- 
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/9eac2d84-58d3-4b86-b070-10d11807b275%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: iOS IPv6/IPv4 https requirements for AppEngine

2018-05-30 Thread thstart
Hi Katayoon,

Thank you for your response. The documentation does not explains a lot so I 
did the steps myself.

I did the following - registered a new domain in Google Domains. In Google 
App Engine I added this domain. Then following the steps reached the point 
about SSL. And actually Google App Engine supports Let's Encrypt and 
automated the renewal every 3 months. I added the A, AAA records as 
required and had it working after 5 mins. The checked with SSLabs and got 
grade A. 

Then in GoogleCloudPlatform->golfing-samples->endpoints->getting-started:
app.go
func main() {
r := mux.NewRouter()

r.Path("/echo").Methods("POST").
HandlerFunc(echoHandler)

r.Path("/auth/info/googlejwt").Methods("GET").
HandlerFunc(authInfoHandler)
r.Path("/auth/info/googleidtoken").Methods("GET").
HandlerFunc(authInfoHandler)
r.Path("/auth/info/firebase").Methods("GET", "OPTIONS").
Handler(corsHandler(authInfoHandler))
r.Path("/auth/info/auth0").Methods("GET").
HandlerFunc(authInfoHandler)

http.Handle("/", r)
port := 8080
if portStr := os.Getenv("PORT"); portStr != "" {
port, _ = strconv.Atoi(portStr)
}
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
}

So internally I have to use port 8080. The https part is handled for 
CloudEndpoints.


On Wednesday, May 30, 2018 at 12:51:57 PM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> Hi Constantine,
>
> Here 
>  
> you can find the design patterns about different ways to use Cloud Platform 
> to create backend services. You may use either App Engine & Cloud 
> Endpoints 
> 
>  
> or App Engine Standard/Flexible & Firebase 
> .
>  
>
>
> Using Cloud Endpoints, you can handle communication with App Engine 
> without writing wrappers, so you can simply make direct API calls from your 
> mobile app.
>
>

-- 
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/5d6b01e4-af28-4bfe-81f4-0de106bc582c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Preloading in CloudDataStore

2018-05-30 Thread thstart
BigQuery can export to CSV and JSON in CloudStorage.

On Wednesday, May 30, 2018 at 11:13:47 AM UTC-7, Jordan (Cloud Platform 
Support) wrote:
>
> Since the 'documents 
> '
>  
> are JSON objects and not raw binary, they cannot be saved into Google Cloud 
> Storage. I think they use to be persisted to BigTable 
> , but I believe they may now actually 
> be stored in Spanner . 
>

-- 
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/03369ad7-0175-4d70-a209-baf910381966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Indexing Documents

2018-05-30 Thread thstart
If they are JSON documents where they are stored so to be indexed?

On Wednesday, May 30, 2018 at 1:37:08 PM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> Sure. I had put the link in my first comment. Here 
> 
>  it 
> is. Hope this explanation works for you?
>

-- 
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/fbf0cd75-938d-4e2f-a260-c00333255d8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: iOS IPv6/IPv4 https requirements for AppEngine

2018-05-31 Thread thstart
If I have custom domain pointing to AppEngine I don't need static IP 
address, correct?

On Thursday, May 31, 2018 at 11:39:38 AM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> As mentioned in the documentation 
> , App Engine can’t 
> provide you with the static IP addresses. If you would like to have 
> IPv4/IPv6 you should look into Cloud Compute Engine solutions for your 
> use-case. As noted in my previous comment, you may use Cloud Endpoints to 
> handle communication with App Engine. A sample application is provided in 
> this 
> link 
> 
>  
> which shows how to call a backend service running on App Engine to create a 
> simple game in Java. if you need a sample in Go, you may send your feature 
> request to the Issue Tracker 
> .
>
> I should note that Google Groups are reserved for general Google Cloud 
> Platform-end product discussions and not for technical questions. For 
> technical questions, I recommend that you post your full detailed question 
>  to Stack Overflow 
> .
>

-- 
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/f07403b6-85a2-4633-be3b-e99b2a071158%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Indexing Documents

2018-05-31 Thread thstart
Hi Katayoon,

Here is my use case:
1) source : CSV file
2) one master table of size 500 GB and 500 million records. 
3) daily updates of size 10GB and 10 million records.

I need to create 2) one time. Every day I need to update 3).

Right now I import the CSV files and create tables in BigQuery. Then I can 
do additional work and export as CSV to Cloud Storage.

With BigQuery I can prepare the tables in advance. Let say I have 1 table 
with 100 columns and 10 indexes on only 10 fields which are fields in the 
CSV exported from BigQuery in CloudStorage. Let say the master table is 500 
GB/500 mil records and the indexes should be  1/10 or 50 GB. Every day I 
change/delete about 10 GB/10 million records.

BigQuery is not for customer facing apps so I'm looking for the best way to 
achieve that most effective and cheapest way.

For customer facing app I don't need full SQL -  some limited SQL or if not 
possible KV store is OK. 

Best,
--Constantine



On Thursday, May 31, 2018 at 11:26:26 AM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> If you mean using Search API in App Engine to index your structured data 
> (your JSON files), you may take a look at this documentation 
>  and the 
> pricing 
> 
>  
> is the same as brought in the App Engine tab of Pricing Calculator 
>  (Indexing Documents 
> section). If not, could you provide more clarification about your use case?
>

-- 
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/1c4160f1-6f5f-49de-bcaa-24f787e25dc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] gcloud source repos clone - fatal: remote error: Access denied to

2018-06-06 Thread thstart



My development machine is macOS.


I did initial test for Google Cloud and AppEngine. Did source control 
upload/download just fine.


Now registered with new email account.


Trying to do the following:

gcloud source repos create my-cool-repo

gcloud source repos clone my-cool-repo


got the error:

fatal: remote error: Access denied to 


I did gcloud init && git config 
credential.'https://source.developers.google.com'.helper gcloud.sh


But seems my former email account is somewhere in a cache.


I checked in macOS keychain for git and it is not there.


How to make it work?

-- 
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/c0b61730-7906-48e5-9787-5f4c21c59f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] mapping custom domain to a AppEngine - ERROR:domain is already mapped to a project

2018-06-06 Thread thstart

I was mapping custom domain to a AppEngine test project. 

Then decided to delete this App and create new account.

Created AppEngine project again and tried to add the same domain.

Got an error message:

 is already mapped to a project.

I deleted the A,  and CNAME records in Google Domain but still get this 
message.

-- 
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/9af1211a-9f20-4bd5-bc0b-321d5c9c70c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: mapping custom domain to a AppEngine - ERROR:domain is already mapped to a project

2018-06-14 Thread thstart
I was able to do Override, thank you.

On Thursday, June 7, 2018 at 11:48:27 AM UTC-7, Katayoon (Cloud Platform 
Support) wrote:
>
> Referring to this discussion 
> , 
> you are now able to manually override domain mappings by using the Admin 
> API 'DomainOverrideStrategy' option 
> 
> :
>
> - Simply create your domain mapping via the API Explorer 
> 
>  
> by filling out the 'appsId' parameter and setting the 'overrideStrategy' 
> parameter to "OVERRIDE" (without the quotes). 
> - Then add and fill out the 'DomainMapping' parameters 
> 
>  
> in the 'Request body'. Also ensure you turn on 'Authorize requests using 
> OAuth 2.0' so that you may prove your ownership over the project ID 
> 'appsId' found in the Cloud Console 
> . 
>

-- 
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/e24f3e63-1d89-49e6-be13-d7d7d38dea45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cloud Tasks using Golang.

2019-01-08 Thread thstart
I would like to implement Cloud Tasks using Golang.

Are there more information how to do that?

-- 
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/18f3178d-72db-4015-9369-e4eea4e38122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Cloud Tasks using Golang.

2019-01-09 Thread thstart
Based only on this info with no real examples? 
There are examp in Python, etc. Not for Golang.

On Wednesday, January 9, 2019 at 9:08:34 AM UTC-8, Les Vogel wrote:
>
> https://godoc.org/cloud.google.com/go/cloudtasks/apiv2beta2
>
> On Tue, Jan 8, 2019 at 4:03 PM thstart > 
> wrote:
>
>> I would like to implement Cloud Tasks using Golang.
>>
>> Are there more information how to do that?
>>
>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/18f3178d-72db-4015-9369-e4eea4e38122%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/18f3178d-72db-4015-9369-e4eea4e38122%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
>
>
> *  •  **Les Vogel*
> *  •  *Cloud Developer Relations
> *  •  *le...@google.com 
> *  •  *+1-408-676-7023 
>
>
>

-- 
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/78986e6f-7e8c-40c2-8bb3-14e11add10b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] StackDriver Uptime Check keeps working after deleting it

2019-01-12 Thread thstart
I was researching StackDriver.

Configured UpTime check to look how it is working. It was default settings 
of checking every minute. I see on the Google Cloud dashboard the requests.

Everything fine till now.  Then I don't want these UpTime checks anymore 
and delete
them.

Going to the  Google Cloud dashboard I still see them working.

The problem is these uptime check keep 3 instances always working and thus 
eating resources and at the end I need to pay for that. 

For this particular service I need it to run once a week and then shut down.

This UpTime check keeping working is a serious issue.


-- 
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/9a4756d0-aa14-4e3e-9765-115c83008aeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Unique Cloud Task names cannot be reused

2019-01-12 Thread thstart
I created Cloud Task with unique name in order to guarantee just
one time execution if successful.

Created it using API. Tried to execute again after 2 hours but the message 
I got is I cannot use the same name
because it was already used recently.


>From the documentation:

If the task's queue was created using Cloud Tasks, then another task 
with

the same name can't be created for ~1hour after the original task was

deleted or executed. If the task's queue was created using queue.yaml or

queue.xml, then another task with the same name can't be created

for ~9days after the original task was deleted or executed.


I am expecting to re-use the name after 2 hours, what is wrong?

-- 
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/50918fc6-920a-4893-a607-3c42a27156a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.