Datastore Read Operations 這又是啥~

106 views
Skip to first unread message

Wolke Lin

unread,
Nov 30, 2011, 11:54:45 AM11/30/11
to taipe...@googlegroups.com
Datastore Read Operations 
為什麼這也爆了~
有人有爆嗎?

Yenchi

unread,
Dec 1, 2011, 1:47:34 PM12/1/11
to Taipei GTUG
所有從datastore get/query/find (讀取) 的動作都歸類在datastore read ops裡,寫入的就是
datastore write ops.

我的AP每天都爆,因為免錢的quota只有50K個ops;一個entity如果read op/write op高一點(1.6.0 SDK的
local development server會秀每種entity的update要花上幾個ops),那流量一大又沒cache進
memcache那根本就是在燒錢...

解決方法... 請參考 http://code.google.com/appengine/articles/managing-resources.html
吧...


On Nov 30, 8:54 am, Wolke Lin <wolke...@gmail.com> wrote:
> Datastore Read Operations
> 為什麼這也爆了~
> 有人有爆嗎?

Ke-Ren Dai

unread,
Dec 1, 2011, 10:14:09 PM12/1/11
to taipe...@googlegroups.com
可以先在這邊 http://code.google.com/intl/zh-TW/appengine/docs/billing.html
看一下 read, write, store 分別是怎麼一回事,可能會跟你一開始想的有點不一樣。

減少 datastore read 的部份就只能多用 memcache 跟盡量用 key 來抓資料,減少 datastore write 的方法
就是盡量減少 index 了。

Reply all
Reply to author
Forward
0 new messages