• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jimmyzhang33
V2EX  ›  程序员

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

  •  
  •   jimmyzhang33 · Mar 14, 2017 · 2536 views
    This topic created in 3370 days ago, the information mentioned may be changed or developed.
    原文:
    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 台机器反而性能没有提升?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3032 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.