TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: AWS CloudFront (CDN) for dynamically generated content

15 点作者 zubairov大约 13 年前

3 条评论

mryan大约 13 年前
Nice post, thanks for sharing.<p>I recently had a similar problem - I needed to serve dynamically resized images via CloudFront (with the images being stored in S3). Images are resized on-demand - if they exist they are served directly from S3. If not, they are resized and stored in S3, then the next request will serve them directly from S3.<p>It works rather well, although it is quite susceptible to the thundering herd problem - putting it behind a reverse proxy that supports collapsed forwards would probably help here.<p>I've put the WSGI app I used for this on github - hopefully someone finds it useful! <a href="https://github.com/mikery/s3cacher" rel="nofollow">https://github.com/mikery/s3cacher</a>
tfennelly大约 13 年前
Impressive. On FoxWeave, we're using Rackspace (at the moment). Fairly sure they don't offer anything like this, which probably means we'll have to use a caching reverse proxy.<p>Nice post... thanks.
drobiazko大约 13 年前
What about the CloudFront pricing? Is it cheaper than scaling own servers?
评论 #3952729 未加载
评论 #3953523 未加载