Re: [google-appengine] Re: Backend performance, compared

2012-08-15 Thread Jeff Schnitzer
While it is possible to imagine doing aggregation with memcache -
maybe - it's very hard to imagine it being worth the effort.  It's
like using a hammer to punch staples - sure, it's possible, but you'll
break a lot fewer fingers if you just use a stapler.  How do you pick
memcache keys for thousands of users that are constantly signing in
and signing out?  You can't just assign them 0-; you'd need some
sort of coordination system to recycle empty spaces.  And now you need
that coordinator to scale because it rapidly mutates.

Memcache doesn't have a list structure.  Really, if this was being
done with off-the-shelf components, it's a good fit for Redis.  But
even that is overkill; a dozen-line Node.js script can accept HTTP
directly from clients and works just as well.

Jeff


On Mon, Aug 13, 2012 at 3:53 PM, hyperflame hyperfl...@gmail.com wrote:
 On Aug 13, 4:43 pm, Hernan Liendo hernan.lie...@gmail.com wrote:
 MemCache.getAll(keys) method could work if you know the keys. Using sharded
 keys you could reach them all.

 I wrote a simple test application for memcache earlier. I managed to
 collect 1k keys reliably for my simple test application, and I would
 bet that 10k keys would be no problem. The problem is the amount of
 data in the value. If you just wanted to store scores, that would be
 fine, but IIRC the original poster needed to store a lot more data
 than just scores.

 On Aug 13, 4:43 pm, Hernan Liendo hernan.lie...@gmail.com wrote:
 On Monday, August 13, 2012 3:10:17 AM UTC-3, Jeff Schnitzer wrote:
  The problem is pretty easily stated:  Collect 10k score submissions in
  5s and be able to provide a sorted leaderboard 5s later.  GAE does not
  offer any practical facility capable of accomplishing this.

 Yeah, that's right :(

 Personally, I'd like to see memcache made more reliable, and more
 guarantees added to it (and I would have no problem paying more).
 Right now memcache is Well, it's there, but it could go out at any
 time.

 --
 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: Loading time

2012-08-15 Thread Rerngvit Yanggratoke
Have you try profiling your app with Appstat(
http://googleappengine.blogspot.com/2010/03/easy-performance-profiling-with.html
)?

On Wed, Aug 15, 2012 at 3:50 AM, Nico nicosaul1...@gmail.com wrote:

 It takes 5-10 segs to load the test servlet.

 PseudoCode:
 Creates 1 PersistanceManager instance.
 Creates and makes persistent like 11 entities.
 Brings entities back by id and shows them.

 I have no problem uploading the code, but i think that the description
 above is basically all the test does.

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

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




-- 
Best Regards,
Rerngvit Yanggratoke

-- 
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] Error in documentation at ndb projection query.

2012-08-15 Thread Amy Unruh
Lapteuh,

Thanks very much for taking the time to report that issue, and give a
corrected version--  we always appreciate that. The fix for this
documentation error is already in the works, and should be out with the
upcoming release.
Btw, this slightly simpler syntax should also work:
qry = Article.query().fetch(10, projection=[Article.author, Article.tags])

 -Amy


On 15 August 2012 02:54, Lapteuh lapt...@gmail.com wrote:

 I found error in primer at 
 pagehttps://developers.google.com/appengine/docs/python/ndb/queries#projection
 .

 Incorrect version:
 qry = Article.query(projection=[Article.author, Article.tags])
 articles = qry.fetch(20)

 Correct version of primer
 qo = ndb.QueryOptions(projection=['author', 'tags'])
 qry = Article.query()
 articles = qry.fetch(20, options=qo)

 Maybe that help someone.
 Sorry for my english.

 --
 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/-/mIYyrcVPATgJ.
 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: @Persistent(serialized = true) vs @Persistent

2012-08-15 Thread Amy Unruh
hi,

The app engine JDO documentation goes into this in more detail-- take a
look at the discussion of the field types.
The
https://developers.google.com/appengine/docs/java/datastore/jdo/dataclasses

A serialized field is stored as a blob property.  You can use it to set a
field of your instance to some (serializable) object, with the
serialization and deserialization handled for you. Blob values are not
indexed and cannot be used in query filters or sort orders.
You might want to use a serialized field if you have an object that should
be part of an entity, and is not a 'core type' (or supported collection),
and whose contents don't need to be indexed-- in that case it's often
simplest to just serialize it wholesale.

