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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

S3 Object Lambda: Use Your Code to Process Data as It Is Being Retrieved from S3

18 点作者 jonburs大约 4 年前

4 条评论

ghoomketu大约 4 年前
I really love all the cool features AWS keeps adding to their offerings but god does the bill adds up so quickly.<p>I just realised that I was paying almost $100 a month for things I&#x27;m now getting for almost free by just choosing alternative providers like Digitalocean, Cloudflare, etc.<p>- For example AWS charges 50 cents per DNS zone. I have had a lot of domains in route 53 (it was part of a setup script) which added almost $25 to my bill each month. I moved all my domain to DO and it&#x27;s $0 now<p>- Then even with S3 things start to add up quickly. Cost associated with data storage and bandwidth is insane compared to spaces which is $5 flat and I&#x27;ve never exceed what comes in it.<p>- Most expensive were the EBS snapshots or something. I have been AWS for god knows how long and there were just too many snapshots (AMIs) that were there. Don&#x27;t think you can download&#x2F;upload then but they started adding quite on my bill.<p>- Load balancer also adds like $2 or $5 or something per instance if I remember correctly. Not sure what it is now.<p>Anyway point being if you are a solo dev and you&#x27;re not too careful about costs (read lazy), AWS bill can be a good chunk of change per month .
llarsson大约 4 年前
Run a lambda every time you GET your object, so it can do data transformations. Seamlessly. You won&#x27;t even notice until your bill comes.<p>And you won&#x27;t feel like optimizing this either, because now you have tools and processes that depends on this behavior.<p>Seems easier to me to do this via regular Lambdas instead, but also save the data as an automatic cache for some amount of time. S3 can clean it out automatically. So your lambda will either fetch the cached version or compute it for you upon request.<p>Storage is much cheaper than processing, that&#x27;s for sure.
CSDude大约 4 年前
Although cool feature, it can be a good way to go broke in 10 minutes
jfengel大约 4 年前
How is it different from writing a lambda and connecting it to S3? Is it just a pathway to make that easier, or is there some speed&#x2F;cost benefit?
评论 #26507189 未加载