V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jimmyzhang33
V2EX  ›  程序员

6.824 笔记的第一章阅读遇到的问题

  •  
  •   jimmyzhang33 · 2017-03-14 13:21:13 +08:00 · 1713 次点击
    这是一个创建于 2841 天前的主题,其中的信息可能已经有所发展或是发生改变。
    原文:
    Topic: performance
    Distribution can hurt: network b/w and latency bottlenecks
    Lots of tricks, e.g. caching, concurrency, pre-fetch
    Distribution can help: parallelism, pick server near client
    Idea: scalable design
    Nx servers -> Nx total performance
    Need a way to divide the load by N
    Divide data over many servers ("sharding" or "partitioning")
    By hash of file name?
    By user?
    Move files around dynamically to even out load?
    "Stripe" each file's blocks over the servers?
    Performance scaling is rarely perfect
    Some operations are global and hit all servers (e.g. search)
    Nx servers -> 1x performance
    Load imbalance
    Everyone wants to get at a single popular file
    -> one server 100%, added servers mostly idle
    -> Nx servers -> 1x performance

    问题的地方:
    Some operations are global and hit all servers (e.g. search)
    Nx servers -> 1x performance
    问题:为什么 search 功能, N 台机器反而性能没有提升?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   997 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:32 · PVG 04:32 · LAX 12:32 · JFK 15:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.