Re: [google-appengine] separating files for Handler

2012-07-12 Thread Jason Galea
On Thu, Jul 12, 2012 at 2:50 PM, soujiro0725 soujiro0...@gmail.com wrote:

 AppEngine for Python SDK latest

 Hi, I'm trying to separate the program into many files.  In order to do
 so, I need to put import handler for handler.py file if I'm correct.

 But for some reason, I keep getting errors.


I think you've got two options..

change import handler to from handler import Handler

or

change class MainPage(Handler): to class MainPage(handler.Handler):

cheers,

J




 main.py is

 import webapp2
 import os
 import jinja2
 import handler

 template_dir = os.path.join(os.path.dirname(__file__), 'templates')
 jinja_env = jinja2.Environment(loader =
 jinja2.FileSystemLoader(template_dir),
autoescape = True)
 def render_str(template, **params):
 t = jinja_env.get_template(template)
 return t.render(params)
 def make_secure_val(val):
 return '%s|%s' % (val, hmac.new(secret, val).hexdigest())
 def check_secure_val(secure_val):
 val = secure_val.split('|')[0]
 if secure_val == make_secure_val(val):
 return val
 class MainPage(Handler):
 def get(self):
 self.response.headers['Content-Type'] = 'text/plain'
 self.render('front.html', wikis = wikis[0], time =
 int(diff.total_seconds()))
 app = webapp2.WSGIApplication([('/?', MainPage)], debug=True)


  handler.py is

 import webapp2
 class Handler(webapp2.RequestHandler):
 def write(self, *a, **kw):
 self.response.out.write(*a, **kw)
 def render_str(self, template, **params):
 params['user'] = self.user
 return render_str(template, **params)
 def render(self, template, **kw):
 self.write(self.render_str(template, **kw))
 def set_secure_cookie(self, name, val):
 cookie_val = make_secure_val(val)
 self.response.headers.add_header(
 'Set-Cookie',
 '%s=%s; Path=/' % (name, cookie_val))
 def read_secure_cookie(self, name):
 cookie_val = self.request.cookies.get(name)
 return cookie_val and check_secure_val(cookie_val)
 def login(self, user):
 self.set_secure_cookie('user_id', str(user.key().id()))
 def logout(self):
 self.response.headers.add_header('Set-Cookie', 'user_id=; Path=/')
 def initialize(self, *a, **kw):
 webapp2.RequestHandler.initialize(self, *a, **kw)
 uid = self.read_secure_cookie('user_id')
 self.user = uid and User.by_id(int(uid))


 This raises an error,

   File /Users/ishidasouichi/appengine_python/chword/main.py, line 28, in
 module
 class MainPage(Handler):
 NameError: name 'Handler' is not defined
 INFO 2012-07-12 04:40:05,243 dev_appserver.py:2904] GET /favicon.ico
 HTTP/1.1 500 -


 Looks like main.py is not reading handler.py at all.

 Could anyone point out the mistake I am making?

 soujiro0725

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




-- 
Jason Galea
ja...@lecstor.com

http://lecstor.com
https://github.com/lecstor
https://metacpan.org/author/LECSTOR
http://au.linkedin.com/in/jasongalea
https://plus.google.com/110776762575649383381
https://twitter.com/Lecstor

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



[google-appengine] Re: Spring MVC + GAE = slow startup

2012-07-12 Thread Mauricio Aristizabal
As I replied 
here http://code.google.com/p/googleappengine/issues/detail?id=7833 , I had 
the same issue and it became moot once I specified 1 reserved instance and 
enabled warmup requests (then new instances are not sent requests until 
they are ready, whether that takes 5 seconds or 50).

On Sunday, April 8, 2012 1:16:02 AM UTC-7, Tomas wrote:

 Hi guys,

 I've decided to convert my servlet/jdo based app engine app to spring mvc 
 (the current app is starting to limit me on doing quick 
 changes/improvements in the code and as I have quite good experience with 
 spring on standard non cloud platforms I've decided to give it a go).

 So I've put together project including:

 - Spring + Spring MVC + Apache Velocity
 - ehcache + spring-annotations for ehcache + own decorators/interceptors 
 for appengine memcached
 - objectify
 - some other util classes ie jsoup, commons (util, baens, logging, codec), 
 gdata

 The lib directory contains ~42MB of jars (including appengine libraries 
 which makes ~25MB)

 After deploy, the app takes 50+ seconds to start (sometime the first 
 request get killed after 60 seconds and another app is started) - I've read 
 some articles about speeding up the spring on gae and decided to do another 
 little test. I've created testing app containing only spring + spring mvc 
 with one controller (no other beans, but had to keep the annotation scan 
 enabled for mvc mapping - but disabled the component scan). The controller 
 simply forwards to JSP file with text. Deployed and the page got displayed 
 after 13 seconds.

 I knew the Spring with all proxies and scanning is not optimal for GAE but 
 I wasn't expecting this at all - it seems like the app have issues with 
 simple loading the libraries as I can see how the memory of instance is 
 growing by 1 MB per second. I've tried to:

 1) merge jars into 3-4 bigger ones
 2) disable annotations (just for the test as with new spring mvc its quite 
 hard to do some better mapping only in xml)
 3) lazy load some spring beans

 And I can save like 5-10 secods from those 50+ seconds of my startup - is 
 it really so bad for everyone or is there some magic setting?

 Whats your normal startup time of your spring based app?


-- 
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/-/dFV-3t3UCykJ.
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] separating files for Handler

2012-07-12 Thread soujiro0725
Thanks! It's working now.



On Thursday, July 12, 2012 3:20:39 PM UTC+9, Jason Galea wrote:



 On Thu, Jul 12, 2012 at 2:50 PM, soujiro0725 soujiro0...@gmail.comwrote:

 AppEngine for Python SDK latest

 Hi, I'm trying to separate the program into many files.  In order to do 
 so, I need to put import handler for handler.py file if I'm correct.

 But for some reason, I keep getting errors.


 I think you've got two options..

 change import handler to from handler import Handler

 or

 change class MainPage(Handler): to class MainPage(handler.Handler):

 cheers,

 J

  


 main.py is

 import webapp2
 import os
 import jinja2
 import handler

 template_dir = os.path.join(os.path.dirname(__file__), 'templates')
 jinja_env = jinja2.Environment(loader = 
 jinja2.FileSystemLoader(template_dir),
autoescape = True)
 def render_str(template, **params):
 t = jinja_env.get_template(template)
 return t.render(params)
 def make_secure_val(val):
 return '%s|%s' % (val, hmac.new(secret, val).hexdigest())
 def check_secure_val(secure_val):
 val = secure_val.split('|')[0]
 if secure_val == make_secure_val(val):
 return val
 class MainPage(Handler):
 def get(self):
 self.response.headers['Content-Type'] = 'text/plain'
 self.render('front.html', wikis = wikis[0], time = 
 int(diff.total_seconds()))
 app = webapp2.WSGIApplication([('/?', MainPage)], debug=True)


  handler.py is

 import webapp2
 class Handler(webapp2.RequestHandler):
 def write(self, *a, **kw):
 self.response.out.write(*a, **kw)
 def render_str(self, template, **params):
 params['user'] = self.user
 return render_str(template, **params)
 def render(self, template, **kw):
 self.write(self.render_str(template, **kw))
 def set_secure_cookie(self, name, val):
 cookie_val = make_secure_val(val)
 self.response.headers.add_header(
 'Set-Cookie',
 '%s=%s; Path=/' % (name, cookie_val))
 def read_secure_cookie(self, name):
 cookie_val = self.request.cookies.get(name)
 return cookie_val and check_secure_val(cookie_val)
 def login(self, user):
 self.set_secure_cookie('user_id', str(user.key().id()))
 def logout(self):
 self.response.headers.add_header('Set-Cookie', 'user_id=; 
 Path=/')
 def initialize(self, *a, **kw):
 webapp2.RequestHandler.initialize(self, *a, **kw)
 uid = self.read_secure_cookie('user_id')
 self.user = uid and User.by_id(int(uid))


 This raises an error,

   File /Users/ishidasouichi/appengine_python/chword/main.py, line 28, 
 in module
 class MainPage(Handler):
 NameError: name 'Handler' is not defined
 INFO 2012-07-12 04:40:05,243 dev_appserver.py:2904] GET 
 /favicon.ico HTTP/1.1 500 - 


 Looks like main.py is not reading handler.py at all.  

 Could anyone point out the mistake I am making?  

 soujiro0725 

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




 -- 
 Jason Galea
 ja...@lecstor.com

 http://lecstor.com
 https://github.com/lecstor
 https://metacpan.org/author/LECSTOR
 http://au.linkedin.com/in/jasongalea
 https://plus.google.com/110776762575649383381
 https://twitter.com/Lecstor



