[google-appengine] country code header in bottle app running on google app engine
Hi, i'm running bottle app on GAE and i want to capture country code using X-AppEngine-Country. This header seems to be unavailable in bottle requests. Is there any alternate method to get country code? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/3gkA5G2Qz3EJ. 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: Taskqueue execution latency up by 1000x
Can someone from Google please respond to this issue? The execution latency issue exists now for more than 48 hours and still no word or alerts about it. Can Google please allocate more human resources in order to communicate better? This is a business oriented service and such lack of communication must just not happen. And we don't care if such issues happen on weekends, App Engine needs to be stable 24/7. - Marcel -- 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/-/GP59rYa-8LEJ. 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] DotNet client and Java Appengine
Hello, I would like to make communication to my java appengine application from a Dotnet client. My appengine application uses standard UserService API on the appengine server for login and authentication purpose. How can a DotNet client authenticate with appengine appID? How can I get some data into the Dotnet client from my appengine application? What are the recommended protocols and API for this? Regards -Aswath www.AccountingGuru.in -- 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] Backend performance, compared
I can independently verify that the extremely poor (and inconsistent) performance from Backends hasn't improved. A very similar test server (collects stats in memory) on a B8 in its own Application can only handle about ~50 req/sec. I tried hand-delivering the responses to the computers but the Backend was slightly faster. I am currently battling Enterprise Support to get a straight answer; so far I've been repeatedly told to run App Stats against a 15-line, Go-based server that performs no RPCs. Beyond that, it's generally recommended to use Pull Queues over relying on direct requests to a Backend. I'm not sure why a whole layer of indirection on top of HTTP would be *faster* than raw requests but I've experienced stranger things on AppEngine. FWIW, I haven't noticed any task latency regarding Pull Queues and they seem to have fixed the bug that prevented leasing from the same queue in parallel. Though you would still need to tolerate frequent false negatives (lease returns 0 tasks when tasks exist) and TransientErrors. Cheers, Tom Jeff Schnitzer writes: > On Wed, Aug 15, 2012 at 2:07 AM, Johan Euphrosine wrote: >> >> I was referring to the 2000+ qps benchmark result you posted at the >> beginning of this thread, it's difficult to compare those with backend >> QPS if those are coming from running ab against localhost. >> >> It could be interesting to check what QPS you get when running ab >> against App Engine frontend urlfetching to your VPS, so we can compare >> with App Engine Backend and Compute. > > I'll try running some more tests when I get some time, but I don't see > why I would expect any different results. I might expect better > results if 'ab' isn't competing with node for CPU resources. The only > practical difference of moving 'ab' off localhost is whether the > network card driver on the VPS server is dramatically less efficient > than the loopback driver. Maybe it is, but it's likely insignificant > compared to the work done at higher levels of the network stack (like, > say, decoding http in javascript). > > This assumes that an unrestricted number of GAE frontends can pass > through any amount of load I am capable of generating, which I take > for granted. > > Jeff -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] Google app engine site indexing issue
Hi, I have an issue with indexing my GAE site by Yandex. Almost half a year it can't index the pages. Yeasterday I have got an answer regarding this from Yandex - "there are to much sites hosted on IP address 74.125.143.121 (ghs.google.com) and our robots can't manage to index them all !!!) It is very pity for me, Google indexes my site very well. Is there any solution for this, may be it is posiible to buy addiotoinal IP address and assign it to my google apps domain somehow ? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Bq0oIAGyVwYJ. 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: Sending emails from gae using mailgun
Do any of these email services offer template based emails, where the marketing department can control the copy with some ${thisIsAVariable} inserts into the copy, and the development team just needs to send over the variables to the email? ExactTarget has this but I was just curious if others had any other Vendors that also provide this feature. That way the marketing team can test different copy in the subject and body to increase conversion rates on opening and clicking through without requiring a deployment to update the email template buried in the code. Rock on, -Hardwick On Friday, November 9, 2012 4:30:46 PM UTC-5, Emmanuel Mayssat wrote: > > I am writing an app that requires email to be sent (notifications) > I am contemplating using mailgun as a service. > > 1/ I s there a email web service you recommended? > > I can send emails through mailgun using the 'request' python module > > def send_simple_message(): > data = {"from": "Excited User > >", > "to": ["t...@gmail.com ", > "to...@outlook.com"], > # > "subject": "[https] Hello Mama (REQUEST)", > "text": "Testing some Mailgun awesomness!"} > return requests.post( > mailgun_url, > auth = HTTPBasicAuth(username, password), > # <-- or simply auth=(username, password) > data = data ) > > I can also send emails from the shell using urllib2 (More complex because > of https) > > Cutting and pasting my urllib2 code in my gae app doesn't report any error > or anything else > > 2/ Can email be send when using the local gae server or the app have to be > fully deployed? > > 3/ Is there a way to send emails through google app engine? (including for > users that do not have gmail accounts) > > 4/ I cannot make sense of the gae policy as far as sending emails > What are administrator password? > Where are the administrator accounts? > My domain is not hosted on gae. > I am just using gae for test right now. > > Regards > > > > -- 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/-/2VU9HsHY4ZwJ. 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: Taskqueue execution latency up by 1000x
The system seems to be returning to normal after 60 hours of 60,000 - 120,000 ms latency in taskqueue execution instead of 60 - 120 ms. I am surprised users were not more vocal about this and no acknowledgement / explanation from Google. Maybe people don't use taskqueues the way I use them - process some data on a taskqueue and then push it back to the UI. For this period of increased latency my users were getting their asynchronous data back in the UI one to two minutes after they had submitted it instead of the usual less than two seconds. I imagine App Engine uses taskqueues as a way of smoothing out server traffic as they can stack them when load is high and run them when it is low and for the last 60 hours load has been continually high... On Monday, November 12, 2012 12:00:19 PM UTC, Marcel Manz wrote: > > Can someone from Google please respond to this issue? > > The execution latency issue exists now for more than 48 hours and still no > word or alerts about it. Can Google please allocate more human resources in > order to communicate better? This is a business oriented service and such > lack of communication must just not happen. And we don't care if such > issues happen on weekends, App Engine needs to be stable 24/7. > > - Marcel > -- 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/-/zlYWQaOKJVEJ. 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: Sending emails from gae using mailgun
I would say mailgun can do that! Since you send the text of the email in the http request. 1 generate the content of that email using a template (jinja2) locally (on gae) and send it to mailgun (or other) ! Simple! Have a look at t = jinja_env.get_template(template) email_content = t.render() Now the problem I have is sending emails asynchronously. Can anyone send me some code to do this? (I saw some come about RPC and am wondering what to do with the callback, when I don't really need it , etc..) REgards, -- E On Mon, Nov 12, 2012 at 11:45 AM, David Hardwick < david.hardw...@bettercloud.com> wrote: > Do any of these email services offer template based emails, where the > marketing department can control the copy with some ${thisIsAVariable} > inserts into the copy, and the development team just needs to send over the > variables to the email? > > ExactTarget has this but I was just curious if others had any other > Vendors that also provide this feature. That way the marketing team can > test different copy in the subject and body to increase conversion rates on > opening and clicking through without requiring a deployment to update the > email template buried in the code. > > Rock on, > -Hardwick > > > > On Friday, November 9, 2012 4:30:46 PM UTC-5, Emmanuel Mayssat wrote: > >> I am writing an app that requires email to be sent (notifications) >> I am contemplating using mailgun as a service. >> >> 1/ I s there a email web service you recommended? >> >> I can send emails through mailgun using the 'request' python module >> >> def send_simple_message(): >> data = {"from": "Excited User ", >> "to": ["t...@gmail.com", "to...@outlook.com"], >> # >> "subject": "[https] Hello Mama (REQUEST)", >> "text": "Testing some Mailgun awesomness!"} >> return requests.post( >> mailgun_url, >> auth = HTTPBasicAuth(username, password), >> # <-- or simply auth=(username, password) >> data = data ) >> >> I can also send emails from the shell using urllib2 (More complex because >> of https) >> >> Cutting and pasting my urllib2 code in my gae app doesn't report any >> error or anything else >> >> 2/ Can email be send when using the local gae server or the app have to >> be fully deployed? >> >> 3/ Is there a way to send emails through google app engine? (including >> for users that do not have gmail accounts) >> >> 4/ I cannot make sense of the gae policy as far as sending emails >> What are administrator password? >> Where are the administrator accounts? >> My domain is not hosted on gae. >> I am just using gae for test right now. >> >> Regards >> >> >> >> -- > 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/-/2VU9HsHY4ZwJ. > > 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: Google app engine site indexing issue
Thanks, it seems as exactly I am looking for. On Monday, November 12, 2012 8:33:51 PM UTC+4, Polevi wrote: > > Hi, > I have an issue with indexing my GAE site by Yandex. Almost half a year it > can't index the pages. > Yeasterday I have got an answer regarding this from Yandex - "there are to > much sites hosted on IP address 74.125.143.121 (ghs.google.com) and our > robots can't manage to index them all !!!) > It is very pity for me, Google indexes my site very well. > Is there any solution for this, may be it is posiible to buy addiotoinal > IP address and assign it to my google apps domain somehow ? > Thanks in advance. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/fKU5ZaksuOEJ. 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.