开发者

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

开发者 https://www.devze.com 2023-04-04 17:14 出处:网络
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 loc

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

精彩评论

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