Re: [google-appengine] Maven and GAE endpoints

2013-03-18 Thread William Ferguson
Thanks Ludo, what about items 2, 3 and 4. Any movement on them?

NB It feels really wrong to be creating a client library inside the server 
WAR. And (from memory now) how are the names of the generated client 
argument classes determined? They didn't seem to match the server exactly 
but it wasn't clear how they are determined.

The list of dependent libraries packed into the client bundle seems very 
long. Is there some doco outlining the overlap with libraries already part 
of Android so I don't bloat my client project. Or better still a way to 
generate and install a client jar using the Maven plugin that includes the 
client's dependencies.

Anyone else using Maven and end-points and have some details on their usage 
or progress?

William


On Tuesday, March 19, 2013 4:12:53 AM UTC+10, Ludovic Champenois wrote:
>
> On 3/16/13 10:09 PM, William Ferguson wrote: 
> > I'm trying to convert an existing AppEngine app that uses org.restlet 
> > as transport to use cloud endpoints. I was planning on moving to 
> > endpoints to gain better access to authenticated users specifically 
> > from Android devices. But I'm finding that the endpoint tooling 
> > doesn't play very nicely with Maven and could use some pointers on 
> > making it less tedious. 
> > 
> > In particular with org.restlet I defined my server interfaces in 
> > projectA, app engine implementation in projectB and Android client 
> > impl in projectC. All cleanly separate. But with the endpoint tooling: 
> > 1) It assumes that the engine app is in a folder called 'war' 
> > 2) It requires all classes declared in the method signatures to have 
> > their source in the app engine project (they can't be contained in a 
> > dependent jar). 
> > 3) Creates a client ?project? library embedded in the war/web-inf 
> > folder of the engine server app which contains source, dependencies, 
> > proguard config and needs to be cut out of the server app and added to 
> > the client app. 
> > 4) Maybe I missed this but I couldn't see a way to force params into 
> > the request body instead of being part of the URL.. 
> > 
> > 
> > Does someone have a good example project that uses Maven to build 
> > using endpoints? 
> > 
> > What Maven plugins are people using. I have been using 
> > net.kindleit:maven-gae-plugin to date, but it looks close to abandoned 
> > now and doesn't support endpoints. 
> >   appengine-maven-plugin looks newish and pretty clean (doesn't 
> > support the endpoint tooling) 
> >   maven-endpoint-plugin generates the server api descriptor but not 
> > any of the client classes. 
> > 
>
> Hi, 
> We are working on fixing this bug: 
>
> https://code.google.com/p/googleappengine/issues/detail?id=8833&sort=-id&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
>  
> Once fixed, the new appengine-maven-plugin will be updated to also 
> support endpoints, I hope soon. 
> We are also working on improving the documentation. Stay tune, 
>
> Ludo 
> > 
> > William 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Google App Engine" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to google-appengi...@googlegroups.com . 
> > To post to this group, send email to 
> > google-a...@googlegroups.com. 
>
> > Visit this group at 
> http://groups.google.com/group/google-appengine?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>

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




[google-appengine] Re: Anyone using EU-datacenter option outside Premier Accounts?

2013-03-18 Thread Miguel PersonToVehicle
Hi Luca,

We applied for it five weeks ago and havenĀ“t receive any answer so far. Not 
even a simple acknowledge. I'm begining to think something wrong happened 
because it is quiet rare not getting at least one courtesy email confirming 
the reception the request. 

Did you get any sort of acknowledge  just after sending your request?

Thanks,
Miguel
 

On Monday, March 18, 2013 2:21:11 PM UTC+1, decu...@uemd.net wrote:
>
> Hi Juha
>
> How long did you have to wait for the answer? I did also apply the last 
> week and I don't know where I'm standing now.
> I would like to use my freshly created Cloud SQL EU-instance. Suddenly my 
> App instance is still in US and I can't connect those.
>
> Did you notice any response improvements while moving to Europe?
>
> Regards
> -Luca.
>
> Am Samstag, 2. Februar 2013 08:57:08 UTC+1 schrieb Juha Koskela:
>>
>> Hi,
>>
>> I signed up for the "Google App Engine is extending its European 
>> offering to non-premier customers" - offering some time ago. Got an email 
>> earlier this week: "Based on the feedback that you provided, we've 
>> enabled this support for your account." 
>>
>> Is anyone using this already? I can't find the Location option anywhere 
>> and the documentation (in the Uploading Your Application -section) referes 
>> only to premier accounts. I've tried creating a new app (no location option 
>> available while creating), enabling billing, and going through all possible 
>> settings. If you're using the EU datacenter with the "extended european 
>> offering", how did you get started?
>>
>> thanks!
>>
>>
>>

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