-- 
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/-/dXdhlekA6VkJ.
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] separating files for Handler

2012-07-12 Thread soujiro0725


Thanks! It's working now.


-- 
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/-/d-hV7ZHfyQcJ.
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] Could The App Engine Python 2.7 Tutorial Be Broken?

2012-07-12 Thread woolwit
I was doing fine until I hit 'Using 
Templateshttps://developers.google.com/appengine/docs/python/gettingstartedpython27/templates'.
 
Might anything have changed in App Engine SDK 1.7.0 (for Mac, Python 2.7) 
that would break the tutorial?

ERROR2012-07-12 07:13:05,784 wsgi.py:189] 
Traceback (most recent call last):
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py,
 
line 187, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py,
 
line 225, in _LoadHandler
handler = __import__(path[0])
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py,
 
line 676, in Decorate
return func(self, *args, **kwargs)
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py,
 
line 1858, in load_module
return self.FindAndLoadModule(submodule, fullname, search_path)
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py,
 
line 676, in Decorate
return func(self, *args, **kwargs)
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py,
 
line 1722, in FindAndLoadModule
description)
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py,
 
line 676, in Decorate
return func(self, *args, **kwargs)
  File 
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_import_hook.py,
 
line 1665, in LoadModuleRestricted
description)
  File /Applications/MAMP/htdocs/cs253/helloworld/helloworld.py, line 27, 
in module
class MainPage(webapp2.RequestHandler):
  File /Applications/MAMP/htdocs/cs253/helloworld/helloworld.py, line 59, 
in MainPage
guestbook_key(guestbook_name))
NameError: name 'guestbook_name' is not defined
INFO 2012-07-12 07:13:05,796 dev_appserver.py:2952] GET / HTTP/1.1 
500 -

-- 
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/-/y5EBx1m4st0J.
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: App Engine getting slower and slower

2012-07-12 Thread Marcel Manz
After experimenting with various F1-F4 frontends, I meanwhile have migrated 
the workload of my app to public facing B1 backends, so it can be accessed 
remotely.

As you can see from the attached screenshot the latency has improved 
greatly compared to using frontends. I now have again approx 150ms latency 
compared to up to 1 second during the last days using frontends.

Not sure if this is because backends operate in a new / not so busy cluster 
or if simply the scheduler for backend traffic is handling it with less 
delay. It's obvious that there must be a difference.


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

attachment: backend_frontends.jpg

[google-appengine] Re: Task Guarantee?

2012-07-12 Thread pdknsk
Well this Travis Webb isn't a Googler, so I wouldn't put much stock
into his claim. I'm quite sure Google already has logic in place for
this, so any additional measures seem reduntant.

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



[google-appengine] JPA transactions and entity keys

2012-07-12 Thread Peter
Hi

I'm using JPA in my application. Yesterday I tried to delete some Entities 
with a same class in one transaction, but I got an exception which said 
that I can not do this in one transaction as they are in a different entity 
group. I thought If I persist two entities with the same class they will be 
in the same entity group, but now I know that they won't. 

The question is how can I persist two entities to be in the same group? 

My  entity looks like this:
@Entity
public class SomeEntity {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
protected Key key;

}

When I persist them the key is set automatically:
entityManager.persist(someEntityObject);

Deleting them:
... EntityManager em;
... ListSomeEntity toDelete;
EntityTransaction tx = em.getTransaction();
try {
tx.begin();

for (SomeEntity entity : toDelete) {

em.remove(entity);

} 

tx.commit();
} finally {
if (tx.isActive()) {
tx.rollback();
}
em.close();
}
I saw somehow I can set a parent key to the keys but I think in this way 
I'll loose the automatic id generation.
Is there a good way to resolve this problem?

Thanks,
Peter

-- 
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/-/Dd9uTFlIPYMJ.
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: App Engine getting slower and slower

2012-07-12 Thread alex
The scheduling is completely different for backends, and if you're using 
only one instance there's simply no autoscale scheduling. Requests are 
simply put into a waiting queue 'till the backend is free (or they time 
out). 

-- alex

On Thursday, July 12, 2012 2:29:52 PM UTC+2, Marcel Manz wrote:

 After experimenting with various F1-F4 frontends, I meanwhile have 
 migrated the workload of my app to public facing B1 backends, so it can be 
 accessed remotely.

 As you can see from the attached screenshot the latency has improved 
 greatly compared to using frontends. I now have again approx 150ms latency 
 compared to up to 1 second during the last days using frontends.

 Not sure if this is because backends operate in a new / not so busy 
 cluster or if simply the scheduler for backend traffic is handling it with 
 less delay. It's obvious that there must be a difference.




-- 
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/-/utc2-QSe4QYJ.
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 Guarantee?

