V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
bbs

用了Memcache怎么反而更慢了?一段时间不flush_all()会变的超级慢,程序超级简单的!这是何故?

  •  
  •   bbs · Mar 3, 2011 · 6576 views
    This topic created in 5540 days ago, the information mentioned may be changed or developed.
    5 replies    1970-01-01 08:00:00 +08:00
    zhouyang
        1
    zhouyang  
       Mar 3, 2011
    缓存过期了?
    bbs
        2
    bbs  
    OP
       Mar 3, 2011
    过期就清空了吧?
    jint
        3
    jint  
       Mar 4, 2011
    慢这个结论是如何做出的?访问速度 or 在console看运行时间?
    应该给些说明或者截图。
    bbs
        4
    bbs  
    OP
       Mar 4, 2011
    @jint 访问速度

    平时1秒就能开,但几天不用再次打开居然要10S。。。有点夸张,毕竟是很简单的应用,然后我清空掉Memcache又正常了!所以觉得是Memcache的问题,难道不是?
    jint
        5
    jint  
       Mar 4, 2011
    我觉得应该先去Console看一下logs,我说的是:https://appengine.google.com/dashboard,
    对比一下快和慢的时候的运行时间。
    然后在浏览器里对比一下快和慢的时候的页面载入情况。
    看看有什么不同。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1260 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:54 · PVG 00:54 · LAX 09:54 · JFK 12:54
    ♥ Do have faith in what you're doing.