惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
博客园 - Franky
The Cloudflare Blog
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
B
Blog
Y
Y Combinator Blog
V
V2EX
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
博客园 - 司徒正美
IT之家
IT之家
G
Google Developers Blog
C
Check Point Blog
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - 彭帅

周末开发的一个Google Wave类似的评论系统 CloudHosting平台Eucalyptus分析. Hadoop Ecosystem解决方案---数据仓库 关于HDFS数据Checksum hadoop MapReduce Job失效模型 - 彭帅 设计遐想---基于Google App Engine的IM 系统容灾备份选型的决策表 hadoop Map Stage流程分析 hadoop作业调度 - 源码分析 A Viewstate for PHP Internet级单点登录的数据管理(转) a CouchDB essentials 从网络上整理的google c++编程风格指南 网络编程套路杂记1 UserAgent的历史变迁 云计算-My Future, The IT's Future (转载)Hadoop常用SDK系列五 TotalOrderPartitioner OnlyXP盘点2008下半年的学习情况
GAE技巧汇总
彭帅 · 2009-08-26 · via 博客园 - 彭帅

1. 免sharding的高并发计数器.
核心思想: 采用memcached作临时存储,定期写入datastore.

incrementCounter


2.使用model cache给你的GAE应用程序加速
使用很简单,在你的models.py 最上方
import datastore_cache
datastore_cache.DatastoreCachingShim.Install()

3.在memcache之上构建的SessionManager.

4.全文检索(Simple Full Text Search)
测试代码的下载地址:http://github.com/DocSavage/appengine-search

Searchable

 

5.用GoogleFileService上传超过10M的大文件.(For Java)
(详细请看: http://code.google.com/p/google-file-service/)
简单地调用 DatastoreUtils.insertGoogleFile().方法就可以存入文件了.

6.脏数据保存

IsDirty

CSVProperty


9.用memcache来缓存Avatar以减少datastore的API调用.

Code