2012-07-12 Thread Michael Hermus
I think that is from an old version of the documentation when the Task 
Queue was an experimental feature. The current version of documentation 
does not match (
https://developers.google.com/appengine/docs/java/taskqueue/overview-push). 
It says:

When implementing the code for tasks (as worker URLs within your app), it 
 is important to consider whether the task is 
 idempotenthttp://en.wikipedia.org/wiki/idempotent. 
 App Engine's Task Queue API is designed to only invoke a given task once; 
 however, it is possible in exceptional circumstances that a task may 
 execute multiple times (such as in the unlikely case of major system 
 failure). Thus, your code must ensure that there are no harmful 
 side-effects of repeated execution


I do not think you have to worry about tasks being lost or dropped (if used 
correctly).

On Thursday, July 12, 2012 12:17:07 AM UTC-4, Richard Arrano wrote:

 I also have not seen tasks fail to run, but I found this thread:
  

 http://stackoverflow.com/questions/5583813/google-app-engine-added-task-goes-missing
  
 Specifically, the part that says: Tasks are not guaranteed to be executed 
 in the order they arrive, and they are not guaranteed to be executed 
 exactly once. In some cases, a single task may be executed *more than 
 once or not at all*.
  
 I haven't seen the behavior myself, and perhaps the commenter is not 
 correct, but it occurred to me that I need to account for the 
 possibility. I believe I will have a status flag a la Per's 
 suggestion. Thanks!
  
 -Richard 


-- 
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/-/p9XOOb8YBlUJ.
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: Backend latency

2012-07-12 Thread Michael Hermus
Jeff: that does sound pretty awful. Is this issue limited to Python, or have 
you seen similar results with Java instances?

On Wednesday, July 11, 2012 8:10:14 PM UTC-4, Jeff Schnitzer wrote:
 I#39;ve been doing some load testing on Python27 frontends and backends
 and getting some fairly awful results.
 
 My test is a simple no-op that returns a 4-letter constant string.  I
 hit frontend (F1) and backend (B1) versions with ab -c 100.
 
 The frontend peaks at about 140 requests/sec per instance.  I#39;ve set
 the min latency to 15s to keep the # of instances to a minimum, which
 seems to work.  It never goes above 2 instances and one of them makes
 the 140 mark.  The admin instances page shows avg latency of 10-15ms.
 However, app logs show varying latency #s ranging from 30ms to 250ms.
 
 The backend (single instance) peaks under 80 requests/sec.  The
 admin/instances page shows avg latency of 100ms.  App logs show
 latencies of 3000-4000ms.
 
 Questions and observations:
 
 1) What does the avg latency # on admin/instances mean?  Presumably
 this is time spent executing my code and not time spent in the pending
 queue.  Except that no-ops don#39;t take 100ms to execute.  What else is
 part of that number?
 
 2) Request time in the app logs includes time spent waiting in the
 pending queue, right?  It#39;s the actual wall-clock time between when
 the request enters Google and leaves Google?
 
 3) Why are backends so abysmally slow?  If a backend is supposed to be
 *at all* useful for maintaining in-memory game state for more than
 five players, it needs to be able to process a high QPS rate.  That#39;s
 fine, a couple synchronized operations on an in-memory data structure
 are lightning fast - a couple ms.  But where does this mysterious
 100ms come from?  It destroys throughput.
 
 4) Try this exercise:  Deploy a frontend handler that does nothing but
 urlfetch to a backend no-op.  Run it.  It usually takes *hundreds* of
 milliseconds.  I#39;ve verified this with appstats.  Huh?  I can make
 urlfetches to Europe faster.
 
 Jeff

-- 
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/-/bvaCIDFy0IcJ.
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] Startup time exceeded...on F4?!

2012-07-12 Thread David Hardwick
Hello,

I realize there's been a lot of discussion on startup times exceeded on
this forum recently, but wanted needed to post this experience we had this
morning to keep the attention on this important issue.

We uploaded a point release of our app to a not-live version this morning
and, of course, we were going to click around on that instance to make sure
it's all kosher before making that version live.   The warm-up requests
for the not-live version were exceeding the deadline limit of 60s...
__and__we__are__on__F4s__!_!.

However, the LIVE version of the app crashed too, 500 server errors,
instance counts went to zero, all sorts of whacky stuff was seen in the
control panel.  All that happened to our LIVE version without when all we
did was upload another non-live version and hit it with a single
request...did I mention we were on F4s?  ;-)  Does the failure of any
instance to exceed the 60s limit take down all instances to include live
one?

We did a few things as quickly as possible since our live application was
down, so clearly we didn't have the time to take the scientific approach of
only changing one thing at a time and wait to see if it that did it.

We...
1. Switched from F4s to F2 (i figured if this would least get us on some
new servers/instances)
2. Increased max idle instances from 1 to 2 (with F4s running, I'm fine
with having just 1 idle instance and not at all happy about paying for 2
idle instances, so maybe we'll just increase this prior to deployments and
then back down again after the deployment succeeds until we know more)
3. Made the recently uploaded version live (hey, why not, the production
app was down for 10 minutes, so how much more harm could we do?)

We use GWT and Guice, we jar everything (as I have been paying attention to
this startup time discussions for quite some time now.  We are also
considering switching our Guice libraries to a non-AOP version as we saw
suggested in another blog since we just need the injection.

Any insight, and I'm all ears!  app_id=s~myflashpanel

Regards,
  -Hardwick

-- 

 *We make Google Apps even better.*

*David Hardwick*
*CTO*
david.hardw...@bettercloud.com

*Signature by Flashpanel http://flashpanel.com/*
 *See us in Mashable: Growing Up Google: How Cloud Computing Is Changing a
Generation http://mashable.com/2012/04/30/generation-growing-up-google/*

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



[google-appengine] Backends Questions

2012-07-12 Thread turbofrank
Hi everyone,

I've inherited an application built on GAE that has an abnormally high 
startup time due to intense processing to fill a local cache.  Standard GAE 
instances were not working for us, so we had to move to backends.  I have a 
couple of questions:

1) If our traffic spikes to levels higher than the backend can handle, does 
GAE do anything?  I've noticed during higher traffic, our instance being 
terminated often (_ah/stop).  This means 10-20 minutes while a new instance 
spins up, and our app is down.  Anyone else experiencing this?  I'm 
guessing I will need to put up more backends. :(

2) Is there any way to configure auto scaling of backends so that I don't 
have to pay for several instances just hanging around during low traffic 
hours?

Thank you,
Frank



-- 
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/-/1i43qtA9N_QJ.
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] Java Servlet giving 500 error when deployed, but works as localhost

2012-07-12 Thread Caskman

I'm just trying to make it say Hello, Udacity! but it returns this 

http://caskman.appspot.com/guestbook

I just followed the tutorial provided on the App Engine and every time I 
test it using localhost it works fine but when I deploy it I get a 500 
error.

Does anybody know what's wrong?

Thanks guys

-- 
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/-/5i2WBNUFT40J.
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] Using com.google.appengine.api.datastore.Query.CompositeFilterOperator generates java.lang.VerifyError at runtime

2012-07-12 Thread ArnM
Did anyone experience this? 

I was using query.addFilter(...) before. As this is deprecated now, I 
changed the code to use Query.FilterPredicate and 
Query.CompositeFilterOperator to construct my query on the fly. It 
compiles fine. But the run time throws java.lang.VerifyError for the class 
that uses it. 

Is this a bug? Am I missing something?  

-- 
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/-/sEczcZbo138J.
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: backend termination question

2012-07-12 Thread tdtsh
Hi.
Were there any progress?

I got the same situation.
when I'm running a loop to get the Query to the Datastore using the cursor, 
occurs occasionally.

Datastore query 

I'm using slim3 1.0.15, appengine java sdk 1.7.0, HRD.
backend instanse is B8.


2012年4月29日日曜日 22時16分54秒 UTC+9 Rishi Arora:

 Does anyone know what this means:
 *Process terminated because the backend took too long to shutdown*

 My backend is woken up every 90 minutes by a cron job and typically takes 
 30 minutes to complete.  Although sometimes this time can go up to 60 
 minutes.  The error above has occurred multiple times - sometimes 10-15 
 minutes into the processing.  Any ideas?



-- 
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/-/H2OBbG-ApDMJ.
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] paid email quota

2012-07-12 Thread Ben Chong
my paid app already cleared it's first charge, but the same 100 email quota 
persists. Please assist, thanks!

On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to successfully 
 clear a charge before the email quota is raised above 100 recipients, so 
 once your first charge is cleared you should be good to go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan jonathan.na...@gmail.com wrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1   $0.01/ 
 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled ???

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




 -- 

 Christina Ilvento | Google App Engine | cilve...@google.com |
  (650)-201-9399


  

