All quizzesHard
Large-Scale Architecture — Series 2
Preview — 3 of 10 questions
Two chat servers can accept messages for one conversation. All clients need the same total order, including concurrent sends. What provides it?
ASorting by each sender's unsynchronized local clock.
BExactly-once delivery without any ordering protocol.
CA coordinated per-conversation sequence or deterministic total-order protocol.
DUnordered vector clocks alone with no tie-break rule.
HTML references content-hashed assets. A new release is deployed while old pages remain open. What should asset retention support?
AMake every asset response private and uncacheable permanently.
BDelete all old assets as soon as the new HTML is uploaded.
CReuse an old asset URL for different bytes to save storage.
DRetain old assets for the compatibility window.
A load balancer hashes tenant IDs for cache locality. One tenant generates half of total traffic. What limitation should be anticipated?
ALeast-connections and hashing must produce identical routing decisions.
BAdding more backends automatically splits that tenant's key across all of them.
CHashing guarantees equal request counts across every backend.
DAffinity can concentrate load even when instance counts are balanced.
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.