[appengine-java] singleton in gae different instance

2011-12-23 Thread Luke
Yes, i understand gae autoscale by increasing more instances of servers. i would like to understand singleton run on different gae instance (cluster) . let say we have userA on instanceA, set a variable on the sigleton java class. Question: will userB in instanceB able to see the variable see by

[appengine-java] Re: singleton in gae different instance

2011-12-23 Thread Luke
yes i awared memcache and do this. beside memcache is there any other way? i though is memcache has tendency to go down out of service as well. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

[appengine-java] Re: singleton in gae different instance

2011-12-23 Thread Simon Knott
Hi, Your best bet is the datastore, as this is probably the most reliable shared service. You could potentially share state in a backend server, but these too have a tendency to go down. Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: singleton in gae different instance

2011-12-23 Thread Rick Mangi
Yes, the datastore is the best place to store application state that doesn't change very frequently. Load the sate into a singleton on each instance. The problem with memcache is that you have no control over the eviction policy so your object could vanish. On Dec 23, 5:23 am, Simon Knott

[appengine-java] Re: Messages received while reconnecting a channel

2011-12-23 Thread Kyle Baley
Is this topic covered in the documentation or some other obvious place that I've missed? Or have I totally misunderstood how the Channel API works? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web

Re: [google-appengine] GAE for web shop

2011-12-23 Thread Niklas Rosencrantz
Thanks a lot for the positive and detailed info! If you don't mind I will get back to this topic when we have proceeded as far as actually getting to work on connecting to an accounting system and paypal and credit card transactions. So far I did the web-based system with CSS, python and HTML

Re: [google-appengine] GAE for web shop

2011-12-23 Thread Jeff Schnitzer
You will discover that Paypal's API, documentation, and support is a trainwreck. If you're in the US, you may wish to consider WePay or Stripe instead. Jeff On Fri, Dec 23, 2011 at 2:04 AM, Niklas Rosencrantz nikla...@gmail.com wrote: Thanks a lot for the positive and detailed info! If you

RE: [google-appengine] GAE for web shop

2011-12-23 Thread Brandon Wirtz
We found we got 18% higher conversion rate by simply putting the Pay with Paypal logo on our sites That makes a pretty compelling case for using PayPal... Allowing payment with Google wallet lets you have the Shopping cart logo in your Adwords campaigns and magically lowers your CPC. Good

[google-appengine] Channel API billing when channel expires

2011-12-23 Thread Kyle Baley
When a channel expires, does the new one that gets created count toward your billing? For example, if someone opens the app and leaves the browser open for 24 hours, is that 12 open channels or 1? -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [google-appengine] Channel API billing when channel expires

2011-12-23 Thread Timofey Koolin
12 2011/12/24 Kyle Baley k...@baley.org When a channel expires, does the new one that gets created count toward your billing? For example, if someone opens the app and leaves the browser open for 24 hours, is that 12 open channels or 1? -- You received this message because you are

Re: [google-appengine] Channel API billing when channel expires

2011-12-23 Thread Timofey Koolin
And you must manual handle disconnect channel and connect again. 2011/12/24 Timofey Koolin timo...@koolin.ru 12 2011/12/24 Kyle Baley k...@baley.org When a channel expires, does the new one that gets created count toward your billing? For example, if someone opens the app and leaves the

[google-appengine] Add max weekly budget.

2011-12-23 Thread Timofey Koolin
For example: I want set max daily budget 20$ for peak loads, but I don't want pay $140/week if application have any error or load will higher then usually. -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

RE: [google-appengine] Add max weekly budget.

2011-12-23 Thread Brandon Wirtz
Ask for a billing API, so you can send yourself a notification when you get close. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Timofey Koolin Sent: Friday, December 23, 2011 11:51 PM To: Google Appengine Subject: [google-appengine] Add max