S3mperS3 的一致列表
S3mper 是通過(guò)一致的,二級(jí)索引對(duì)亞馬遜 S3 索引做額外的一致性檢查。
S3mper 利用面向方面編程和 AspectJ 實(shí)現(xiàn)來(lái)引導(dǎo) Hadoop 文件系統(tǒng)實(shí)現(xiàn)(主要是實(shí)現(xiàn) NativeS3FileSystem),和額外的邏輯,進(jìn)行反復(fù)的二次索引的一致性檢查。
二級(jí)索引默認(rèn)使用 DynamoDB,因?yàn)樗姆?wù)提供速度,一致性和可用性的保證。輕量級(jí)的表模式設(shè)計(jì)速度非??欤粫?huì)影響文件系統(tǒng)的性能。
表結(jié)構(gòu):
| Hash Key: path | Range Key: file | epoch | deleted | dir | linkPath | linkFile |
|---|---|---|---|---|---|---|
| //<bucket>/<path> | <filename> | <timestamp> | <flag> | <flag> | N/A | N/A |
| epoch[^2] | <timestamp+entropy> | N/A | N/A | N/A | //<bucket>/<path> | <filename> |
評(píng)論
圖片
表情
