Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
推荐学习书目
›
Python Cookbook
›
Using Google App Engine
推荐下载
›
Latest Google App Engine SDK
其他兼容技术
›
AppScale
V2EX
›
Google App Engine
使用与不使用memcache的差别
darcy
·
Apr 14, 2011
· 4943 views
This topic created in 5506 days ago, the information mentioned may be changed or developed.
http://dl.ioio.name/upload/2011-4/13/41.png
http://dl.ioio.name/upload/2011-4/13/42.png
memcache
使用
差别
6 replies
•
1970-01-01 08:00:00 +08:00
1
Livid
MOD
PRO
Apr 14, 2011
具体的代码是?
2
upsuper
Apr 14, 2011
其实挺正常的……毕竟查询数据库需要消耗大量的cpu时间,特别是对于gae的那种分布式数据库来说……
3
darcy
OP
Apr 14, 2011
@
Livid
http://gist.github.com/918878
4
upsuper
Apr 14, 2011
@
darcy
你可以用get_multi和set_multi获得更好的性能理论上,当然这里次数少无所谓……
5
darcy
OP
Apr 14, 2011
@
upsuper
嗯,thx
6
X-Force
Apr 14, 2011
那是肯定的。我的网站的页面计数就是用memcache,如果不小心停掉它,服务器瞬间CPU和内存爆满
http://www.iplaysoft.com
http://www.ipc.me
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3350 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms ·
UTC 12:45
·
PVG 20:45
·
LAX 05:45
·
JFK 08:45
♥ Do have faith in what you're doing.
❯