-- 
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/-/RokaxVHbdqEJ.
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: Application is stuck on Activating Billing

2012-07-12 Thread wookee9
I am having this exact same issue.
And there seem to be several other posts complaining of similar problems

GAE: I've sent messages to you via every single form I could find. You 
haven't responded. I've tweeted you. You haven't responded. Now i'm here. 
I'm trying to GIVE YOU MY MONEY to get my app working, and you don't want 
to know. Unbelievably frustrating.

Please sort this issue out. It's a complete joke.


On Friday, 6 July 2012 22:28:11 UTC+1, EFCITMan wrote:

 I have a new application I built and I reached a free resource limit.  I 
 tried to enable billing and its stuck on Activating billing 


 Billing will be enabled as soon as the new billing administrator's 
 credit card has been authorized. It will take up to 15 minutes after 
 billing is enabled for quotas to be updated. *(You will be able to make 
 changes to your budget settings again once the outstanding payment is 
 processed.*
 *
 *
 *
 *
 The message has been there for 3 hours now.  I contacted the billing 
 department and they have not responded yet.

 I would love to fix this.  and use the GAE.  Any ideas?


-- 
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/-/Hr7HQmDLIO4J.
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] Java Servlet giving 500 error when deployed, but works as localhost

2012-07-12 Thread Shilendra Sharma
chack your java compiler use only jdk 1.6  for google app engine

On Thu, Jul 12, 2012 at 3:45 PM, Caskman cask...@gmail.com wrote:


 I'm just trying to make it say Hello, Udacity! but it returns this

 http://caskman.appspot.com/guestbook

 I just followed the tutorial provided on the App Engine and every time I
 test it using localhost it works fine but when I deploy it I get a 500
 error.

 Does anybody know what's wrong?

 Thanks guys

 --
 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/-/5i2WBNUFT40J.
 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.




-- 
Regards  Thanks
Shilendra Sharma
+919891343808
shilendra...@gmail.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-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] Renaming GAE application due to high replication migration

2012-07-12 Thread Diego Piccolo
Hi Everyone!

We're looking forward to migrate our app which is currently Master/Slave,
to a new one using high replication instead.

However, nowadays we have a bunch of end users accessing the current
address and would be a big problem to change it from user and product point
of view.

Is it possible to perform a request to migrate this app and keep the
original appId / name?
ps: we've searched the web and docs but even if we delete and try to
recreate a new one it says that the original name can't be used afterwards.

Thanks,
Diego Piccolo

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



[google-appengine] Re: Backends Questions

2012-07-12 Thread Kyle Finley
I don't have an answer for the auto scaling of backends, but maybe you 
could accomplish your task through a combination of Backends and Frontend 
instances. 

You says that the reason you were having issues with frontend instance was 
because of high startup time caused by intense processing. Would it 
possible to move the processing to the backend, but still have the frontend 
instance handle requests? You could have the backend do the processing, 
then whenever you need to startup a new frontend instance you could have it 
request the precomputed values from the backend. 

Just a thought.

- Kyle

On Thursday, July 12, 2012 12:42:04 PM UTC-5, turbofrank wrote:

 Hi everyone,

 I've inherited an application built on GAE that has an abnormally high 
 startup time due to intense processing to fill a local cache.  Standard GAE 
 instances were not working for us, so we had to move to backends.  I have a 
 couple of questions:

 1) If our traffic spikes to levels higher than the backend can handle, 
 does GAE do anything?  I've noticed during higher traffic, our instance 
 being terminated often (_ah/stop).  This means 10-20 minutes while a new 
 instance spins up, and our app is down.  Anyone else experiencing this? 
  I'm guessing I will need to put up more backends. :(

 2) Is there any way to configure auto scaling of backends so that I don't 
 have to pay for several instances just hanging around during low traffic 
 hours?

 Thank you,
 Frank





-- 
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/-/JheijFxAy_4J.
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: Renaming GAE application due to high replication migration

2012-07-12 Thread Simon Knott
Hi,

Have you read the H/R migration 
docshttps://developers.google.com/appengine/docs/adminconsole/migration? 
 The aliasing is part of the migration process - you can continue using the 
original appspot address if you wish, although in the background the H/R 
app will have a new ID (see the first Important block)

Cheers,
Simon

On Thursday, 12 July 2012 19:15:51 UTC+1, Diego Araujo wrote:

 Hi Everyone!

 We're looking forward to migrate our app which is currently Master/Slave, 
 to a new one using high replication instead. 

 However, nowadays we have a bunch of end users accessing the current 
 address and would be a big problem to change it from user and product point 
 of view.

 Is it possible to perform a request to migrate this app and keep the 
 original appId / name? 
 ps: we've searched the web and docs but even if we delete and try to 
 recreate a new one it says that the original name can't be used afterwards.

 Thanks,
 Diego Piccolo


-- 
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/-/6UJ9QrXqR0sJ.
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: App Engine getting slower and slower

2012-07-12 Thread Marcel Manz
I'm using more than 1 backend for redundancy reasons. I was also 
experimenting in addressing a specific backend directly, but couldn't 
notice any difference in latency compared to addressing the whole backend 
pool.

By using backends I now see log entries in the range of 20-30 ms for 
processing a request that is enqueued to the taskqueue compared up to 
several 100 milliseconds that were consumed (or kept in queue) on frontends.

Running the backend option I can now serve the load that required much more 
frontend instances (or at least that's what the scheduler thought would be 
required). The only downside is that there will be no unlimited autoscaling 
in place as with frontends.

Looking forward for GAE to fix the frontend issues, as latencies like these 
don't do the platform any good:

http://code.google.com/status/appengine/detail/serving-java/2012/07/11#ae-trust-detail-helloworld-get-java-latency



-- 
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/-/A5hbiZiO0lMJ.
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: Startup time exceeded...on F4?!

2012-07-12 Thread David Hardwick
Some additional observations and questions...

After reading this [Link 1] stack overflow article that mentioned an
issue with having your Max Idle count below 6, we started looking at
our warmup request on our staging environment because that app-id has
Idle Instances set to Auto-Auto, while production had specific values.

But...Where did all the /_ah/warmup requests go?  When doing a label
search for these staging environment logs [path:/_ah/warmup (doing a
label search)] we couldn't find any warmup request!!(yes, we have
warmup requests turned on)...we would just see the first cold-start
request would take around 15 seconds to load (F1) and 10 seconds to
load on (F2).

I even shut down every instance and hit the staging server again to
see if I could find a warmup request in the logs...nope.  Honestly, I
would rather have a user wait 10 seconds for the first request to that
server as opposed risking the warmup requests failing again.

Where did all the /_ah/warmup requests go?   More importantly, why
would we have such different times for warmup requests compared to
cold starts?  Shouldn't they be nearly identical?!

Rock on,
  -Hardwick

[Link 1] - 
http://stackoverflow.com/questions/9422698/ah-warmup-producing-harddeadlineexceedederror


