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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How can I estimate hosting costs for an app?

12 点作者 JakeWesorick将近 11 年前
I have a Ruby on Rails app hosted on Heroku. The project is fairly far along, to the point where we are in talks with investors. We have all our numbers down except when it comes to hosting costs. How can I estimate what my hosting costs will be as my user base grows?

6 条评论

dschwartz88将近 11 年前
This is an awful oversimplification, but in my experience, there are two different kinds of applications:<p>- User-centeric (think: an e-commerce site): your costs are going to grow somewhat linearly with your userbase&#x2F;traffic. Do a load test to figure out how many concurrent users each dyno supports and then model your costs with that in mind.<p>- Data-centric (think: an analytics platform): your costs are to going to grow linearly with the amount of data points each customer is going to be using. Figure out how many data points a single worker dyno (running 24x7) can process and then model your costs with that in mind.
评论 #8088276 未加载
评论 #8087883 未加载
shawnreilly将近 11 年前
You need to determine the cost per User. Different Users might represent different Usage Patterns, so I&#x27;d be looking for averages. If the Product is already in production and you have an existing user-base, this is how I&#x27;d do it; Correlate your user-base statistics (number of Users) in relation to your hosting costs at different milestones and&#x2F;or points in time. This metric will give you some insight into how much it costs per User at different stages of growth. This could include the growth of the user-base as well as the growth of your Product (in terms of features and&#x2F;or infrastructure changes). You would want to identify any trends and&#x2F;or variations with the resulting averages over time. This will give you some data to work with in terms of making projections.
JakeWesorick将近 11 年前
Possible side question: What does hosting your app cost right now?
webnrrd2k将近 11 年前
Just a thought: Would it be worth it to run a test site and simulate some traffic? I think that would give you the best numbers for your app.
rizz0将近 11 年前
It also depends on how much you&#x27;ll able to cache.
deedubaya将近 11 年前
I&#x27;m going on a road trip. I&#x27;ll be driving on the interstate, and have already gone half way.<p>How much gas will I use?
评论 #8087695 未加载