[google-appengine] Re: How many times did Google Apps Engine went down since it's launch
On 8 Okt., 17:42, ahmed adel wrote: > What do you mean by HR? "High Replication" the recommended setup introduced about 8 Months ago. We switched a internal Application from a single Server hosted at Rackspace to AppEngine. Below you can see an analysis of a very expensive (->slow) internal page. We are testing from 12 Locations around the globe. See percentage of requests which didn't return success within 10 seconds: http://static.23.nu/md/Pictures/reachability_6E56359C.png And second: latency of that page: http://static.23.nu/md/Pictures/latency_0985D51B.png Can you tell what day we switched to AppEngine? It is an incredibly useful product and I trust it much more than servers being run by myself. There are occasionally issues where you can't reprogram ("deploy") app engine for a few hours. That is annoying. but user facing stability of HR applications is great. --md -- 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: How to set 'timeout' I use urllib2.urlopen instead urlfetch?
HI Umm it was requested, but also for support for urllib2 took a while. Also urlfetch allows for async fetching which you can't do directly with urllib, so unless people where using existing libs (ie a soap client) you where always better off using urlfetch. Thanks Tim -- 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/-/eiM0lM-j5uEJ. 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] Single database for two diffrent application
Hi , is it possible to have a single database for different applications deployed on different app-id's in GAE ? if it is possible then how can we impliment that ?.one more que : if it is possible how can a seperate the data betwwen two apps ? i.e. data from one app- id should not be visible to other one for security reasons -- 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: Single database for two diffrent application
No, this is not currently possible. -- 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/-/Ls3ALzGYAr0J. 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] Multi tenency in web2py framework ...
hi , i am developing a configurable system for four clients . i want the code should be deployed on the single instance and should support the diffrent features depending upon who is logged in...also there should be a single database for all the clients..in order to impliment multi tenecy i tried to use "request.tenent" in web2py...but as this will store only the first part of URL into the database and will create the namespace by same name...so to have this solved i had to deploy the code on diffrent instances but this is voilating my systems configurability...is there any solution by which i can have the code deployed on single version and have diffrent namespaces in database depending upon who is logged in ...also a client should not be able to view other clients data for security purpose. -- 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] How many times did Google Apps Engine went down since it's launch
D'oh! I knew that looked too big! :) On Oct 8, 2011, at 2:15 PM, Philip wrote: > Joshua, your calculation is wrong. A year has 8760 hours, 0.05% of > that time the service can be down -> 8760 * 0.0005 = 4.38 hours of > downtime. > > On Oct 8, 7:52 pm, Joshua Smith wrote: >> Google had a lot of trouble with their original database, known as M/S. It >> was responsible for the downtime you heard about. >> >> So they invented a new database, known as HR, and it has never gone down >> since they released it. >> >> So if you use HR (which is the default for new projects), history suggests >> that you will not see outages. >> >> But be realistic: Everything goes down. Everything. There is no 100% uptime >> guarantee. Google is promising 99.95% which means they are OK with 438 >> hours of downtime a year. And that's only a soft promise (like most SLAs, >> your recourse is negligible if you suffer losses because of their failures). >> >> I'm quite sure that GAE on HR has better uptime than I could achieve with >> anything I could build and manage. >> >> On Oct 8, 2011, at 11:42 AM, ahmed adel wrote: >> >> >> >> >> >> >> >>> What do you mean by HR? >> >>> What I meant is , If I have application hosted in Google Apps Engine , >>> will it be affected in the future for example due to data center crash >>> like what happened before. >> >>> We will need this application be available starting from 7 AM to 1 PM >>> Cairo time. because of this I am asking about the crash time in Google >>> Apps engine. >> >>> I am asking this because my manager wanna be sure our app won't be >>> available for use. (internal and external). >> >>> Also I heard that Google apps engine was down many times and according >>> to this many companies changed the host from Apps engine to another >>> PAAS provider. >> >>> Another reason for my question is I suggested to develop over Google >>> Apps Engine for our Customers , but also I told Our management that we >>> can not trust Google Apps Engine to do this for now , because as you >>> know and correct me if I am wrong (Google don't care much about Apps >>> Engine Support) >> >>> so my question will be now , can I trust Google Apps engine to use it >>> for our Clients? in case of yes or no please tell me reasons for your >>> answer. >> >>> On Oct 6, 7:50 pm, Joshua Smith wrote: Depends how you define "down." >> If you only consider HR, it hasn't gone completely down ever. Some bugs have happened (like losing the ability to send mail to gmail addresses with .'s in them) which reduced functionality for HR, and there have been times when you could not update your app. But I don't think HR has ever stopped serving since it was introduced. >> M/S has been down lots of times, sometimes for extended periods. But that's irrelevant if you are using HR, which you should be if you care about downtime. >> -Joshua >> On Oct 6, 2011, at 1:42 PM, ahmed adel wrote: >> > I need to know how many time did Google apps engine went down since > launching this service also I need to know for how many hours and what > is the time exactly. >> > Also I need to know your opinion about the below. >> > We are planning to develop a product over Google apps engine , a big > project actually for our company. >> > so should I start using Google apps engine or should I use another > PAAS and if so what is the recommended PAAS. >> > thx >> > -- > 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 > athttp://groups.google.com/group/google-appengine?hl=en. >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google App Engine" group. >>> To post to this group, send email to google-appengine@googlegroups.com. >>> To unsubscribe from this group, send email to >>> google-appengine+unsubscr...@googlegroups.com. >>> For more options, visit this group >>> athttp://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-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
[google-appengine] Turn off deduplication for multi-value property queries
Hi, is there a way to sort by multi-value property and turn off the internal deduplication to get a sorted list of all values? Thanks, Daniel -- 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/-/BP-IbTBZk68J. 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: Single database for two diffrent application
Hi, Each entity in a datastore has a unique key which is made up of three parts(appid + kind + id or name) .The appid part in the key of an entity shields it from other apps to access it. So its not possible for an app to access entities of other apps. regards, ravi. On Mon, Oct 10, 2011 at 4:16 PM, Simon Knott wrote: > No, this is not currently possible. > > -- > 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/-/Ls3ALzGYAr0J. > > 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.
Re: [google-appengine] Re: Single database for two diffrent application
Although I think Cloud SQL has looser restrictions. Sanjay -- 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/-/Vy9t1JHniroJ. 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] Operation commit failed on resource
I have a fairly simple workflow being executed by a service which works 99% of the time. sometimes this happens: org.datanucleus.transaction.Transaction commit: Operation commit failed on resource: org.datanucleus.store.appengine.DatastoreXAResource@1f3158e, error code UNKNOWN and transaction: [DataNucleus Transaction, ID=Xid= anyone know why i'd see this error? I find myself writing a lot of code to move service calls into tasks, catching exceptions such as data store timeouts and retrying tasks. It feels like a bad direction to take my 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.
[google-appengine] GAE problem in Eclipse
Hello, A *maven * project , which compiles and runs, appears with resource path problem in the Eclipse IDE: ___ Description Resource Path Type Location The App Engine SDK 'C:\Users\Pierre\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.5.4\appengine-api-1.0-sdk-1.5.4.jar' on the project's build path is not valid (SDK location 'C:\Users\Pierre\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.5.4\appengine-api-1.0-sdk-1.5.4.jar' is not a directory) gwtp-sample-basic Google App Engine Problem Unknown It looks like the Elcipse plugin append '.jar' to the GAE path. Has someone ever seen a message like that ? Suggestions are welcomed. Thanks -- 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/-/UTOh4AZhQ-cJ. 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] How scalable is de data store?
Hi there, Everybody knows that the hardest task when scaling software is to scale the data (TPS). I was wondering how well AppEngine's datastore scales? What are the figures? - Petabytes of data? - Hundreds of thousands of transactions per second? - Full ACID support? - Low latency? The idea is to move, over time, all our data (and applications) into AppEngine. At the moment we have around 1 petabyte of "current" data, but it is growing fast. It would be desirable that we could have the same datastore to be used for Data mining. No more need for ETL and separated DBs. We want to simplify our enterprise architecture and minimize/ eliminate(??) all the internal integrations we have, so that we can find the current/consitent state of a customer or order in just (and only) one place. Is all that feasible now? Is there any use case for such volume? Cheers -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] Index building - 24+ hours with small database
I have an application with two main entities (652 instances each) and a total entity count of 1351. One of my main entities (FileUnit) with 652 instances has just one index which is building for over 24 hours. This FileUnit is 20MB in size (really is just a blob with a key and a segment count which is generally 0 for all instances). The index is being created on the segment count. This application used to work just fine. I converted it to HRD recently and now I can not retrieve it as the index does not seem to build. This application accepts a special file from the users and stores it as a blob. Later, we process the blob and calculate statistics on the file. Right now is the date submission period and so we have 652 items (since 10/1/2011) and expect to be at 1200 by the end of October. So the usage is relatively low for a web application. What can be done to get the index to build ? -- 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 and SimpleDB via JPA
Hi Does anyone know if it's possible to use Amazons SimpleDB in the Google App Engine in combination with the Java Persistence API? Kotake -- 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: Prerelease SDK 1.5.5 available for download!
Awesome release Ikai, really, congrats to the team; -- 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/-/GjTDyZ8_2aQJ. 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: Prerelease SDK 1.5.5 available for download!
Hi, For Java, "We have increased the URLFetch maximum deadline from 10 seconds to 60 seconds." Will the new limit be usable from previous sdk version on appengine, or must there be a version migration ? Regards, Mathieu CLAVEL -- 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/-/yNIVZlSFcBYJ. 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] How many times did Google Apps Engine went down since it's launch
Fat bill? :) By the way, I never really understood how the CPU time is counted. Let's say my doGet or doPost takes 20 seconds to run. So 20 seconds for each request? Because well, the servlets are there, available, always... On 6 October 2011 21:49, Brandon Wirtz wrote: > JeffProbst.com that I host on AppEngine has had 100% uptime for 6 months. > At > its peak it served just shy of 1million visitors in 12 hours. > > > > -Original Message- > From: google-appengine@googlegroups.com > [mailto:google-appengine@googlegroups.com] On Behalf Of Joshua Smith > Sent: Thursday, October 06, 2011 10:50 AM > To: google-appengine@googlegroups.com > Subject: Re: [google-appengine] How many times did Google Apps Engine went > down since it's launch > > Depends how you define "down." > > If you only consider HR, it hasn't gone completely down ever. Some bugs > have happened (like losing the ability to send mail to gmail addresses with > .'s in them) which reduced functionality for HR, and there have been times > when you could not update your app. But I don't think HR has ever stopped > serving since it was introduced. > > M/S has been down lots of times, sometimes for extended periods. But that's > irrelevant if you are using HR, which you should be if you care about > downtime. > > -Joshua > > On Oct 6, 2011, at 1:42 PM, ahmed adel wrote: > > > I need to know how many time did Google apps engine went down since > > launching this service also I need to know for how many hours and what > > is the time exactly. > > > > Also I need to know your opinion about the below. > > > > We are planning to develop a product over Google apps engine , a big > > project actually for our company. > > > > so should I start using Google apps engine or should I use another > > PAAS and if so what is the recommended PAAS. > > > > thx > > > > -- > > 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. > > > -- > 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: Prerelease SDK 1.5.5 available for download!
Hi everyone, Will the URLFetch maximum deadline raise be enabled on previous version of appengine (I'm using 1.5.3), or will I have to use v1.5.5 ? Regards, Mathieu CLAVEL -- 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/-/sEUL3XoaeM8J. 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] Which files are static, by default?
Does anyone know which files (or file types) are static, by default? It appears as if .html files are treated as static, but I cannot find any documentation to confirm/deny this or tell which other files default to being static. Thanks, -- John -- 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/-/u7qVErLr0hIJ. 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] Integration tests with Robot framework and Google App engine - problem with async nature of GAE
Hi, all We are having problems with our integration tests of the app that runs on GAE. As you can see from the title, we are using Robot framework, Selenium server and all of that is nicely integrated with maven and runs on Jenkins. But, the problem is that our tests have a kind of non deterministic behavior. If I look a single test suite and run it several times (this stands both for local and app-spot environment) I can get various results. Tests can pass (which is expected) and they can fail - and every time they fail, there is no rule which one of them fails. This specific problem I am referring to emerges when testing storing objects into GAE. For that we are using Objectify library. As I understood from this post http://groups.google.com/group/objectify-appengine/browse_thread/thread/2395c585161a5274/997c916eecf00f38, GAE writes are pretty much async operations. So, Objectify gives us back an ID of newly persisted object which means it is persisted but when tests redirect us to the page showing the list of the objects, it can happen that newly persisted object is not in the list. My question would what do you do in these kind of situations? I know why this is happening and that this is not a bug but a feature, but we cannot accept this kind of behavior during testing. This way we are never sure if we broke something or everything is just fine, but GAE decided to be too async in the moment tests were running. -- 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] Need help using eclipse for google appengine applications.
Hi everyone, I need urgent help please. I'm new to eclipse, so please don't mind my question if it seems too trivial, I'm just in need for urgent help. I have being using Netbeans for my java projects. However, I'm currently following up a tutorial on creating google appengine project "Getting started with Google AppEngine- Java", using eclipse. Every step works fine, until I reached the stage where I need to add a JSP page guesbook.jsp to the war directory. Once the page is added, the IDE marked the page with RED_CROSS indicating there's problem. Here are the stages I followed: 1. Right-click the root directory, Guestbook>>select New>>Others... 2. Select JSP File >>> Next. 3. Expand Guestbook directory and select war folder. Type in the filename (guestbook.jsp) >>> Next. 4. Select New JSP File (html). 5. Finish. Yet the problem persist, I have no idea why doesn't it work. When I tried to run the project, the IDE complains that "Errors exists in required project(s)." Can anyone shade light on this please. -- 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: Can't deploy and errors 500 on admin console
Still a problem for me -- 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/-/6rQ92Vm3od0J. 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: appstats/recording.py:498: DeprecationWarning
Hi everyone, Sorry about the trouble here. get_request_cpu_usage is indeed deprecated and we are working on changing appstats to not use it. Cheers, Brian On Oct 7, 4:07 am, Bryce Cutt wrote: > I am seeing these too. > > I have reported it as a production > issue:http://code.google.com/p/googleappengine/issues/detail?id=6056&thanks... > > I'll also CC Johan as this seems to be affecting lots of us and he'll > know who to forward it to. > > - Bryce > > On Oct 6, 2:01 am, "J.T" wrote: > > > > > > > > > E 2011-10-06 10:01:05.834 > > > /base/python_runtime/python_lib/versions/1/google/appengine/ext/ > > appstats/recording.py:498: DeprecationWarning: get_request_cpu_usage > > may not always return correct values > > > E 2011-10-06 10:01:05.834 > > > summary.set_processor_mcycles(quota.get_request_cpu_usage()) -- 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] Billing stuck in "Leaving grace period"
Hi, I can't find any way to ask billing-specific questions so I'll just go ahead and ask here. A while ago a credit card payment for one of my company's apps bounced since we had forgotten to transfer money to the relevant account. After resolving this we attempted to pay our outstanding balance and re-add the same billing administrator again. This appeared to succeed, but ever since that (around two weeks ago), the application's billing has been stuck in a "leaving grace period" state and no money has been charged to our credit card. The app is active and there are no warnings about deactivating it, but the outstanding balance keeps increasing and we are currently not paying for the resources used. We'd really like to pay the outstanding balance, but the billing page doesn't seem to let us. The app id is "buffermonsters". Best regards, Karl Blomster -- 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] How to model this kind of relationship? (Trackbacks)
Hi! I'm studying Computer Science and I am italian. Actually I'm new to the NoSQL world, have a little experience with Google App Engine (DataStore/BigTable) and MongoDB… I need to create a social network website for the university. Well, only the data model scheme. A little one, of course. Nothing serious. The thing is, when someone visits the profile of other people, I need to register that. I thought about modelling it like this: Track - datetime: [as the key] - visited_profile_id: - visitor_id: tracks: [{date_time: '', visited_profile_id: 1, visitor_id: 2}, {date_time: '', visited_profile_id: 2, visitor_id: 2}, {date_time: '', visited_profile_id: 3, visitor_id: 2}] But it seemed very RDMS. I thought then about: Profile - visitors: [a collection of keys] profile: { visitors: [1, 2, 3], name: "Thiago", bio: "...", id: 10 } It seemed more reasonable. But in the frontend sometimes I need to list all the profiles I've visited, sometimes all the users that visited mine. Should I then do something like: Profile - visitors: [collection of keys] // the profiles that visited me - visited: [collection of keys] // the profiles I visited profile: { visitors: [1, 2, 3], visited: [11, 15], name: "Thiago", bio: "...", id: 10 } So at the end it's like my first idea. What's the best way to do that? Thank you for your help! Thiago. -- 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] Indexes stuck in error state
appid: cistockwarshr (or s~cistockwarshr, recently migrated from M/ S...) GAE admin page shows some indexes in error state. As per instructions, we removed the culprit indexes from index.yaml and tried to vacuum_indexes: Deleting selected index definitions. Error 400: --- begin server output --- Deleting a composite index failed: ApplicationError: 4 --- end server output --- update_indexes: Error 400: --- begin server output --- Cannot build indexes that are in state ERROR. Thanks in advance, -Aymeric -- 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 - Backend server TCP Congestion Avoidance Algorithm
Hi I am using appspot to create a web application to download and upload file using HTTP GET and POST respectively. I wanted to understand what TCP congestion avoidance algorithm do the backend server use - new Reno , Cubic , westwood + , etc so that i can understand what to expect on the client side. Thanks Kunal -- 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: How many times did Google Apps Engine went down since it's launch
Ahmed, maybe this could help you a little bit http://code.google.com/status/appengine -- 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/-/Lk0GRVfJSUYJ. 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] Web based ide for app engine?
I am strongly interested in writing GAE code in a web based ide and being able to submit code to the app engine from that ide. With google's investment in cloud culture, why does such an environment not yet exist? Why no syntax aware editor in the google docs suite? Any comments? -- 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] MAP API Code do not work
Hi, I am building a Map app on GWT and whant to use Google App Engine to publish it.. But I keep on getting a "This web site needs a different Google API key.." Please help Thanks Kim -- 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] How to get a user with his StringCode?
Hello, i have Entity that contains a String with the author code @Entity public class Todo { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String author; private String summary; private String description; private Date date; boolean finished; public Todo(String author, String summary, String description, Date date) { this.author = author; this.summary = summary; this.description = description; this.setDate(date); finished = false; } public Long getId() { return id; } public String getAuthor() { return author; } how to create a user app engine Object with this code? -- 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] help! how can I find my appid?
hello! I've created a google app engine user 2 years ago,but now I can't remanber my account,when I sign in google app engine, how can I find my appid? thank you. -- 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] Image Gurus: Reading and Modifying images pixels on google app engine
Hi all, hope someone can give us a hint! We are stuck while transforming images on google app engine. We basically want to achieve the following: 1) Generate a QRCode using google chartapi - DONE 2) Use urlfetch to get the qrcode just generated and use pngw/pngr (image library for appengine) to read and modify the pixels on the image - DONE Now we have no idea how to: 3) save the modified image on a blobstore to then be able to show on screen using blobstore api. *we used the library locally and saving locally C:\\test.png works just fine. The code is below: * We have used a pngr library which use InputStream for the PngReader instead of File. It works App Engine for reading and modifying pixel by pixel data from a PNG. http://github.com/jakeri/pngj-for-Google-App-Engine - package com.qrcode.server; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.vobject.appengine.java.io.InputStream; import ar.com.hjg.pngj.ImageLine; import ar.com.hjg.pngj.PngReader; import ar.com.hjg.pngj.PngWriter; public class QrTest extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doPost(request, response); } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { URL url = new URL("http://chart.apis.google.com/chart? cht=qr&chs=400x400&chl=http://google.com&chld=L%7C0";); PngReader pngr; pngr = new PngReader(url.openStream()); PngWriter pngw = new PngWriter("Name", pngr.imgInfo); pngw.setOverrideFile(true); // allows to override writen file if it already exits //pngw.prepare(pngr); // not necesary; but this can copy some informational chunks from original int channels = pngr.imgInfo.channels; if(channels<3) throw new RuntimeException("Only for truecolour images"); for (int row = 0; row < pngr.imgInfo.rows; row++) { ImageLine l1 = pngr.readRow(row); for(int j=0;jhttp://groups.google.com/group/google-appengine?hl=en.
[google-appengine] org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap is a restricted class
hi,every one. I am using google app engine and resteasy to build my Data Sync Service .but I miss a question . when I run my web app project .It shows me an error ==begin 2011-10-7 0:58:34 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml 信息: Successfully processed F:\ProjectCode\GAE\trunk \GAE3\BabyCareDataSync\war\WEB-INF/web.xml 2011-10-7 0:58:35 com.google.apphosting.utils.jetty.JettyLogger warn 警告: failed com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@64bef361{/,F: \ProjectCode\GAE\trunk\GAE3\BabyCareDataSync\war}: java.lang.NoClassDefFoundError: org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap is a restricted class. Please see the Google App Engine developer's guide for more details. 2011-10-7 0:58:35 com.google.apphosting.utils.jetty.JettyLogger warn 警告: failed JettyContainerService$ApiProxyHandler@64df83e5: java.lang.NoClassDefFoundError: org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap is a restricted class. Please see the Google App Engine developer's guide for more details. 2011-10-7 0:58:35 com.google.apphosting.utils.jetty.JettyLogger warn 警告: Error starting handlers java.lang.NoClassDefFoundError: org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap is a restricted class. Please see the Google App Engine developer's guide for more details. at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java: 51) at org.jboss.resteasy.plugins.server.servlet.ConfigurationBootstrap.(ConfigurationBootstrap.java: 28) at org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap.contextInitialized(ResteasyBootstrap.java: 26) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java: 548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java: 1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java: 130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java: 130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java: 186) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java: 182) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java: 172) at com.google.appengine.tools.development.DevAppServerMain $StartAction.apply(DevAppServerMain.java:164) at com.google.appengine.tools.util.Parser $ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.(DevAppServerMain.java: 113) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java: 89) 2011-10-7 0:58:35 com.google.appengine.tools.development.DevAppServerImpl start 信息: The server is running at http://localhost:/ end== It looks like something is wrong about ConfigurationBootstrap .I have never write the class in my code. this is my configuration in web.xml =begin= http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http:// java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> gaerest javax.ws.rs.Application henu.cjt.webservice.EasyRestApplication resteasy.servlet.mapping.prefix /gaerest org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap GaeRest org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher GaeRest /gaerest/* index.html ===end= I have "ResteasyBootstrap " but why does it tell the error about ConfigurationBootstrap ? when I visit http://localhost: it shows me that begin HTTP ERROR: 404 Problem accessing /. Reason: NOT_FOUND Powered by Jetty:// =end= I don't how to fix this problem.I have been troubled with th
[google-appengine] Re: Google plugin in MyEclipse 9 - Unable to sign in
And another victim here! I was logged in fine, but after logging out I can no longer log back in. Same result: clicking on 'Sign in to Google' button does nothing. Can anyway help us out with this issue? It's a real show stopper. -- 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/-/nLyja-96OBIJ. 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] university project
dear all Google app engine user's!!! i am a university student, taking cloud computing course .. AS per course requirement, i have to programm any medium scale application in java and hav to deploy here ... m new, hav no skillz to both java and google app engine.. plzz guyz help me out, what can be a java based medium scale project .. regards, -- 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 service
I am a Chinese python coder and I want to use Google App Engine service. However, my cell phone cannot receive the SMS verification code because I am now in China. phone code:+8613532992995 -- 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] How much I am expecting to pay for the Google App Engine?
I have looked at the following link and not really sure about the fees: http://www.google.com/enterprise/cloud/appengine/pricing.html I am expecting to get about 2 million requests per day. That will be about 2 million Data Store API access per day. Data size for each Data Store API request is small, about 120byte. The bandwidth will be very little about 5 gigabyte per month. How much am I expected to pay per month? -- 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: Too much contention on these datastore entities. please try again.
A further option involves using pull task queues. 1. Write a task to the pull queue for each item you wish to remember. 2. Have a queue reader run periodically - reading up to 1000 tasks at a time and writing the relevant information to the datastore. Although this sounds simple, you need to make sure that you run this doesn't run too often (and burn instance time with no benefit) or too infrequently (and fill up the queue because it never gets through all the tasks). Scaling is not done for you like it is with a push queue. Mat. On 5 October 2011 16:18, Simon Knott wrote: > I believe you have a couple of options: > > Change your task queue configuration, so that it can't run updates > concurrently and slow the task queue down so that it doesn't go over the > desired rate of 1 per second. Docs for this configuration can be found at > http://code.google.com/appengine/docs/python/config/queue.html - Ikai also > drew a nice diagram at http://twitpic.com/3y5814! This route may lead to a > backlog of data, if your updates are frequent. > Alternatively you can write the data to Memcache, as you suggested, and have > the cron job periodically write the data into the datastore. This route can > lead to dataloss, as if MemCache is flushed you will lose any updates that > were pending storage. > > -- > 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/-/-dejKvvC6wAJ. > 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] How the hell do you get the damn program to set points to start with
I can find no help in getting started. I want to have the map take a point from my mouse and use it as a starting point. The program says that it does not recognize my point. Yet it can display the pointer from the mouse. I am not looking for a super coordinate point. I only want to be able to say this place to that place get me some directions. THe program is not helpful at all and when I do try to get help it fails to answer my query. How the helll do I get the program to work? Where is a tutorial that will show me how to use the larger functions. The damn navigation buttons take me to places I do not recognize and I can not get back to where I started. Where are some simple step by step instructions that do not require multiple hot link clicks to get into more and more confusing directions. Damn it, I just want to use the basic functions to say I am here I want go here. The program does not do this. It clouds its answers with obfuscatory garbage. How do I use the program where is a dead body to help me? Orpheus Allison,MLA orpheusalli...@mac.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.
Re: [google-appengine] Google App Engine service
The funny thing is I see this message a lot in the manual verification queue. I did a search for it and found this: http://wyg27.blogspot.com/2009/02/google-app-engine.html So ... you followed the instructions incorrectly. You need to fill out the SMS issues form: https://appengine.google.com/waitlist/sms_issues -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Oct 8, 2011 at 8:09 PM, kevin yang wrote: > I am a Chinese python coder and I want to use Google App Engine > service. However, my cell phone cannot receive the SMS verification > code because I am now in China. > phone code:+8613532992995 > > -- > 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.
Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!
As far as I know you shouldn't have to change SDK versions for the new deadline to work. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Oct 5, 2011 at 6:21 AM, Mathieu Clavel wrote: > Hi, > > For Java, "We have increased the URLFetch maximum deadline from 10 seconds > to 60 seconds." > Will the new limit be usable from previous sdk version on appengine, or > must there be a version migration ? > > > Regards, > > Mathieu CLAVEL > > -- > 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/-/yNIVZlSFcBYJ. > > 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.
Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!
Hi, So will it be by default 60 sec for all urlfetch or do we need to explicitly set this deadline parameter ? If yes, then how to set the 60 sec timeout parameter. Thanks Deepak On Mon, Oct 10, 2011 at 10:59 PM, Ikai Lan (Google) wrote: > As far as I know you shouldn't have to change SDK versions for the new > deadline to work. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > plus.ikailan.com | twitter.com/ikai > > > > On Wed, Oct 5, 2011 at 6:21 AM, Mathieu Clavel wrote: > >> Hi, >> >> For Java, "We have increased the URLFetch maximum deadline from 10 seconds >> to 60 seconds." >> Will the new limit be usable from previous sdk version on appengine, or >> must there be a version migration ? >> >> >> Regards, >> >> Mathieu CLAVEL >> >> -- >> 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/-/yNIVZlSFcBYJ. >> >> 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. > -- 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: Prerelease SDK 1.5.5 available for download!
Just echoing Raphael Nunes: Will Python 2.7 support multi-thread? On Mon, Oct 10, 2011 at 7:19 PM, Deepak Singh wrote: > Hi, > > So will it be by default 60 sec for all urlfetch or do we need to > explicitly set this deadline parameter ? > If yes, then how to set the 60 sec timeout parameter. > > Thanks > Deepak > > > On Mon, Oct 10, 2011 at 10:59 PM, Ikai Lan (Google) wrote: > >> As far as I know you shouldn't have to change SDK versions for the new >> deadline to work. >> >> -- >> Ikai Lan >> Developer Programs Engineer, Google App Engine >> plus.ikailan.com | twitter.com/ikai >> >> >> >> On Wed, Oct 5, 2011 at 6:21 AM, Mathieu Clavel wrote: >> >>> Hi, >>> >>> For Java, "We have increased the URLFetch maximum deadline from 10 >>> seconds to 60 seconds." >>> Will the new limit be usable from previous sdk version on appengine, or >>> must there be a version migration ? >>> >>> >>> Regards, >>> >>> Mathieu CLAVEL >>> >>> -- >>> 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/-/yNIVZlSFcBYJ. >>> >>> 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. >> > > -- > 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. > -- Odeyemi 'Kayode O. http://www.sinati.com. t: @charyorde -- 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] Integration tests with Robot framework and Google App engine - problem with async nature of GAE
This is the eventually-consistent nature of the HRD. On one hand, there is the argument that your users are going to see this same behavior so you should be coding your tests to accommodate it as well. On the other hand, maybe this isn't an issue for your users, just your tests. I'm not sure I would do this, but you can turn off the eventual nature of queries on the dev instance, making your tests run as if they're on the master/slave. There are instructions in the documentation. But if you go this route, make sure you *really* understand the consequences. Jeff On Wed, Oct 5, 2011 at 4:19 AM, ezamur wrote: > Hi, all > > We are having problems with our integration tests of the app that runs > on GAE. > As you can see from the title, we are using Robot framework, Selenium > server and all of that is nicely integrated with maven and runs on > Jenkins. > > But, the problem is that our tests have a kind of non deterministic > behavior. If I look a single test suite and run it several times (this > stands both for local and app-spot environment) I can get various > results. Tests can pass (which is expected) and they can fail - and > every time they fail, there is no rule which one of them fails. > This specific problem I am referring to emerges when testing storing > objects into GAE. For that we are using Objectify library. > > As I understood from this post > http://groups.google.com/group/objectify-appengine/browse_thread/thread/2395c585161a5274/997c916eecf00f38, > GAE writes are pretty much async operations. So, Objectify gives us > back an ID of newly persisted object which means it is persisted but > when tests redirect us to the page showing the list of the objects, it > can happen that newly persisted object is not in the list. > > My question would what do you do in these kind of situations? I know > why this is happening and that this is not a bug but a feature, but we > cannot accept this kind of behavior during testing. This way we are > never sure if we broke something or everything is just fine, but GAE > decided to be too async in the moment tests were running. > > -- > 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: Change Class of Polymodel Instance
Sounds like a good plan. Thanks for your thoughts. On Oct 6, 12:18 am, Nick Johnson wrote: > On Thu, Oct 6, 2011 at 1:34 AM, PatrickCD wrote: > > Nick, > > > > It _is_ a hack. A better approach would be to use a single class with > > > appropriate properties, or create a new instance of a new class and > > discard > > > the old one at such time as you need to make the change. > > > Thanks for your reply. I'm sure you're bored of this thread so I'll > > try to summarise. > > > To take another example, SQLAlchemy supports what it calls "Single > > Table Inheritance" - > >http://www.sqlalchemy.org/docs/orm/inheritance.html#single-table-inhe... > > . In this approach, there is a field "type" that SQLAlchemy uses to > > determine what class the row should be mapped to. So if you change the > > 'type' you change the class. > > This is true, but I think if you ask the SQLAlchemy authors, they would also > say that they don't expect this to change after a row is created. > > > > > You seem to be saying that each record in the datastore should map to > > one and only one Python class, so a similar approach doesn't work. > > No, you can map datastore entities to objects any way you like. I'm just > pointing out that the thing you're trying to do is a hack, and violates some > basic expectations OO systems make, and the way you're trying to do it is > unsupported and may break. > > > > > Polymodel Objects in the GAE Datastore have a property "class" which > > stores a list of super classes. This property appears to be used by > > the DataStore API in a similar way to how "type" is used by > > SQLAlchemy. It's currently possible to change the value of this field > > by setting the __class__ attribute of an instance and saving it back > > to the DataStore. However, you state: > > > "You're breaking any number of invariants by doing this, so things may > > break without notice at any time. " > > > Somewhat cryptic, but I'll take your word for it. > > Invariants like "the set of superclasses of an instance will remain constant > after an object is created". It's possible that not just us, but also other > Python libraries expect that invariant, so once you start messing with it, > you may get unexpected problems elsewhere. > > > > > So perhaps the question boils down to whether or not there _is_ a > > reliable way to change the value of the class property for polymodel > > records? I'm guessing the answer is "no", but I'd like to check. > > You could use the low level datastore API to modify the class property in > the datastore. > > If I understand correctly, you want the behavior of a class's methods to > depend on the 'type' of entity being handled, and that 'type' may change > over the lifetime of an entity. Let me suggest an alternative way to do what > you're trying to do: > > - Create a "DeveloperBehavior" base class, which encapsulates the behaviors > that change between types > - Create subclasses for each type of behavior. > - Create a 'behaviour' property on your model class, which fetches or > instantiates the appropriate behavior for the current entity. > - Either call the behavior methods directly, or wrap them with methods on > your entity. > > This will allow you to change the behavior at runtime, without messing with > Python and DB internals. > > -Nick Johnson > > > > > Thanks > > > Patrick > > > -- > > 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. > > -- > Nick Johnson, Developer Programs Engineer, App Engine -- 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] Fwd: One-To-Many RElations Serialization
-- Forwarded message -- From: Bruno Sandivilli Date: 2011/10/10 Subject: Re: One-To-Many RElations Serialization To: google-web-tool...@googlegroups.com Thanks for the help from you guys! But, yes im using IsSEriazeble. I've changed my code to detachable in both classes, but, when i call: if(listMyClass.size() > 0) { for (MyClass myClass : listMyClass) { return (pm.detachCopy(myClass.getMyInnerClassList())); } } return null; gives me : The class "org.datanucleus.sco.backed.List" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found. debugging this, i've reached this : assertClassPersistable in the class ObjectMAnagerImpl. This function : public void assertClassPersistable(Class cls) { if (cls != null && !getOMFContext().getApiAdapter().isPersistable(cls) && !cls.isInterface()) { throw new ClassNotPersistableException(cls.getName()); } if (!hasPersistenceInformationForClass(cls)) { throw new NoPersistenceInformationException(cls.getName()); } } 2011/10/9 Brandon Donnelson > > @PersistenceCapable(detachable="true") > > > detached = pm.detachCopy(employee); > > > Those will create a java.util List object. That should fix it. > > Brandon > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/ikusuY9VjW0J. > > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?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.
Re: [google-appengine] GAE and SimpleDB via JPA
Hello, i'm lead dev of Siena, a lightweight ORM bridging SQL/NoSQL and we recently added support for SDB in it. You could use it from GAE even if the connection times will be quite longer than directly in EC2! Anyway it should work! http://www.sienaproject.com (not info on SDB because it's recent but if you're interested, don't hesitate to ask, I'll give the pointers to code samples) regards Pascal On Wed, Oct 5, 2011 at 6:14 PM, KotakeTetsuya wrote: > Hi > > Does anyone know if it's possible to use Amazons SimpleDB in the > Google App Engine in combination with the Java Persistence API? > > Kotake > > -- > 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] High error rate on programmatic blob creation
Hello all, I'm currently experiencing a really high error rate when trying to programatically create blobs - I'm on GAE/j (high replication) and getting deadlineexceeded exceptions on file.Open() on roughly every third call, this has been going on for a few hours. I'm using GAE as a synchronization back-end for a mobile app, so these failures aren't catastrophic - everything is done asyncronously in task queues which just retry on failure, but the failure rate is worrying. Not just the current spike that I'm experiencing, but the fact that in general I see this call fail at a much higher rate than other pieces of the service, including the datastore itself. I know that this is an experimental API, but I've had no choice in relying on it. The app prepares "deltas" for mobile clients so when they synchronize, they just have to download a pre-generated delta from the backend, and that delta has to be put into the blobstore as opposed to the datastore because it can be over a megabyte. Generally, when it works it works just fine, but I'm curious if anyone has any insights into why this API is so error-prone, if there's anything I can do about it, and whether I can expect some improvement here. Thanks! -- 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] Web based ide for app engine?
Check out http://coderbuddy.com It is not built by Google but it might be what you are looking for! Greg On Sun, Oct 9, 2011 at 1:00 AM, Zeeple wrote: > I am strongly interested in writing GAE code in a web based ide and > being able to submit code to the app engine from that ide. With > google's investment in cloud culture, why does such an environment not > yet exist? Why no syntax aware editor in the google docs suite? Any > comments? > > -- > 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: Google App Engine service
Hi Kevin, Sorry OOT, I'm interested to know whether App Engine apps can be opened from China, or are you targeting other countries? On Oct 9, 11:09 am, kevin yang wrote: > I am a Chinese python coder and I want to use Google App Engine > service. However, my cell phone cannot receive the SMS verification > code because I am now in China. > phone code:+8613532992995 -- 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.