If your field is a core type (like Integer), you don't need to serialize it
-- just annotate it as 'unindexed' if you don't want it indexed.

On 15 August 2012 09:15, applehund conla...@gmail.com wrote:

 *bump bump*


 On Sunday, August 12, 2012 1:59:23 PM UTC-7, applehund wrote:

 Hi there, can anyone explain the pros  cons of these two styles? Like if
 I have an Integer member variable:

 *@Persistent*
 *private* Integer foo;

 *@Persistent(serialized = true)*
 *private* Integer foo;

 I do know that with the serialized version I have to always mark it dirty
 with *JDOHelper.makeDirty(...).*
 *
 *
 Is there a speed performance boost for serialized? A storage size
 decrease? Why wouldn't I just use *@Persistent *always?

 Thanks everyone!

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

 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] Backend performance, compared

2012-08-15 Thread Johan Euphrosine
On Wed, Aug 15, 2012 at 6:58 AM, Jeff Schnitzer j...@infohazard.org wrote:
 On Mon, Aug 13, 2012 at 8:06 AM, Johan Euphrosine pro...@google.com wrote:

 I tried both.  Going ab - frontend - backend is _much_ slower than
 going directly to a backend.

 And the numbers you posted were for hitting directly the vps instance? or
 urlfetch from a frontend?

 I'm not sure which exact numbers you are referring to.  The VPS tests
 run 'ab' on the same VPS running the server.

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.

  The 'wh-test' noop tests
 ran 'ab' across a 30Mbit link with fairly low latency to
 ghs.google.com... basically the best connection I had available.

 Given that these are high-concurrency tests, I wouldn't expect latency
 to be a significant issue - there's a large pending backlog on the
 server in each case.

 Jeff
 (sorry, I've been travelling in internet dark zones for the last several days)

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




-- 
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

-- 
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: Catching bounced emails

2012-08-15 Thread Per
Hi Blaine,

GAE cannot do this, but you can use external mailers (sendgrid, mailgun, 
etc) which detect bounced mails, and then you can either collect the list 
of bounces, or you can provide web hooks so the external service calls your 
application, letting you know about the bounces. 

It's really simple to integrate, and while it costs a little extra, you'll 
get really good service right now, and some features (like not resending to 
already bounced addresses) that you might never get on GAE. 

Cheers,
Per



On Tuesday, August 14, 2012 9:31:19 PM UTC+2, Blaine Garrett wrote:

 I'd like to be able to catch bounced emails and handle them on the server. 

 I have customers that send documents to users and need to be notified if 
 the email doesn't go through (i.e. incorrect email address, mailbox full, 
 etc).

 Looking at the below docs, it appears you can directly email an appspot 
 and handle it. However, can the address that bounces are sent to be 
 specified?

 https://developers.google.com/appengine/docs/python/mail/receivingmail
 http://code.google.com/p/googleappengine/issues/detail?id=1800#c22

 Blaine


-- 
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/-/aXOtNF6JVI8J.
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: Database with google application engine

2012-08-15 Thread Takashi Matsuo
Hi Vikash,

On Mon, Aug 13, 2012 at 2:06 PM, vikash chaurasia 
vikash.chaura...@gmail.com wrote:

 Hi Takashi,

 Thanks for reply.

 Is it free for development purpose?


If you install mysql to your local development environment, it's free.



 If we are using MySQL in GAE project, using MySQL as DB, can we deploy the
 application on GAE?


Yes.


 How/where can we claim for free quota for Cloud SQL, if it is possible?


