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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How can Ceasefire be self-supporting?

26 点作者 sprague超过 4 年前

5 条评论

connectsnk超过 4 年前
Please correct me if I am wrong. I think that bulk of the cost must be coming from SQL Server. If the author migrates to MySQL hosted on cloud VM's, then this cost might be reduced by 50 - 70%
评论 #24370871 未加载
jitl超过 4 年前
It sounds like most of the separate backend apps could be squeezed together on a single host or into a single service. .Net has good threading, and some quality runtime bits and bobs - cram everything together into a monolith (api, queue, front-end hosting, auth). Use your DB as the queuing service. Gogs&#x2F;Gitea and Laravel demonstrate this “super cheap all in one” quite well. Make network RPC into in-process function calls. Trim down from 3 SQL dbs to a single DB with multiple namespaces. Forget the redis caching layer - at the 1000 concurrent user mark, you don’t need it; or try materialized views or expression indexes.<p>Not only will this cut the hosting costs in a quarter, but removing many of these DBs and caches will also make the service much easier to develop - so now you can open-source it easier.
alfalfasprout超过 4 年前
Title is wildly inaccurate. From the site author: &quot; Yeah it turned out to be a bit optimistic :) The most traffic we had at once was when we were featured on the front page of the BBC, and there were a few thousand people browsing. We had to scale up briefly but everything ran smooth.&quot;
评论 #24370758 未加载
warent超过 4 年前
What is the best way to test load and pricing like this?<p>In my mind, the way I would do it is run the server and then hit it with a load tester (i.e. a number of queries simulating the number of users desired). That will tell us if it can withstand the load. Then I would seeing how much it costs after 5 minutes of this test, and then multiply that by 7200. It just feels kind of primitive and naive. There must be a better way. For example, Google can&#x27;t simulate real-world service loads like this, so there must be.
PaulHoule超过 4 年前
That is 0.2 cent per user per month, right?