Re: [google-appengine] Re: URL manage
Thanks Sodso! I do understand this, but I need something more. I need to manage the url myapp/userdomainname in my app. I want to have in my app something like: var1 = get_userdomainname How can do this? 2010/10/17 sodso > yes, thats easy in GAE Python > > should be similar in Java too (i guess) > > the URL supports vars as described below - > > > http://code.google.com/appengine/docs/python/config/appconfig.html#About_app_yaml > > URL and file path patterns use POSIX extended regular expression > syntax, excluding collating elements and collation classes. Back- > references to grouped matches (e.g. \1) are supported, as are these > Perl extensions: \w \W \s \S \d \D > (This is similar to Codesite search, plus back-reference support.) > > cheers. > > On Oct 16, 9:09 pm, Massimiliano > wrote: > > Dear All, > > I'm trying to build a website and I need to give my user > > a domain myapp/userdomainname, in order to provide a url that match with > > their homepage. How can I do this? Is there a way to manage the URL? I > can't > > find documentation, could someone help me? > > I need to use the URL name as a var. > > > > Regards > > > > Massimiliano > > > > -- > > > > My email: massimiliano.pietr...@gmail.com > > My Google Wave: massimiliano.pietr...@googlewave.com > > -- > 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. > > -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.com -- 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] Check out my new tetris game
Hi, checkout a new Tetris game with high score table, made in GWT powerd by appengine. the tetris itself was taken from the "gwt-tetris" project on google code. http://gwttetris.appspot.com -- 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.
Re: [google-appengine] Why so many instances?
I got 60 instances at max (each with 3~5 qps) On Sat, Oct 16, 2010 at 6:38 AM, Sahid Orentino Ferdjaoui wrote: > Hello, > > That is wrong, > in average i have 80 instances launched and in hightraffic more than 100. > > -- > . > ..: > > > > On Sat, Oct 16, 2010 at 5:57 AM, 风笑雪 wrote: >> The max instances per app are about 30. >> >> -- >> keakon >> >> >> >> On Sat, Oct 16, 2010 at 9:30 AM, Jeff Schnitzer wrote: >>> Thanks for the new Instances dashboard - it's neat to know. I'm >>> curious though, why are so many instances running? >>> >>> I have one (java) app that gets a steady 0.5 hits/s, and another >>> (python) app that gets a steady 2.5 hits/s. >>> >>> The 0.5 hits/s Java app is running 4 instances. >>> The 2.5 hits/s Python app is running 6 instances. >>> >>> Obviously I don't mind that Google devotes so many resources to >>> serving my application, but it does seem odd. Does GAE need this many >>> instances to serve so few requests? If my Java app surges to 50 >>> hits/s, will I consume 400 instances?? >>> >>> Thanks, >>> Jeff >>> >>> -- >>> 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. >>> >>> >> >> -- >> 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. >> >> > > -- > 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. > > -- Rafael Sierra http://blog.rafaelsdm.com -- 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.
Re: [google-appengine] Re: URL manage
www.urapp.com/urldomainname 1) your app.yaml file will have this handler handlers: - url: /.+ script: code.py 2) code.py will have something like this class URLHandler(webapp.RequestHandler): def get(self): var1 = self.request.path #this will give you everything after the www.myapp.com # import os # print os.environ # u can use this dict as well for whatever values u r looking for from the incoming req def main(): run_wsgi_app(webapp.WSGIApplication([('/.+', URLHandler)])) hope this helps ! cheers ! -- 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: Prod Env utils - Interactive Console, Memcache manager, XMPP bot, IncomingMail Stub
the code is already there but theres no documentation anywhere about how to access these useful utils in the PROD env. so doing the above, you will have additional functionality available in ur GAE dashboard itself (similar to what its like in the SDK test env) try it out, esp the Interactive Console, thats very very useful to have for the PROD env, for running online queries , running any ad-hoc code, checking PROD values, a real powerful tool for ADMINS i wud say cheers. -- 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: Quota numbers seem wrong
appid - sodso-reminders, sodso-webs my both apps are now showing strange values for various quota numbers values seem to be stuck or changing only in 100 multiples something is seriously wrong with the quota details reporting system -- 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.
Re: [google-appengine] Re: URL manage
Yes! Thanks!!! Max 2010/10/17, sodso : > www.urapp.com/urldomainname > > 1) your app.yaml file will have this handler > > handlers: > - url: /.+ > script: code.py > > 2) code.py will have something like this > > class URLHandler(webapp.RequestHandler): > def get(self): > var1 = self.request.path #this will give you everything after the > www.myapp.com > # import os > # print os.environ # u can use this dict as well for whatever values u > r looking for from the incoming req > > def main(): > run_wsgi_app(webapp.WSGIApplication([('/.+', URLHandler)])) > > > hope this helps ! > cheers ! > > -- > 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. > > -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.com -- 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: Upcoming changes to Task Queues
Hi Keakon, I raised an issue for editing tasks in the queue around 15 months ago - http://code.google.com/p/googleappengine/issues/detail?id=1772 - please star this issue if you would like to see this feature. The main use case is a task that is generating an error - i.e. it is stuck in a cycle of 'execute->error->return to queue'. At the moment the fixes for this are 1. Fix the code that raised the bad task and accept that the broken job will never complete properly (delete the stuck task) 2. hack the code that receives the task to modify the broken value(s) - this is pretty hard/risky work In complex process environment, both options can be very difficult, especially if the task is part of a long chain - it can be tough to manually sort out the problem in many situations. So I agree the use case for this is really only when the app code has a bug in it, but bugs happen, and this would help in plenty of situations. One other way to consider this problem is the implementation of a dead letter queue - a task that continually fails is moved to the dead letter queue, to avoid using up too much CPU/API quota if it goes unnoticed. Editing might be a function of the dead letter queue (along with relaunching). It is possible to implement this in user space - i.e. if you receive a task with > 10 retries (for example), then store it in the datastore, return 200 and implement an admin API and relaunch capability. Would be great if this was a feature of the task queue administration screens rather than each app doing a roll-your- own solution though. Cheers, Colin On Oct 16, 5:12 am, 风笑雪 wrote: > Hi, Ikai > > I would like to know whether Google will let us be able to get tasks > in the specified queue, then edit or delete them in the future. > > -- > keakon -- 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.
Re: [google-appengine] Billing Calculator
Hey Nick, There are a lot of variables, so it is pretty tricky to estimate anything with accuracy for a particular app. The best you could probably do is come up with some really rough figures. All of the current rates are listed, so there is not a lot of mystery to that. If your app is pretty straightforward (like it sounds) I would mock something up and do some testing to get actual numbers, then extrapolate to get your estimates. Also, I would suggest estimating cost based on 'average' to 'worst-case' scenarios though. So if your serving handler is using between 500ms and 3000ms, with an average of 700ms I would use some number(s) between 700 and a 1000. Also, with your data do not forget to account for all of the meta-data and indexes. If you are expecting to have 1Gb of actual data you might want to (at least) double or triple that when estimating. Robert On Sun, Oct 17, 2010 at 02:22, Nick Pellow wrote: > Hi, > I am investigating the cost of running an App on Google App Engine. > My App pretty much only needs to store data in a single entity, and serve it > up again when requested. Each entity contains a BLOB, so is about 65Kb in > size. There could be potentially be circa 1 Million entities however. > Is there any kind of billing calculator that can help predict the cost of > running on App Engine under certain scenarios? ie. be able to plug in some > figures for stored data, CPU hours, Used Bandwidth etc, and see a total > costing? > Also - I've noticed that for he same request, for the same entity, the > number of CPU_hours can vary quite drastically. Is this expected and what is > the best way to predict what the running costs of an app will be? > Cheers, > Nick > > -- > 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. > -- 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.
Re: [google-appengine] Re: URL manage
Another possible option: Use the suggested app.yaml. Setup your app like this: class SomeActionHandler(webapp.Requesthandler): def get(self, domain): self.response.out.write(domain) application = webapp.WSGIApplication([(r'/(.*)/someaction', SomeActionHandler)], debug=True) Now you can goto: yourapp.com/DOMAIN.COM/someaction Robert On Sun, Oct 17, 2010 at 13:02, Massimiliano wrote: > Yes! > Thanks!!! > > Max > > 2010/10/17, sodso : >> www.urapp.com/urldomainname >> >> 1) your app.yaml file will have this handler >> >> handlers: >> - url: /.+ >> script: code.py >> >> 2) code.py will have something like this >> >> class URLHandler(webapp.RequestHandler): >> def get(self): >> var1 = self.request.path #this will give you everything after the >> www.myapp.com >> # import os >> # print os.environ # u can use this dict as well for whatever values u >> r looking for from the incoming req >> >> def main(): >> run_wsgi_app(webapp.WSGIApplication([('/.+', URLHandler)])) >> >> >> hope this helps ! >> cheers ! >> >> -- >> 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. >> >> > > > -- > > My email: massimiliano.pietr...@gmail.com > My Google Wave: massimiliano.pietr...@googlewave.com > > -- > 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. > > -- 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: Check out my new tetris game
Nice appl and useful, feel a little younger too -:) On Oct 17, 3:21 pm, Yotam wrote: > Hi, checkout a new Tetris game with high score table, made in GWT > powerd by appengine. > the tetris itself was taken from the "gwt-tetris" project on google > code. > > http://gwttetris.appspot.com -- 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: The phone number has been sent too many messages or has already been used to confirm an account.
I filled it out about a week ago. Am I supposed to get an automated email or anything to confirm that somebody did something? Or just try it again occasionally? Thanks, Neal -- 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: Why so many instances?
@Sahid @Rafael You guys seem to have some good high traffic sites, that's so cool! Care to share the URLs? -N On Oct 17, 8:36 pm, Rafael Sierra wrote: > I got 60 instances at max (each with 3~5 qps) > > On Sat, Oct 16, 2010 at 6:38 AM, Sahid Orentino Ferdjaoui > > > > > > wrote: > > Hello, > > > That is wrong, > > in average i have 80 instances launched and in hightraffic more than 100. > > > -- > > . > > ..: > > > On Sat, Oct 16, 2010 at 5:57 AM, 风笑雪 wrote: > >> The max instances per app are about 30. > > >> -- > >> keakon > > >> On Sat, Oct 16, 2010 at 9:30 AM, Jeff Schnitzer > >> wrote: > >>> Thanks for the new Instances dashboard - it's neat to know. I'm > >>> curious though, why are so many instances running? > > >>> I have one (java) app that gets a steady 0.5 hits/s, and another > >>> (python) app that gets a steady 2.5 hits/s. > > >>> The 0.5 hits/s Java app is running 4 instances. > >>> The 2.5 hits/s Python app is running 6 instances. > > >>> Obviously I don't mind that Google devotes so many resources to > >>> serving my application, but it does seem odd. Does GAE need this many > >>> instances to serve so few requests? If my Java app surges to 50 > >>> hits/s, will I consume 400 instances?? > > >>> Thanks, > >>> Jeff > > >>> -- > >>> 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 > >> 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 > > athttp://groups.google.com/group/google-appengine?hl=en. > > -- > Rafael Sierrahttp://blog.rafaelsdm.com -- 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.