On Jul 12, 12:26 pm, David Hardwick david.hardw...@bettercloud.com
wrote:
 Hello,

 I realize there's been a lot of discussion on startup times exceeded on
 this forum recently, but wanted needed to post this experience we had this
 morning to keep the attention on this important issue.

 We uploaded a point release of our app to a not-live version this morning
 and, of course, we were going to click around on that instance to make sure
 it's all kosher before making that version live.   The warm-up requests
 for the not-live version were exceeding the deadline limit of 60s...
 __and__we__are__on__F4s__!_!.

 However, the LIVE version of the app crashed too, 500 server errors,
 instance counts went to zero, all sorts of whacky stuff was seen in the
 control panel.  All that happened to our LIVE version without when all we
 did was upload another non-live version and hit it with a single
 request...did I mention we were on F4s?  ;-)  Does the failure of any
 instance to exceed the 60s limit take down all instances to include live
 one?

 We did a few things as quickly as possible since our live application was
 down, so clearly we didn't have the time to take the scientific approach of
 only changing one thing at a time and wait to see if it that did it.

 We...
 1. Switched from F4s to F2 (i figured if this would least get us on some
 new servers/instances)
 2. Increased max idle instances from 1 to 2 (with F4s running, I'm fine
 with having just 1 idle instance and not at all happy about paying for 2
 idle instances, so maybe we'll just increase this prior to deployments and
 then back down again after the deployment succeeds until we know more)
 3. Made the recently uploaded version live (hey, why not, the production
 app was down for 10 minutes, so how much more harm could we do?)

 We use GWT and Guice, we jar everything (as I have been paying attention to
 this startup time discussions for quite some time now.  We are also
 considering switching our Guice libraries to a non-AOP version as we saw
 suggested in another blog since we just need the injection.

 Any insight, and I'm all ears!  app_id=s~myflashpanel

 Regards,
   -Hardwick

 --

  *We make Google Apps even better.*

 *David Hardwick*
 *CTO*
 david.hardw...@bettercloud.com

 *Signature by Flashpanel http://flashpanel.com/*
  *See us in Mashable: Growing Up Google: How Cloud Computing Is Changing a
 Generation http://mashable.com/2012/04/30/generation-growing-up-google/*

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



[google-appengine] GAE Translation Localization Tools To Be Announced at OSCON

2012-07-12 Thread Brian
Hello everyone,

I am a long-time App Engine developer, and recently joined Gengo 
(www.gengo.com), a Tokyo/SF based translation technology company that 
offers highly automated professional translation via a web API.

We are exhibiting at OSCON (www.oscon.com) in Portland next week, and will 
be announcing several translation and localization tools, one of which is a 
gettext-like translation filter that works out of the box on App Engine, 
and enables you to develop multilingual applications, using machine and/or 
human translation as you see fit. We'll be releasing this as an open source 
tool on Github, so stay tuned.

If you're at OSCON and would like to learn more about us, visit us at booth 
P6 on Wednesday or Thursday.

Thanks,

Brian McConnell, Head of API Integration
Gengo 

-- 
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/-/g9hel-wNX6EJ.
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: Startup time exceeded...on F4?!

2012-07-12 Thread Tom Phillips
Interesting..I checked and I too have 100% of my loading requests on
user facing URLs instead of /_ah/warmup.

Warmup requests are enabled and Automatic-Automatic for both instance
sliders.

I used to see at least a decent percentage of loading requests on /_ah/
warmup, but haven't looked in quite a while.

/Tom

On Jul 12, 3:46 pm, David Hardwick david.hardw...@bettercloud.com
wrote:
 Some additional observations and questions...

 After reading this [Link 1] stack overflow article that mentioned an
 issue with having your Max Idle count below 6, we started looking at
 our warmup request on our staging environment because that app-id has
 Idle Instances set to Auto-Auto, while production had specific values.

 But...Where did all the /_ah/warmup requests go?  When doing a label
 search for these staging environment logs [path:/_ah/warmup (doing a
 label search)] we couldn't find any warmup request!!(yes, we have
 warmup requests turned on)...we would just see the first cold-start
 request would take around 15 seconds to load (F1) and 10 seconds to
 load on (F2).

 I even shut down every instance and hit the staging server again to
 see if I could find a warmup request in the logs...nope.  Honestly, I
 would rather have a user wait 10 seconds for the first request to that
 server as opposed risking the warmup requests failing again.

 Where did all the /_ah/warmup requests go?   More importantly, why
 would we have such different times for warmup requests compared to
 cold starts?  Shouldn't they be nearly identical?!

 Rock on,
   -Hardwick

 [Link 1] 
 -http://stackoverflow.com/questions/9422698/ah-warmup-producing-hardde...

 On Jul 12, 12:26 pm, David Hardwick david.hardw...@bettercloud.com
 wrote:







  Hello,

  I realize there's been a lot of discussion on startup times exceeded on
  this forum recently, but wanted needed to post this experience we had this
  morning to keep the attention on this important issue.

  We uploaded a point release of our app to a not-live version this morning
  and, of course, we were going to click around on that instance to make sure
  it's all kosher before making that version live.   The warm-up requests
  for the not-live version were exceeding the deadline limit of 60s...
  __and__we__are__on__F4s__!_!.

  However, the LIVE version of the app crashed too, 500 server errors,
  instance counts went to zero, all sorts of whacky stuff was seen in the
  control panel.  All that happened to our LIVE version without when all we
  did was upload another non-live version and hit it with a single
  request...did I mention we were on F4s?  ;-)  Does the failure of any
  instance to exceed the 60s limit take down all instances to include live
  one?

  We did a few things as quickly as possible since our live application was
  down, so clearly we didn't have the time to take the scientific approach of
  only changing one thing at a time and wait to see if it that did it.

  We...
  1. Switched from F4s to F2 (i figured if this would least get us on some
  new servers/instances)
  2. Increased max idle instances from 1 to 2 (with F4s running, I'm fine
  with having just 1 idle instance and not at all happy about paying for 2
  idle instances, so maybe we'll just increase this prior to deployments and
  then back down again after the deployment succeeds until we know more)
  3. Made the recently uploaded version live (hey, why not, the production
  app was down for 10 minutes, so how much more harm could we do?)

  We use GWT and Guice, we jar everything (as I have been paying attention to
  this startup time discussions for quite some time now.  We are also
  considering switching our Guice libraries to a non-AOP version as we saw
  suggested in another blog since we just need the injection.

  Any insight, and I'm all ears!  app_id=s~myflashpanel

  Regards,
    -Hardwick

  --

   *We make Google Apps even better.*

  *David Hardwick*
  *CTO*
  david.hardw...@bettercloud.com

  *Signature by Flashpanel http://flashpanel.com/*
   *See us in Mashable: Growing Up Google: How Cloud Computing Is Changing a
  Generation http://mashable.com/2012/04/30/generation-growing-up-google/*

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



Re: [google-appengine] paid email quota

2012-07-12 Thread Takashi Matsuo
Can you tell me your app-id?


On Thu, Jul 12, 2012 at 2:19 PM, Ben Chong b...@marketjs.com wrote:

 my paid app already cleared it's first charge, but the same 100 email
 quota persists. Please assist, thanks!


 On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to successfully
 clear a charge before the email quota is raised above 100 recipients, so
 once your first charge is cleared you should be good to go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan jonathan.na...@gmail.comwrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1   $0.01/
 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled ???

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




 --

 Christina Ilvento | Google App Engine | cilve...@google.com | (650)-**
 201-9399


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

 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.




-- 
Takashi Matsuo

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



Re: [google-appengine] Re: Application is stuck on Activating Billing

2012-07-12 Thread Takashi Matsuo
If you have some issues related to the billing, please read our FAQ first:
https://developers.google.com/appengine/kb/billing

and if this does not help please fill out this form:
http://support.google.com/code/bin/request.py?hl=encontact_type=cloud_platform_billingrd=1

wookee9, sorry for the frustration, but have you already submitted via the
above form? This form should work fine.

If it didn't work, can you tell me your app-id?

-- Takashi


On Thu, Jul 12, 2012 at 10:47 AM, wookee9 wrho...@gmail.com wrote:

 I am having this exact same issue.
 And there seem to be several other posts complaining of similar problems

 GAE: I've sent messages to you via every single form I could find. You
 haven't responded. I've tweeted you. You haven't responded. Now i'm here.
 I'm trying to GIVE YOU MY MONEY to get my app working, and you don't want
 to know. Unbelievably frustrating.

 Please sort this issue out. It's a complete joke.


 On Friday, 6 July 2012 22:28:11 UTC+1, EFCITMan wrote:

 I have a new application I built and I reached a free resource limit.  I
 tried to enable billing and its stuck on Activating billing


 Billing will be enabled as soon as the new billing administrator's
 credit card has been authorized. It will take up to 15 minutes after
 billing is enabled for quotas to be updated. *(You will be able to make
 changes to your budget settings again once the outstanding payment is
 processed.*
 *
 *
 *
 *
 The message has been there for 3 hours now.  I contacted the billing
 department and they have not responded yet.

 I would love to fix this.  and use the GAE.  Any ideas?

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

 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.




-- 
Takashi Matsuo

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



Re: [google-appengine] paid email quota

2012-07-12 Thread Ben Chong
hi,

app id is *market-js*

On Thu, Jul 12, 2012 at 5:48 PM, Takashi Matsuo tmat...@google.com wrote:

 Can you tell me your app-id?


 On Thu, Jul 12, 2012 at 2:19 PM, Ben Chong b...@marketjs.com wrote:

 my paid app already cleared it's first charge, but the same 100 email
 quota persists. Please assist, thanks!


 On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to successfully
 clear a charge before the email quota is raised above 100 recipients, so
 once your first charge is cleared you should be good to go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan jonathan.na...@gmail.comwrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1   $0.01/
 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled ???

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




 --

 Christina Ilvento | Google App Engine | cilve...@google.com | (650)-**
 201-9399


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

 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.




 --
 Takashi Matsuo

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




-- 
best,


Ben Chong
marketJS.com
skype:  fooyee24

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



Re: [google-appengine] paid email quota

2012-07-12 Thread Takashi Matsuo
Ben, actually our support team has started working on your case, so your
app will be ok soon.


On Fri, Jul 13, 2012 at 6:14 AM, Ben Chong b...@marketjs.com wrote:

 hi,

 app id is *market-js*


 On Thu, Jul 12, 2012 at 5:48 PM, Takashi Matsuo tmat...@google.comwrote:

 Can you tell me your app-id?


 On Thu, Jul 12, 2012 at 2:19 PM, Ben Chong b...@marketjs.com wrote:

 my paid app already cleared it's first charge, but the same 100 email
 quota persists. Please assist, thanks!


 On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to successfully
 clear a charge before the email quota is raised above 100 recipients, so
 once your first charge is cleared you should be good to go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan jonathan.na...@gmail.comwrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1
 $0.01/ 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled ???

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




 --

 Christina Ilvento | Google App Engine | cilve...@google.com | (650)-**
 201-9399


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

 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.




 --
 Takashi Matsuo

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




 --
 best,


 Ben Chong
 marketJS.com
 skype:  fooyee24

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




-- 
Takashi Matsuo

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



Re: [google-appengine] paid email quota

2012-07-12 Thread Ben Chong
hi Takashi,

looking forward to it

another question

Christina told me that every time a credit card charge fails, appengine
automatically sets the limit back to 100 emails. It's kind of risky for my
app, considering how sometimes credit card charges get denied.

Can this be lifted if I own a premier account? I'd do anything to make sure
the app runs smoothly for my users


On Thu, Jul 12, 2012 at 6:51 PM, Takashi Matsuo tmat...@google.com wrote:


 Ben, actually our support team has started working on your case, so your
 app will be ok soon.


 On Fri, Jul 13, 2012 at 6:14 AM, Ben Chong b...@marketjs.com wrote:

 hi,

 app id is *market-js*


 On Thu, Jul 12, 2012 at 5:48 PM, Takashi Matsuo tmat...@google.comwrote:

 Can you tell me your app-id?


 On Thu, Jul 12, 2012 at 2:19 PM, Ben Chong b...@marketjs.com wrote:

 my paid app already cleared it's first charge, but the same 100 email
 quota persists. Please assist, thanks!


 On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to successfully
 clear a charge before the email quota is raised above 100 recipients, so
 once your first charge is cleared you should be good to go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan jonathan.na...@gmail.comwrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1
 $0.01/ 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled ???

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




 --

 Christina Ilvento | Google App Engine | cilve...@google.com | (650)-**
 201-9399


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

 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.




 --
 Takashi Matsuo

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




 --
 best,


 Ben Chong
 marketJS.com
 skype:  fooyee24

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




 --
 Takashi Matsuo

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




-- 
best,


Ben Chong
marketJS.com
skype:  fooyee24

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



Re: [google-appengine] GAE Translation Localization Tools To Be Announced at OSCON

2012-07-12 Thread Takashi Matsuo
Hi Brian,

On Fri, Jul 13, 2012 at 4:40 AM, Brian bsmcconn...@gmail.com wrote:

 Hello everyone,

 I am a long-time App Engine developer, and recently joined Gengo (
 www.gengo.com), a Tokyo/SF based translation technology company that
 offers highly automated professional translation via a web API.

 We are exhibiting at OSCON (www.oscon.com) in Portland next week, and
 will be announcing several translation and localization tools, one of which
 is a gettext-like translation filter that works out of the box on App
 Engine, and enables you to develop multilingual applications, using machine
 and/or human translation as you see fit. We'll be releasing this as an open
 source tool on Github, so stay tuned.

 If you're at OSCON and would like to learn more about us, visit us at
 booth P6 on Wednesday or Thursday.


Thanks for telling me about this. I'm interested in this open source tool
very much, but unfortunately I won't be around Portland next week. Can you
follow-up with that tool here as well?

-- Takashi



 Thanks,

 Brian McConnell, Head of API Integration
 Gengo

 --
 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/-/g9hel-wNX6EJ.
 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.




-- 
Takashi Matsuo

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



Re: [google-appengine] paid email quota

2012-07-12 Thread Takashi Matsuo
On Fri, Jul 13, 2012 at 6:59 AM, Ben Chong b...@marketjs.com wrote:

 hi Takashi,

 looking forward to it

 another question

 Christina told me that every time a credit card charge fails, appengine
 automatically sets the limit back to 100 emails. It's kind of risky for my
 app, considering how sometimes credit card charges get denied.

 Can this be lifted if I own a premier account? I'd do anything to make
 sure the app runs smoothly for my users


I'm not sure we can bump up that quota with premier apps, but for premier
apps, we won't charge to your credit card, we will send you offline bills,
so at least you don't worry about credit card companies' decisions any
more.




 On Thu, Jul 12, 2012 at 6:51 PM, Takashi Matsuo tmat...@google.comwrote:


 Ben, actually our support team has started working on your case, so your
 app will be ok soon.


 On Fri, Jul 13, 2012 at 6:14 AM, Ben Chong b...@marketjs.com wrote:

 hi,

 app id is *market-js*


 On Thu, Jul 12, 2012 at 5:48 PM, Takashi Matsuo tmat...@google.comwrote:

 Can you tell me your app-id?


 On Thu, Jul 12, 2012 at 2:19 PM, Ben Chong b...@marketjs.com wrote:

 my paid app already cleared it's first charge, but the same 100 email
 quota persists. Please assist, thanks!


 On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to
 successfully clear a charge before the email quota is raised above 100
 recipients, so once your first charge is cleared you should be good to 
 go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan jonathan.na...@gmail.comwrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1
 $0.01/ 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled ???

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




 --

 Christina Ilvento | Google App Engine | cilve...@google.com | (650)-*
 *201-9399


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

 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.




 --
 Takashi Matsuo

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




 --
 best,


 Ben Chong
 marketJS.com
 skype:  fooyee24

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




 --
 Takashi Matsuo

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




 --
 best,


 Ben Chong
 marketJS.com
 skype:  fooyee24

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




-- 
Takashi Matsuo

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

Re: [google-appengine] paid email quota

2012-07-12 Thread Ben Chong
that sounds sense, offline bills might do the trick

i'll wait for the app to get fixed before i contact sales again. it's still
broken atm

On Thu, Jul 12, 2012 at 7:07 PM, Takashi Matsuo tmat...@google.com wrote:

 On Fri, Jul 13, 2012 at 6:59 AM, Ben Chong b...@marketjs.com wrote:

 hi Takashi,

 looking forward to it

 another question

 Christina told me that every time a credit card charge fails, appengine
 automatically sets the limit back to 100 emails. It's kind of risky for my
 app, considering how sometimes credit card charges get denied.

 Can this be lifted if I own a premier account? I'd do anything to make
 sure the app runs smoothly for my users


 I'm not sure we can bump up that quota with premier apps, but for premier
 apps, we won't charge to your credit card, we will send you offline bills,
 so at least you don't worry about credit card companies' decisions any
 more.




 On Thu, Jul 12, 2012 at 6:51 PM, Takashi Matsuo tmat...@google.comwrote:


 Ben, actually our support team has started working on your case, so your
 app will be ok soon.


 On Fri, Jul 13, 2012 at 6:14 AM, Ben Chong b...@marketjs.com wrote:

 hi,

 app id is *market-js*


 On Thu, Jul 12, 2012 at 5:48 PM, Takashi Matsuo tmat...@google.comwrote:

 Can you tell me your app-id?


 On Thu, Jul 12, 2012 at 2:19 PM, Ben Chong b...@marketjs.com wrote:

 my paid app already cleared it's first charge, but the same 100 email
 quota persists. Please assist, thanks!


 On Monday, March 12, 2012 3:38:47 PM UTC-3, Christina Ilvento wrote:

 Hi,

 We recently made a change that requires an application to
 successfully clear a charge before the email quota is raised above 100
 recipients, so once your first charge is cleared you should be good to 
 go.

 On Fri, Mar 9, 2012 at 7:42 AM, Jonathan 
 jonathan.na...@gmail.comwrote:

 Could you please tell me how to enable the paid email

 My Max Daily Budget is $10.00

 The email was blocked after 100 recipients

 It says:
 Recipients Emailed   100%100 of 100  1
 $0.01/ 100 Recipients   $0.01
 Resource is currently experiencing a short-term quota limit.

 The short term is actually endless. After the daily reset I have 100
 emails again and that's it.

 How to unblock the 100 limit for app with Billing Status: Enabled
 ???

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




 --

 Christina Ilvento | Google App Engine | cilve...@google.com | (650)-
 **201-9399


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

 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.




 --
 Takashi Matsuo

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




 --
 best,


 Ben Chong
 marketJS.com
 skype:  fooyee24

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




 --
 Takashi Matsuo

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




 --
 best,


 Ben Chong
 marketJS.com
 skype:  fooyee24

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

Re: [google-appengine] Re: Backend latency

2012-07-12 Thread Jeff Schnitzer
I haven't tried Java or Go instances yet.  If I get some time next
week I will run the same test.

BTW random note:  With appstats turned on (for the no-op request), it
cut throughput about in half.  F1 frontends peaked around 70qps, B1
backends peaked under 30qps.  I presume this is caused by the memcache
put.

Jeff

On Thu, Jul 12, 2012 at 9:14 AM, Michael Hermus
michael.her...@gmail.com wrote:
 Jeff: that does sound pretty awful. Is this issue limited to Python, or have 
 you seen similar results with Java instances?

 On Wednesday, July 11, 2012 8:10:14 PM UTC-4, Jeff Schnitzer wrote:
 I#39;ve been doing some load testing on Python27 frontends and backends
 and getting some fairly awful results.

 My test is a simple no-op that returns a 4-letter constant string.  I
 hit frontend (F1) and backend (B1) versions with ab -c 100.

 The frontend peaks at about 140 requests/sec per instance.  I#39;ve set
 the min latency to 15s to keep the # of instances to a minimum, which
 seems to work.  It never goes above 2 instances and one of them makes
 the 140 mark.  The admin instances page shows avg latency of 10-15ms.
 However, app logs show varying latency #s ranging from 30ms to 250ms.

 The backend (single instance) peaks under 80 requests/sec.  The
 admin/instances page shows avg latency of 100ms.  App logs show
 latencies of 3000-4000ms.

 Questions and observations:

 1) What does the avg latency # on admin/instances mean?  Presumably
 this is time spent executing my code and not time spent in the pending
 queue.  Except that no-ops don#39;t take 100ms to execute.  What else is
 part of that number?

 2) Request time in the app logs includes time spent waiting in the
 pending queue, right?  It#39;s the actual wall-clock time between when
 the request enters Google and leaves Google?

 3) Why are backends so abysmally slow?  If a backend is supposed to be
 *at all* useful for maintaining in-memory game state for more than
 five players, it needs to be able to process a high QPS rate.  That#39;s
 fine, a couple synchronized operations on an in-memory data structure
 are lightning fast - a couple ms.  But where does this mysterious
 100ms come from?  It destroys throughput.

 4) Try this exercise:  Deploy a frontend handler that does nothing but
 urlfetch to a backend no-op.  Run it.  It usually takes *hundreds* of
 milliseconds.  I#39;ve verified this with appstats.  Huh?  I can make
 urlfetches to Europe faster.

 Jeff

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


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



