English 中文(简体)
页: 1
原标题:Google App Engine: Message class using list properties for receivers
最佳回答

I ve implement first option in production. Drawback is that ListProperty is limited to 2500 entries if you use custom index. Shameless plug: See my blog bost http://bravenewmethod.wordpress.com/2011/03/23/developing-on-google-app-engine-for-production/

阅读状态储存。 我之所以这样做,是因为执行了一个实体,在几个月后储存了无法读到的信息,然后才算读了旧的信息。 更简单的做法是按日期顺序询问电文,在实体中储存最后已知的信息时段,并假定所有年长者都读到。 我不建议把历史长期保留在拥有大量清单财产的实体中,因为阅读和储存这类实体确实会缓慢。

删除电文是昂贵的,根本不是这样。

问题回答

如果你需要存储每个信息,那么你的最佳选择是每个接收实体写一个读写(以及旗帜、 etc等任何其他东西),而不是使用指数关系模式。





相关问题
How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

gqlQuery returns object, want list of keys

Is there a way to convert the GqlQuery object to an array of keys, or is there a way to force the query to return an array of keys? For example: items = db.GqlQuery("SELECT __key__ FROM Items") ...

Integrating Google AppEngine with a Thick Client

I want to make a multi-user client-server solution with Java Swing thick client as a front-end and Google AppEngine (Java one) as a back-end. The problem is that GAE provides only web-based forms for ...

sorl.thumbnail : thumbnail is not a valid tag library?

I am trying to install sorl.thumbnail but am getting the following error message: thumbnail is not a valid tag library: Could not load template library from django.templatetags.thumbnail, No module ...