Swift って何?
● 高い完成度と実績
● 商用サービス( Rackspace Cloud Files )をベースとし
て OSS 化されているため OpenStack の中でも相対的
に完成度が高い。
n
tio
● 既に大規模環境下での運用実績
– 1PB ( KR )
uc y!
d d
–
–
5.5PB ( US )
Etc...
ro e a
P R
● Swift 単体でも利用可能
● 構造がシンプル(大規模環境において超重要)
7
BASE と CAP定理
● Swift のトランザクションモデルは BASE
● Basically Available
– Proxy と Storage Node の並列化による冗長性
● Soft-State
– 取り出すデータが最新かどうかは判断しない
● Eventually Consistent
– 楽観的レプリケーションによる結果整合性
● 【参考】 Cloud の技術的特徴について
– http://qcontokyo.com/tokyo-
2009/pdf/GeneralSession-Day2-Maruyama.pdf
CAP も BASE も DB の話なので無理やり当てはめてます。 16
17.
BASE と CAP定理
● CAP 定理との関係
● Consistency (一貫性)
● Availability (可用性)
● Partition-tolerance (分断耐性)
通常の Swift
ファイルサーバ
Consistency ○ ☓
Availability △ ○
Partition-tolerance ☓ ○
CAP も BASE も DB の話なので無理やり当てはめてます。 17
18.
BASE と CAP定理
● 重要なのは「結果整合性」
● 楽観的レプリケーション
● データの取り出しはレプリケーションからランダム
● ノード障害からの復旧時等、レプリケーションが終わって
いない状態において古いデータが取り出される可能性
がある
● この特性を理解した上でシステムに適応するストレージ
システムを採用する必要がある。
CAP も BASE も DB の話なので無理やり当てはめてます。 18
Essex リリース
Blueprint 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8
11-11-24 12-01-09 12-02-10 12-03-09 12-03-22
Number of Fixed Bugs 14 8 11 10 予定
Self Destructing Files ✔
add more detail to rate limit errors ✔
add swift man pages ✔
better ring builder error messages ✔
change ring builder exit codes ✔
create swift recon docs ✔
swift recon socket stats ✔
tempauth autocreate accounts ✔
zone specific recon ✔
Old and/or hung process tools ✔
suppot marker queries in swift cli ✔
add memcache.conf ✔
form post ✔
remove rfc.sh ✔
Remove old swift-stats-populate, swift-stats-report, and ✔
etc/stats-conf-sample
29