Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
765 views
in Technique[技术] by (71.8m points)

amazon-web-services - AWS S3水平扩展连接(AWS S3 scaling connections horizontally)

Suppose you have to implement video streaming platform from scratch.

(假设您必须从头开始实现视频流平台。)

It doesn't matter where you gonna store metadata, your not-very-popular video files will be stored at file system, or object store in case you want to use Cloud.

(不管您将元数据存储在哪里,都可以将不太受欢迎的视频文件存储在文件系统或对象存储中,以防您想使用Cloud。)

If you'll choose AWS, in order to boost AWS S3 read performance, you can make multiple read requests against the same video file, see Performance Guidelines for Amazon S3 :

(如果您选择AWS,则为了提高AWS S3的读取性能,您可以针对同一视频文件发出多个读取请求,请参阅Amazon S3的性能指南 :)

You can use concurrent connections to Amazon S3 to fetch different byte ranges from within the same object.

(您可以使用到Amazon S3的并发连接从同一对象中获取不同的字节范围。)

This helps you achieve higher aggregate throughput versus a single whole-object request.

(与单个完整对象请求相比,这可以帮助您实现更高的总吞吐量。)

In the same time, as you know, disk I/O is sequential for all HDD/SDD drives, so to boost read performance (if neglect RAM necessary for uncompress/decrypt each video chunk) you have to read from multiple disks (YouTube use RAID).

(如您所知,同时,所有HDD / SDD驱动器的磁盘I / O都是顺序的,因此要提高读取性能(如果忽略RAM来解压缩/解密每个视频块所必需),则必须从多个磁盘读取(YouTube使用)袭击)。)

Why S3 will have better performance on concurrent byte range requests agains the same file?

(为什么S3在并发字节范围请求和同一个文件上会有更好的性能?)

Isn't it stored on single disk?

(它不存储在单个磁盘上吗?)

I suppose S3 may have some replication factor and still store the file on multiple disks, does it?

(我想S3可能有一些复制因素,但仍将文件存储在多个磁盘上,对吗?)

  ask by VB_ translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...