English 中文(简体)
图2
原标题:Throttling Amazon AWS Cloudfront

我最近设立了一个新网站,利用亚马孙云峰分发大量文件,然而,亚马孙目前向我的服务器提出如此多的请求,以便我的整个网站仍然站立。

我应该指出,一米没有使用S3,云密正与我的服务器直接连接。

我有100mb的数据链接,试图分发的i m文档是2个3个GB文档。 然而,如果我跑到亚马孙角,似乎每行都会试图把同一档案藏在多个不同的服务器上,而且似乎正在利用我的整个链接。

是否有任何办法限制云层对10mb或更少的连接?

最佳回答

你们是否保证你为你的档案妥善设置了打头人? 云层尊重<代码>Expires和Cache-Control的头盔,你可以将其用于延长和减少档案被认为有效的时间。 添加<条码>Cache-Control:公开、封顶=86400<>,寄给您的回复主管,将造成对等服务器每天为up至<>(86400秒)。

另一个值得注意的问题是,对面服务器的存储能力有限,无法查取档案。 鉴于在保存10个半常使用的通用公平市卷宗和10个较经常使用的KB档案之间有选择,亚马孙可以选择删除10个通用公平市的档案,以便为更多的客户服务。 在可能的情况下,考虑缩小目标规模,避免被删除。

问题回答

If you only have 2 large files and those files don t change frequently, why not just drop them in S3 and make that bucket the origin for a CloudFront distribution? Then you only have to transfer the files over your Internet connection one time and you don t have to worry about any infrastructure related to the distribution of those files.





相关问题
Mount windows shared drive to MWAA in bootscript

In MWAA startup script sudo yum install samba-client cifs-utils -y sudo mount.cifs //dev/test/drop /mnt/dev/test-o username=testuser,password= pwd ,domain=XX Executing above commonds giving error - ...

How to get Amazon Seller Central orders programmatically?

We have been manually been keying Amazon orders into our system and would like to automate it. However, I can t seem to figure out how to go about it. Their documentation is barely there. There is: ...

Using a CDN like Amazon S3 to control access to media

I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

Using EC2 Load Balancing with Existing Wordpress Blog

I currently have a virtual dedicated server through Media Temple that I use to run several high traffic Wordpress blogs. Both tend to receive sudden StumbleUpon traffic surges that (I m assuming) ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...