[google-appengine] Re: How to Scale your Startup to Millions of Users: Hangout Mon. Mar 18th, 12pm PST

2013-03-18 Thread Amy Unruh
It looks like the video is now up here:
https://developers.google.com/live/shows/232718755/

Sorry to hear that there may have been issues watching it live, I'll check
on that.


On 19 March 2013 07:37, Jason Collins  wrote:

> The hangout and the live feed didn't seem to work at all? I couldn't find
> the content.
>
>
> On Saturday, 16 March 2013 16:40:34 UTC-6, Amy Unruh wrote:
>>
>>
>> On Monday March 18th, at 12pm Pacific time, Fred Sauer will interview Ben
>> Kamens about how Khan Academy (which uses App Engine) scaled to millions of
>> users, and what other startups can learn from their experience.
>>
>> Although the interview will be targeted at startups, it should be useful
>> to anyone building a web site or service who wants to make sure it will
>> scale up and handle whatever traffic your users throw at it.
>> You can watch from the GDL event page: https://developers.google.com/**
>> live/shows/232718755/.
>>
>> If you're a G+ user, you can RSVP to the event here to get a reminder:
>> http://goo.gl/9XCMu .
>>
>

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




[google-appengine] Re: How do you memcache properly? :-)

2013-03-18 Thread Chad Vincent
Are you on Java, Go, or Python?  On Java, Objectify will use memcache for 
object storage, so you use queries (to get the keys), but not reads.  This 
would abstract away the cache usage in both situations so it's automatic.

It's not for everyone, but worth looking into.

On Sunday, March 17, 2013 10:25:38 AM UTC-5, Marc Seiler wrote:
>
> Hey guys I am somewhat new to appengine and memcache and I am struggling 
> to set my stuff up properly.
>
>
> I have 2 different situations for the same dataset I need to figure out 
> the best way to handle it.
>
> -
>
> First situation: On the devices checking in. Some check in very fast 
> because they need to keep the service up to date with the newest 
> information while some check in much slower. Doing this I learned that 
> appengines free quota on read/write operations can be ran through rather 
> quickly. So I started researching the memcache features. The problem is I 
> am not sure how to use memcache with this type of thing but I have come up 
> with 2 different methods and I ask for your help on chosing or being told 
> that I am doing it stupid. The main requirement for later is that it has to 
> be searchable by user because devices are attached to users and each user 
> can have multiple devices. 
>
> Method 1: When devices check in I store each one in a separate key/value 
> pair in memcache and then have a global list in a key/value pair for each 
> user that gets updated on new devices or when devices get deleted. The 
> global list is So I can use get_multi to get the list all at once.
>
> Method 2: When a device is checked in a key/pair is pulled for that user 
> that contains that users list of devices and it is updated accordingly. 
> Then the key/pair is pulled when needed later.
>
> Both of these methods will also update a database for that device if it 
> changes so we always have a database copy. The memcache is mainly what I am 
> using to detect the changes so I make minimal read/write requests to 
> database.
>
> On top of not knowing which method is best if either one is at all I am 
> not sure how I can set this up to repopulate them from the database if it 
> ever goes away in memcache. This part I am sure I can figure out but I come 
> to you guys and girls to see if I am even starting properly.
>
> -
>
> Second Situation: Listing the devices for the users on the site so they 
> can control them. I was thinking since this is going to be way less 
> frequent that I wouldn't really need to use memcache at all but I also 
> thought that devices checking in like they did wasn't a big deal either 
> until appengine said oops out of free quota lol. So. I was thinking I 
> should be using memcache but I was worried about losing search capabilities 
> THEN I thought maybe I could use angular.js to pull the devices and do 
> client side searching. Thoughts?
>
> -
>
> All in all I am really lost and in over my head on this and I love it :P I 
> am really REALLY impress with the appengine service and its been super fun 
> developing for. its been days and days of staring at a screen going wtf do 
> I do now. If anyone has any good resources/books for me to read I would be 
> very thankful.
>

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