AFAIK, now it's not possible.



 Please suggest.

 Thanks,
 Vikash

 On Wednesday, August 8, 2012 1:10:54 PM UTC+5:30, Takashi Matsuo (Google)
 wrote:

 Yes. Please go visit 
 https://developers.google.com/**cloud-sql/https://developers.google.com/cloud-sql/and
  read
 our documentation.
 Python: https://developers.google.com/**appengine/docs/python/cloud-**
 sql/developers-guidehttps://developers.google.com/appengine/docs/python/cloud-sql/developers-guide
 Java: https://developers.google.com/**appengine/docs/java/cloud-sql/**
 developers-guidehttps://developers.google.com/appengine/docs/java/cloud-sql/developers-guide

 -- Takashi

 On Tue, Aug 7, 2012 at 4:54 PM, vikash chaurasia
 vikash.c...@gmail.com wrote:
  Hi,
 
  Is MYSQL solution available now?
 
  Can we use MySQL in GAE project and deploy it on GAE server?
 
  Thanks
  Vikash
 
  On Wednesday, June 16, 2010 10:02:10 PM UTC+2, Tristan wrote:
 
  Not possible. Datastore is the only option. If you want to use MySQL,
  you would have to host it on Amazon (or other such service) and then
  you'd have to set up all persistence operations to talk to the Amazon
  service.
 
  There is an SQL solution in the works for the Google App Engine for
  Business (for Google Apps domains only), but it has not been released
  yet.
 
  On Jun 16, 7:00 am, jitendra singh jks...@gmail.com wrote:
   Hi,
   I am trying to develop and deploy a project with google application
   engine and for this I want to use Mysql5.0 as a database. Is it
   possible to use Mysql5.0 with GAE or google datastore is the only
 one
   option. If we can use Mysql5.0, how will i configure it online
 during
   the time of deployment. At localhost, I am trying to use Mysql5.0
 with
   eclipse galileo3.5 with google eclipse plugin and sdk plugin and gwt
   plugin but it is giving the following error although I am using
 mysql-
   connector-java-5.0.3-bin.jar file for jdbc driver:
  
   java.lang.**ClassNotFoundException: com.mysql.jdbc.Driver
   at java.net.URLClassLoader$1.run(**URLClassLoader.java:200)
   at java.security.**AccessController.doPrivileged(**Native
 Method)
   at java.net.URLClassLoader.**findClass(URLClassLoader.java:*
 *188)
   at java.lang.ClassLoader.**loadClass(ClassLoader.java:**306)

   at
  
   com.google.appengine.tools.**development.**IsolatedAppClassLoader.**loadClass(Iso

   latedAppClassLoader.java:
   151)
   at java.lang.ClassLoader.**loadClass(ClassLoader.java:**251)

   at 
   java.lang.ClassLoader.**loadClassInternal(ClassLoader.**java:319)

   at java.lang.Class.forName0(**Native Method)
   at java.lang.Class.forName(Class.**java:164)
   at database.dbConn.query(dbConn.**java:137)
   at 
   admin.AdminFunctions.**verifyAdminLogin(**AdminFunctions.java:16)

   at admin.AdminServ.doGet(**AdminServ.java:46)
   at admin.AdminServ.doPost(**AdminServ.java:112)
   at 
   javax.servlet.http.**HttpServlet.service(**HttpServlet.java:713)

   at 
   javax.servlet.http.**HttpServlet.service(**HttpServlet.java:806)

   at
   org.mortbay.jetty.servlet.**ServletHolder.handle(**ServletHolder.java:

   511)
   at org.mortbay.jetty.servlet.**ServletHandler
   $CachedChain.doFilter(**ServletHandler.java:1166)
   at
  
   com.google.appengine.api.**blobstore.dev.ServeBlobFilter.**doFilter(ServeBlobFi

   lter.java:
   51)
   at org.mortbay.jetty.servlet.**ServletHandler
   $CachedChain.doFilter(**ServletHandler.java:1157)
   at
  
   com.google.apphosting.utils.**servlet.**TransactionCleanupFilter.**doFilter(Trans

   actionCleanupFilter.java:
   43)
   at org.mortbay.jetty.servlet.**ServletHandler
   $CachedChain.doFilter(**ServletHandler.java:1157)
   at
  
   com.google.appengine.tools.**development.StaticFileFilter.**doFilter(StaticFile

   Filter.java:
   122)
   at org.mortbay.jetty.servlet.**ServletHandler
   $CachedChain.doFilter(**ServletHandler.java:1157)
   at
   org.mortbay.jetty.servlet.**ServletHandler.handle(**ServletHandler.java:

   388)
   at
   org.mortbay.jetty.security.**SecurityHandler.handle(**SecurityHandler.java:

   216)
   at
   org.mortbay.jetty.servlet.**SessionHandler.handle(**SessionHandler.java:

   182)
   at
   org.mortbay.jetty.handler.**ContextHandler.handle(**ContextHandler.java:

   765)
   at
   org.mortbay.jetty.webapp.**WebAppContext.handle(**WebAppContext.java:

   418)
   at
  
   