[google-appengine] Want help developing your GAE app?

2012-07-12 Thread Jeff Schnitzer
Want help developing or optimizing your GAE app?  I'm available for up
to two months, possibly on a limited basis afterwards.

You can search this group or the Objectify group
(https://groups.google.com/forum/?fromgroups#!forum/objectify-appengine)
for my comments, or check out various projects I've built on GAE over
the last three years:

 * https://www.voo.st/, my current startup.  Java+Coffeescript
 * http://www.similarity.com/, Java+GWT
 * http://www.mobca.st/, Java+GWT+iPhone client
 * http://www.eodsoft.com/ 's analytics and reporting backend.  Python
backend with custom Java push notification server, handles millions of
users and sends millions of push notifications each month.
 * Python-based backends for data recording and reporting (an oil
well, a curing cabinet).
 * https://objectify-appengine.googlecode.com/
 * https://batchfb.googlecode.com/

There are more but they aren't public yet.

My startup is somewhat seasonal and coming up on a lull.  I'm not
looking for permanent employment, but I'm open to working onsite and
possibly even travel if you are outside the Bay Area.  I would also
consider short term consulting if you just want help with a specific
issue - not even necessarily a GAE issue.  I have a lot of experience
with maps (google and OSM), facebook integration, browserid, openid,
smtp, olap, and bazillions of other acronyms that I've collected over
the last 20 years.

If interested, please reply offline.

Thanks,
Jeff

P.S.  I'll give a super special discount to anyone interested in using
http://ceylon-lang.org/ for a real-world app.

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



Re: [google-appengine] GAE Translation Localization Tools To Be Announced at OSCON

2012-07-12 Thread Brian McConnell
Takashi,

Yes, we will definitely post a link to the project in this forum. When we 
release it, it will be a public repo on github.

Brian

On Jul 12, 2012, at 3:00 PM, Takashi Matsuo wrote:

 Hi Brian,
 
 On Fri, Jul 13, 2012 at 4:40 AM, Brian bsmcconn...@gmail.com wrote:
 Hello everyone,
 
 I am a long-time App Engine developer, and recently joined Gengo 
 (www.gengo.com), a Tokyo/SF based translation technology company that offers 
 highly automated professional translation via a web API.
 
 We are exhibiting at OSCON (www.oscon.com) in Portland next week, and will be 
 announcing several translation and localization tools, one of which is a 
 gettext-like translation filter that works out of the box on App Engine, and 
 enables you to develop multilingual applications, using machine and/or human 
 translation as you see fit. We'll be releasing this as an open source tool on 
 Github, so stay tuned.
 
 If you're at OSCON and would like to learn more about us, visit us at booth 
 P6 on Wednesday or Thursday.
 
 Thanks for telling me about this. I'm interested in this open source tool 
 very much, but unfortunately I won't be around Portland next week. Can you 
 follow-up with that tool here as well?
 
 -- Takashi
  
 
 Thanks,
 
 Brian McConnell, Head of API Integration
 Gengo 
 
 -- 
 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/-/g9hel-wNX6EJ.
 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.
 
 
 
 -- 
 Takashi Matsuo
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: App Engine getting slower and slower

2012-07-12 Thread Brandon Thomson


 By using backends I now see log entries in the range of 20-30 ms for 
 processing a request that is enqueued to the taskqueue compared up to 
 several 100 milliseconds that were consumed (or kept in queue) on frontends.


Impressive, thanks very much for posting your results.

Did you happen to verify the improved latency is seen externally to app 
engine, too?

I ask because I know the log entry ms value includes time waiting in the 
dispatch queue when frontends are used, but I haven't verified whether it's 
included when backends are used.

-- 
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/-/6TyxVeKKorcJ.
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: Renaming GAE application due to high replication migration

2012-07-12 Thread Santi
Diego, 

We just migrated last week to HRD and it's not possible to keep the same 
application ID / name. You must create a new name. DONT WORRY the old 
application will redirect all requests to the new one. You don't have to 
change any links.

cheers,

Santiago

On Thursday, July 12, 2012 4:17:55 PM UTC-3, Simon Knott wrote:

 Hi,

 Have you read the H/R migration 
 docshttps://developers.google.com/appengine/docs/adminconsole/migration? 
  The aliasing is part of the migration process - you can continue using the 
 original appspot address if you wish, although in the background the H/R 
 app will have a new ID (see the first Important block)

 Cheers,
 Simon

 On Thursday, 12 July 2012 19:15:51 UTC+1, Diego Araujo wrote:

 Hi Everyone!

 We're looking forward to migrate our app which is currently Master/Slave, 
 to a new one using high replication instead. 

 However, nowadays we have a bunch of end users accessing the current 
 address and would be a big problem to change it from user and product point 
 of view.

 Is it possible to perform a request to migrate this app and keep the 
 original appId / name? 
 ps: we've searched the web and docs but even if we delete and try to 
 recreate a new one it says that the original name can't be used afterwards.

 Thanks,
 Diego Piccolo



-- 
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/-/UBX2SbZgoJ4J.
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: managing bulk emails from app engine app

2012-07-12 Thread Vivek Kumar
Hie Jeff

Which thrid party system do you guys use? please share the details like how 
u r using their service to send emails from your gae app

Vik

On Sunday, 8 July 2012 09:13:15 UTC-7, Jeff Schnitzer wrote:

 I should add that we also use a third-party email system.  Ultimately 
 it's no harder to make a REST call to an external service than to make 
 a call to MailService, and many services offer a much more robust 
 solution.  GAE's mail system has silly limitations like the inability 
 to send emails with inline (Content-ID) image attachments. 

 Just make sure that your 'unit of work' is the same as a single 
 urlfetch.  You wouldn't want to put 100 REST calls in a single task - 
 imagine it failed at #50, then the whole task will retry and re-spam 
 #1-#49.  If your mail service does send this message to these 100 
 people, great; otherwise stick to one-email-per-task.  We do 
 one-email-per-task. 

 Jeff 

 On Sun, Jul 8, 2012 at 8:57 AM, Richard Watson richard.wat...@gmail.com 
 wrote: 
  Offload both transactional and bulk email to a 3rd-party email 
 specialist. 
  It's their core competence, and you're likely to be able to send bulk 
 email 
  with one api call once your list is set up.  If you have issues you'll 
 have 
  better insight into what those are.  You can get delivery and read 
 reports, 
  and automatic remove-me-from-your-list handling. 
  
  
  On Sunday, July 8, 2012 5:27:04 PM UTC+2, Per wrote: 
  
  Hi Vik, 
  
  technical details aside, keep in mind that the spam filter settings on 
 App 
  Engine can be pretty strict. We have been sending mails for 18 months 
 now, 
  increasing the number gradually, and we also used DKIM signing. Still, 
  suddenly some time last week our mails stopped getting sent. From all I 
 can 
  tell some Google mechanism decided that we're a spammer. We have 
 inquired 
  with Google instantly, but of course the GAE customer service is poor 
 as 
  always and never got back to us. So we switched to an external email 
  provider now (mailgun, but there are dozens out there), and I'm quite 
 happy 
  with that, since tracking of emails is a lot more convenient too. It's 
 not 
  free though. 
  
  Long story short, if you all of a sudden send 10k mails, be prepared to 
  get filtered by Google because they think you're a spammer. Make sure 
 to 
  spread the load, and track what you have sent already, so you know what 
  you'd need to resend if push comes to shove. 
  
  Cheers, 
  Per 
  
  
  On Saturday, July 7, 2012 7:19:12 PM UTC+2, Vivek Kumar wrote: 
  
  Hello 
  
  We have around 1 registered users with us who are blood donors. We 
  want to send them periodic emails like every month to remind them or 
 their 
  account status etc. 
  Obviously, a single request cannot process so many emails. 
  
  So, what is the suggested way to handle this use case without hitting 
  request time limits etc on app engine? 
  
  our app is in GAE for java 
  
  Vik 
  
  -- 
  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/-/m4NlskwCrF8J. 
  
  To post to this group, send email to google-appengine@googlegroups.com. 
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com. 
  For more options, visit this group at 
  http://groups.google.com/group/google-appengine?hl=en. 


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/50oA3PksnIUJ.
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] building a referral system

2012-07-12 Thread Vivek Kumar
Hello

We are a non profit working in india to connect blood donors with people in 
need of blood. 


We want to build some sort of referral system for blood donors on their 
activity like registering,inviting friends, posting on social media. 
Our app is built using gwt + gae for java. 

Any advice on how this can be done by building the whole infrastructure on 
our own or using some 3rd party service

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