[google-appengine] Re: How to Scale your Startup to Millions of Users: Hangout Mon. Mar 18th, 12pm PST

2013-03-18 Thread Jason Collins
The hangout and the live feed didn't seem to work at all? I couldn't find 
the content.

On Saturday, 16 March 2013 16:40:34 UTC-6, Amy Unruh wrote:
>
>
> On Monday March 18th, at 12pm Pacific time, Fred Sauer will interview Ben 
> Kamens about how Khan Academy (which uses App Engine) scaled to millions of 
> users, and what other startups can learn from their experience.
>
> Although the interview will be targeted at startups, it should be useful 
> to anyone building a web site or service who wants to make sure it will 
> scale up and handle whatever traffic your users throw at it. 
> You can watch from the GDL event page: 
> https://developers.google.com/live/shows/232718755/ .
>
> If you're a G+ user, you can RSVP to the event here to get a reminder: 
> http://goo.gl/9XCMu .
>  

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




[google-appengine] Re: Question about pushing messages to native apps

2013-03-18 Thread Arthur Wiebe
Hey Christoph, may I ask what you ended up doing?

I thought about registering one gtalk account and use it within the game 
> client (register each client with a unique ressource, or maybe with a 
> ressource per game). So basically the GAE app would send messages to 
> my_customapp [at] gmail [dot] com/, but i'm not sure if this 
> would be allowed by google. Maybe someone here has some information about 
> that?


I'm considering doing that as well. Unless there is a better way.

On Sunday, 15 January 2012 16:45:48 UTC-5, Christoph Grossegger wrote:
>
> thank you for mentioning and sharing your experiences with pubnub, 
> althought it seams a bit expensive for my purpose (at least the pay as you 
> go system, haven't calculated the prepaid options yet). It looks 
> interesting for applications with somehow "moderate" update rates / pushes, 
> since you get the whole package from client to server apis, but in my case 
> here, it looks really expensive. 
>
> If i understand the pricing model right, i would pay 5 credits per message 
> on a broadcast to 4 players (currently the maximum player size per game), 1 
> to the system and 1 for each player. One credit costs "only" $0.0001 (which 
> makes $0.0005 per broadcast), which doesn't look much, but throughout a 
> game, there are a few of those. Let's say each player performs every 4 
> seconds an action that requires a broadcast, results in 1 broadcast per 
> second per hosted game. That would cost a lot of money. Guess that an ec2 
> instance would cost way less and running the game logic directly their 
> would also reduce the latency and the load of other instances. 
>

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




[google-appengine] Maven plugin to speedup mainly static htmls, change mimetype, Post-Request

2013-03-18 Thread Karolis K
Hi folks,

at first: sorry for my bad english, I'm not a native english speaker. ;)
I don't know, if this group is the right place for my advertisement ;)

I wrote a small maven-plugin, which fetches the content of the local 
deployed app and saves it into the target directory of maven.
My app (a guest house site, which delivers mainly static html, but has a 
reservation-form) can now be completely written in Spring MVC using 
sophisticated templates, but don't have the annoying deploy up-time and is 
generally faster and cheaper then handling every request in spring-context. 
Only dynamic content (like the reservation-view) must still handled by 
spring.
https://bitbucket.org/kkleiza/fetcher-maven-plugin/wiki/Home

Question: 
- is there a way to change the mimetype of static-content without changing 
the file-suffix?
- can i omit somehow the static content lookup for POST-Requests?

thank you very much
Feedbacks are welcome ;)

Bye, Karolis

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




Re: [google-appengine] Maven and GAE endpoints

2013-03-18 Thread ludovic Champenois

