原題:Dynamo: Amazon’s Highly Available Key-value Store
原文: Amazon's Dynamo - All Things Distributed (PDF Version)
This article is translated by @ono_matope. Please contact me if any problem.
#!/usr/bin/env ruby | |
SOI = "\xff\xd8" | |
APP0 = "\xff\xe0" | |
DQT = "\xff\xdb" | |
DHT = "\xff\xc4" | |
SOF0 = "\xff\xc0" | |
SOS = "\xff\xda" | |
EOI = "\xff\xd9" |
require "benchmark" | |
require_relative "stacksize" | |
class EnumBlkCall | |
def initialize(num) | |
@num = num | |
end | |
def each(&blk) | |
i = 0 | |
while i < @num |
原題:Dynamo: Amazon’s Highly Available Key-value Store
原文: Amazon's Dynamo - All Things Distributed (PDF Version)
This article is translated by @ono_matope. Please contact me if any problem.