[google-appengine] Datastore Stored Data limit

2012-08-15 Thread GDeveloper
Why did my Datastore Stored Data reach limit(1 GBytes)? but when I 
used Datastore Admin to check, it only has a couple of KBytes.

ResourceUsageFrontend Instance Hours
[image: 28%]
28%7.82 of 28.00 Instance HoursBackend Instance Hours
[image: 0%]
0%0.00 of 9.00 Instance HoursDatastore Stored Data
[image: 100%]
100%1.00 of 1.00 
GByteshttps://appengine.google.com/dashboard?app_id=yydeals0version_id=1.348893610874005053#ae-dash-quota-footnoteLogs
 
Stored Data
[image: 5%]
5%0.05 of 1.00 GBytesTask Queue Stored Task Bytes
[image: 0%]
0%0.00 of 0.49 GBytes

Datastore Admin of yydeals0
*Entities*
Entity statistics last updated Aug 14, 2012 3:56 p.m. UTC [image: 
help]http://developers.google.com/appengine/kb/adminconsole.html#datastore_stats
Entity Kind# EntitiesAvg. Size/EntityTotal Size***TimeMark1384 Bytes384 
Bytes*TimeMark1388 Bytes388 Bytes*TimeMark11 KByte1 KByteHomepage1103 
KBytes103 KBytesTimeMark12 KBytes2 KBytesTimeMark1802 Bytes802 
BytesTimeMarker1766 Bytes766 Bytes  

-- 
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/-/Q7PeTNZmZYsJ.
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: Adding a Sign Up feature

2012-08-15 Thread mmertes
I have no idea what the header would even be, but if there is
something I can send a snapshot of to help you help me please let me
know, that would be great!  I know it gave me a www.something,
connected to a few html://somethings. Or is the content-type header
what you type in to create it (sorry VERY un-savvy with this stuff).

On Aug 13, 6:07 pm, Joshua Woodward j...@woodwardmedia.net wrote:
 I would assume you might be sending the incorrect Content-type header, but
 without samples I can't be for sure.

 On Mon, Aug 13, 2012 at 12:05 PM, mmertes melanie.merte...@gmail.comwrote:





  I am trying to add a Sign Up now feature to our Coalition website,
  but everytime I post the code that is provided it just shows all the
  writing and not the actual gadget itself.  I have tried posting it
  directly to the page and adding a HTML, but no success.  Does anyone
  know what I am doing wrong or how to do this?

  Thanks,

  mmertes

  --
  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+ -http://joshuawoodward.com/+
 Twitter - @howtohtml5 http://twitter.com/howtohtml5- Hide quoted text -

 - Show quoted text -