On 3/16/13 10:09 PM, William Ferguson wrote:
I'm trying to convert an existing AppEngine app that uses org.restlet 
as transport to use cloud endpoints. I was planning on moving to 
endpoints to gain better access to authenticated users specifically 
from Android devices. But I'm finding that the endpoint tooling 
doesn't play very nicely with Maven and could use some pointers on 
making it less tedious.


In particular with org.restlet I defined my server interfaces in 
projectA, app engine implementation in projectB and Android client 
impl in projectC. All cleanly separate. But with the endpoint tooling:

1) It assumes that the engine app is in a folder called 'war'
2) It requires all classes declared in the method signatures to have 
their source in the app engine project (they can't be contained in a 
dependent jar).
3) Creates a client ?project? library embedded in the war/web-inf 
folder of the engine server app which contains source, dependencies, 
proguard config and needs to be cut out of the server app and added to 
the client app.
4) Maybe I missed this but I couldn't see a way to force params into 
the request body instead of being part of the URL..



Does someone have a good example project that uses Maven to build 
using endpoints?


What Maven plugins are people using. I have been using 
net.kindleit:maven-gae-plugin to date, but it looks close to abandoned 
now and doesn't support endpoints.
  appengine-maven-plugin looks newish and pretty clean (doesn't 
support the endpoint tooling)
  maven-endpoint-plugin generates the server api descriptor but not 
any of the client classes.




Hi,
We are working on fixing this bug:
https://code.google.com/p/googleappengine/issues/detail?id=8833&sort=-id&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
Once fixed, the new appengine-maven-plugin will be updated to also 
support endpoints, I hope soon.

We are also working on improving the documentation. Stay tune,

Ludo


William
--
You received this message because you are subscribed to the Google 
Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to google-appengine+unsubscr...@googlegroups.com.

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




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




[google-appengine] Re: Anyone using EU-datacenter option outside Premier Accounts?

2013-03-18 Thread decurgia
Hi Juha

How long did you have to wait for the answer? I did also apply the last 
week and I don't know where I'm standing now.
I would like to use my freshly created Cloud SQL EU-instance. Suddenly my 
App instance is still in US and I can't connect those.

Did you notice any response improvements while moving to Europe?

Regards
-Luca.

Am Samstag, 2. Februar 2013 08:57:08 UTC+1 schrieb Juha Koskela:
>
> Hi,
>
> I signed up for the "Google App Engine is extending its European offering 
> to non-premier customers" - offering some time ago. Got an email earlier 
> this week: "Based on the feedback that you provided, we've enabled 
> this support for your account." 
>
> Is anyone using this already? I can't find the Location option anywhere 
> and the documentation (in the Uploading Your Application -section) referes 
> only to premier accounts. I've tried creating a new app (no location option 
> available while creating), enabling billing, and going through all possible 
> settings. If you're using the EU datacenter with the "extended european 
> offering", how did you get started?
>
> thanks!
>
>
>

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




[google-appengine] Re: restoring the backup to a different appid

2013-03-18 Thread Arie Ozarov
Yes, see: 
https://developers.google.com/appengine/docs/adminconsole/datastoreadmin#Restoring_Data_to_Another_App

Arie.

On Saturday, March 16, 2013 10:08:25 AM UTC-7, aswath wrote:
>
> Hello,
> Is there a way to restore the datastore backup to a different appid.  
>
> -Aswath
>

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




[google-appengine] Interesting Comparison of GCE and AWS

2013-03-18 Thread Joshua Smith
Not specifically relevant to GAE, except that if you get sick of GAE' issues 
and decide to move down a level on infrastructure, it sounds like google is 
becoming a real alternative to AWS:

http://gigaom.com/2013/03/15/by-the-numbers-how-google-compute-engine-stacks-up-to-amazon-ec2/

Of course, us GAE veterans will all recognize that GAE was a whole lot faster 
back when it was new. Google has not shown an ability to scale customers by 
orders of magnitude without suffering infrastructure issues. (Although neither 
has Amazon.)

-Joshua

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




[google-appengine] How to create a domain of the fourth level

2013-03-18 Thread Alex Nick
example: buy.techsoft.appspot.com 
how is this achieved?

P.S. sorry for my English, I'm from Russia.

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