开发者

Fastest/most efficient in App Engine, local file read or memcache hit?

I have a couple of smaller asset files (text templates typically 100 - a few K bytes) in my app that I'm considering caching using memcached. But does anyone here 开发者_JAVA百科know if loading a local file or requesting it from memcache is the fastest/most resource efficient?

(I'll be using the Python version of App Engine)


If they are just few kbytes I would load them on the instance memory; amongst the storage choices (Memcache, Datastore, Blobstore and so on) on Google App Engine , instance memory option shoud be the fastest.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