-- 
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 my app (AttributeError: can't set attribute)

2012-08-15 Thread Piotr Wołkowski
In case if anyone would have similar problem it is a solution that helped 
in my case: 
http://forums.udacity.com/cs253/questions/2699/problems-with-app-engine-on-win7-with-python-27

Apparently the error appears when there is 2-step verification on your 
google account. What you need is app specific password: 
http://support.google.com/accounts/bin/answer.py?hl=enanswer=185833

On Wednesday, April 25, 2012 1:10:29 PM UTC+2, John Smith wrote:

 thats log:

 Starting update of app: flyingbat123, version: 0-1
 Getting current resource limits.
 Password for avigmati: Traceback (most recent call last):
   File C:\Program Files (x86)\Google\google_appengine\appcfg.py, line 
 125, in module
 run_file(__file__, globals())
   File C:\Program Files (x86)\Google\google_appengine\appcfg.py, line 
 121, in run_file
 execfile(script_path, globals_)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4062, 
 in module
 main(sys.argv)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4053, 
 in main
 result = AppCfgApp(argv).Run()
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2543, 
 in Run
 self.action(self)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 3810, 
 in __call__
 return method()
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 3006, 
 in Update
 self.UpdateVersion(rpcserver, self.basepath, appyaml)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2995, 
 in UpdateVersion
 self.options.max_size)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2122, 
 in DoUpload
 resource_limits = GetResourceLimits(self.rpcserver, self.config)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 355, 
 in GetResourceLimits
 resource_limits.update(GetRemoteResourceLimits(rpcserver, config))
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 326, 
 in GetRemoteResourceLimits
 version=config.version)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py, 
 line 379, in Send
 self._Authenticate()
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py, 
 line 437, in _Authenticate
 super(HttpRpcServer, self)._Authenticate()
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py, 
 line 281, in _Authenticate
 auth_token = self._GetAuthToken(credentials[0], credentials[1])
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py, 
 line 233, in _GetAuthToken
 e.headers, response_dict)
   File C:\Program Files 
 (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py, 
 line 94, in __init__
 self.reason = args[Error]
 AttributeError: can't set attribute
 2012-04-25 18:56:14 (Process exited with code 1)


 thats my app.yaml:

 application: flyingbat123
 version: 0-1
 runtime: python
 api_version: 1
 threadsafe: no

 handlers:

 - url: /favicon.ico
   static_files: static/favicon.ico
   upload: static/favicon.ico

 - url: /robots.txt
   static_files: static/robots.txt
   upload: static/robots.txt
  
 - url: /template
   static_dir: static/template

 - url: /img
   static_dir: static/img

 - url: /webadmin/.*
   script: $PYTHON_LIB/google/appengine/ext/admin
   login: admin

 - url: /js
   static_dir: static/js

 - url: /css
   static_dir: static/css

 - url: /admin.*
   script: bootstrap.py
   login: admin

 - url: .*
   script: bootstrap.py 




-- 
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/-/Qz0XXBu4TKUJ.
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] Hosting static files on GAE and using own domain.

2012-08-15 Thread Omne
Hi, I'm trying to host my website on GAE, it's just a few  HTML page and 
images. I downloaded the Eclipse and all its required plugins and GAE SDK, 
I think I were able to upload (deploy) a project successfully, now I can 
see an index page on myapp.appspot.com wiich says Hello App Engine!.

Now I have a few questions:
Do you I have to do anything special for hosting static HTML pages?
I read on the internet that with Python we should configure a file for 
static files, what about Eclipse?
I'm going to remove all unwanted files from project folders and add my 
website files and folders to the project and then deploy it. is this what 
should do?
If I want to point my own domain to my project, should I do it before 
uploading the project or after it? because I noticed GAE has its own domain 
(appspot.com) what if I don't want that my website be available at this 
address too?

Thank you for your help.

-- 
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/-/KnVU92RFIeAJ.
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] Hosting static files on GAE and using own domain.

2012-08-15 Thread Joshua Woodward
There is no getting rid of the appspot domain. If you want your own domain
to point to your app engine project, you need to setup Google apps for that
domain.

And when you say for eclipse, you mean java right?

Joshua Woodward

http://joshuawoodward.com/ +
http://twitter.com/howtohtml5
On Aug 15, 2012 7:08 AM, Omne omn...@gmail.com wrote:

 Hi, I'm trying to host my website on GAE, it's just a few  HTML page and
 images. I downloaded the Eclipse and all its required plugins and GAE SDK,
 I think I were able to upload (deploy) a project successfully, now I can
 see an index page on myapp.appspot.com wiich says Hello App Engine!.

 Now I have a few questions:
 Do you I have to do anything special for hosting static HTML pages?
 I read on the internet that with Python we should configure a file for
 static files, what about Eclipse?
 I'm going to remove all unwanted files from project folders and add my
 website files and folders to the project and then deploy it. is this what
 should do?
 If I want to point my own domain to my project, should I do it before
 uploading the project or after it? because I noticed GAE has its own domain
 (appspot.com) what if I don't want that my website be available at this
 address too?

 Thank you for your help.

 --
 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/-/KnVU92RFIeAJ.
 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: Adding a Sign Up feature

2012-08-15 Thread Joshua Woodward
On Wed, Aug 15, 2012 at 7:03 AM, mmertes melanie.merte...@gmail.com wrote:

 I have no idea what the header would even be


Well that could be an issue ;)

Can you send some code?

-- 



Google+ - http://joshuawoodward.com/+
Twitter - @howtohtml5 http://twitter.com/howtohtml5

-- 
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 on persistent manager related question

2012-08-15 Thread Vik
Hie

Can someone plz comment on
http://stackoverflow.com/questions/11811247/how-to-flush-changes-to-persistent-manager


Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org

-- 
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] Downloading my app The request is invalid for an unspecified reason

2012-08-15 Thread Kate

I get an error when downloading my app.

Can anyone give me any pointers.

Here is my code with the response.

C:\google_appengineappcfg.py download_app -A aussieclouds.appspot.com -V 1
wwwhome\aussieclouds
Host: appengine.google.com
Fetching file list...
Error 400: --- begin server output ---

Client Error (400)
The request is invalid for an unspecified reason.
--- end server output ---

-- 
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/-/Ydwml6M_GVIJ.
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] Hosting static files on GAE and using own domain.

2012-08-15 Thread Jeff Schnitzer
On Wed, Aug 15, 2012 at 8:46 AM, Joshua Woodward j...@woodwardmedia.net wrote:
 There is no getting rid of the appspot domain.

One minor nit - this is not quite correct.

If you set up a servlet filter, you can easily block or redirect all
traffic to the appspot.com virtual host.  You don't need to serve
traffic on *.appspot.com.

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.



Re: [google-appengine] Hosting static files on GAE and using own domain.

2012-08-15 Thread Joshua Woodward
there will always be* your-app-id*.appspot.com though

On Wed, Aug 15, 2012 at 12:45 PM, Jeff Schnitzer j...@infohazard.orgwrote:

 On Wed, Aug 15, 2012 at 8:46 AM, Joshua Woodward j...@woodwardmedia.net
 wrote:
  There is no getting rid of the appspot domain.

 One minor nit - this is not quite correct.

 If you set up a servlet filter, you can easily block or redirect all
 traffic to the appspot.com virtual host.  You don't need to serve
 traffic on *.appspot.com.

 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+ - http://joshuawoodward.com/+
Twitter - @howtohtml5 http://twitter.com/howtohtml5

-- 
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

2012-08-15 Thread Jeff Schnitzer
On Wed, Aug 15, 2012 at 2:07 AM, Johan Euphrosine pro...@google.com 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.



Re: [google-appengine] Hosting static files on GAE and using own domain.

2012-08-15 Thread Robert Fischer
You could check the url on the request and serve a redirect to the custom
domain though if you didn't want appid.appspot.com to be shown.

-Robert

On Wed, Aug 15, 2012 at 12:48 PM, Joshua Woodward j...@woodwardmedia.netwrote:

 there will always be* your-app-id*.appspot.com though


 On Wed, Aug 15, 2012 at 12:45 PM, Jeff Schnitzer j...@infohazard.orgwrote:

 On Wed, Aug 15, 2012 at 8:46 AM, Joshua Woodward j...@woodwardmedia.net
 wrote:
  There is no getting rid of the appspot domain.

 One minor nit - this is not quite correct.

 If you set up a servlet filter, you can easily block or redirect all
 traffic to the appspot.com virtual host.  You don't need to serve
 traffic on *.appspot.com.

 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+ - http://joshuawoodward.com/+
 Twitter - @howtohtml5 http://twitter.com/howtohtml5

  --
 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] Datastore Storage - Usage Stats for Aug 10th

2012-08-15 Thread Chris Ramsdale
On August 10th, some App Engine applications' usage reports incorrectly
reported Datastore storage. Affected applications would have seen twice the
expected amount of Datastore storage on their daily usage reports, which
may also have been reflected in their weekly bills. The root cause of the
issue has been resolved, and we are currently in the process of issuing
credits to affected applications to offset the error. We apologize for any
confusion this issue may have caused, if you have any questions please do
not hesitate to contact
ushttp://support.google.com/code/bin/request.py?contact_type=cloud_platform_billing
.

Regards,

Chris Ramsdale
Product Manager, Google 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.



Re: [google-appengine] Datastore Stored Data limit

2012-08-15 Thread Amy Unruh
hi,

I'm looking into this, and will reply with more info soon.

On 15 August 2012 23:53, GDeveloper zhangzhihai2...@gmail.com wrote:

 Why did my Datastore Stored Data reach limit(1 GBytes)? but when I
 used Datastore Admin to check, it only has a couple of KBytes.

 Resource Usage Frontend Instance Hours
 [image: 28%]
 28%7.82 of 28.00 Instance Hours Backend Instance Hours
 [image: 0%]
 0% 0.00 of 9.00 Instance Hours Datastore Stored Data
 [image: 100%]
 100%1.00 of 1.00 GBytes
 https://appengine.google.com/dashboard?app_id=yydeals0version_id=1.348893610874005053#ae-dash-quota-footnote
  Logs
 Stored Data
 [image: 5%]
 5% 0.05 of 1.00 GBytes Task Queue Stored Task Bytes
 [image: 0%]
 0%0.00 of 0.49 GBytes

 Datastore Admin of yydeals0
 *Entities*
 Entity statistics last updated Aug 14, 2012 3:56 p.m. UTC [image: 
 help]http://developers.google.com/appengine/kb/adminconsole.html#datastore_stats
  Entity Kind # EntitiesAvg. Size/Entity Total Size ***TimeMark 1384 Bytes 384
 Bytes  *TimeMark 1388 Bytes 388 Bytes  *TimeMark 11 KByte 1 KByte
 Homepage 1103 KBytes 103 KBytes  TimeMark 12 KBytes 2 KBytes
 TimeMark 1802 Bytes 802 Bytes  TimeMarker 1766 Bytes 766 Bytes

 --
 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/-/Q7PeTNZmZYsJ.
 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: What to do if you have problems signing up for an App Engine account

2012-08-15 Thread Julio Arzeno



 amy as many have posted, I have problems with the app engine, I sent to 
 my phone the verification code but never reaches, and I have already sent 
 the suggestion to the page you said, but nothing, please help me, I need 
 the account. and 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/-/wePuX9vkT2QJ.
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] Erratic App Behavior 227

2012-08-15 Thread Bartek Bargiel
What does the Erratic App Behavior 227 resource in the GAE dashboard mean? 
It's marked red and 100% (104,857,600 of 104,857,600). I have no idea 
what's going on.

thanks,

Bartek

-- 
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/-/aCCbrTUW8R0J.
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] Downloading my app The request is invalid for an unspecified reason

2012-08-15 Thread Brian Michelich
If you drop .appspot.com from the appid it should work:

 C:\google_appengineappcfg.py download_app -A aussieclouds -V 1 
 wwwhome\aussieclouds

On Wed, Aug 15, 2012 at 1:25 PM, Kate mss.ka...@gmail.com wrote:

 I get an error when downloading my app.

 Can anyone give me any pointers.

 Here is my code with the response.

 C:\google_appengineappcfg.py download_app -A aussieclouds.appspot.com -V 1
 wwwhome\aussieclouds
 Host: appengine.google.com
 Fetching file list...
 Error 400: --- begin server output ---

 Client Error (400)
 The request is invalid for an unspecified reason.
 --- end server output ---

 --
 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/-/Ydwml6M_GVIJ.
 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] logs are not showing in the appengine console

2012-08-15 Thread Aswath Satrasala
Hello,
In the appengine console
- the olders logs are not showing up.   I click on the logs menu.  then, I
click on the 'Next 20'.  No logs are shown

Regards
Aswath

-- 
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] logs are not showing in the appengine console

2012-08-15 Thread Jeff Schnitzer
Also:  I am unable to expand log msgs by clicking the '+'.  It
registers my click and changes the icon to '-' but doesn't actually
expand the logs - I still can't see an important stacktrace.  Probably
related:  it chops off the length of these un-expanded lines too.

Jeff

On Wed, Aug 15, 2012 at 9:58 PM, Aswath Satrasala
aswath.satras...@gmail.com wrote:
 Hello,
 In the appengine console
 - the olders logs are not showing up.   I click on the logs menu.  then, I
 click on the 'Next 20'.  No logs are shown

 Regards
 Aswath

 --
 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] Erratic App Behavior 227

2012-08-15 Thread Takashi Matsuo
Hi Bartek,

This is definitely something you don't need to care, and will be resolved
soon.

-- Takashi


On Thu, Aug 16, 2012 at 9:11 AM, Bartek Bargiel bartek.barg...@gmail.comwrote:

 What does the Erratic App Behavior 227 resource in the GAE dashboard
 mean? It's marked red and 100% (104,857,600 of 104,857,600). I have no
 idea what's going on.

 thanks,

 Bartek

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




-- 
Takashi Matsuo | Developer Advocate | tmat...@google.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.