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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Should I deploy my webapp

2 点作者 argestes超过 2 年前
Hello, I&#x27;m a ~10 years Android developer. These days I&#x27;m looking into building my own applications with Spring and Kotlin. Firebase doesn&#x27;t fix my problems of data integrity hence I&#x27;ve coded the backend of my app too (which is sad considering how promising Firebase was)<p>I&#x27;m trying to find a way to deploy my servers. Currently I&#x27;m running my production and staging servers as two Hetzner instances running docker-compose stacks. But I&#x27;ve heard it&#x27;s not a good solution since docker-compose can&#x27;t really create a development environment as a copy of production (I don&#x27;t know why this is bad.)<p>I&#x27;ve looked into Kubernetes but if you&#x27;re not paying to someone to manage it for you (for example DigitalOcean or Amazon EKS) it&#x27;s incredibly complex. Also if you chose to use a cloud provider to manage it for you every load balancer adds another item to the bill. I&#x27;m running a 3 node cluster on DigitalOcean now but it&#x27;s too complex to even deploy a container to it.<p>So what are your thought on how a lone developer should deploy their APIs to production and staging?

1 comment

mcny超过 2 年前
&gt; Currently I&#x27;m running my production and staging servers as two Hetzner instances running docker-compose stacks. But I&#x27;ve heard it&#x27;s not a good solution since docker-compose can&#x27;t really create a development environment as a copy of production (I don&#x27;t know why this is bad.)<p>What are your concerns? What bad things™ will happen if your production environment goes down for a few minutes, hours, or days? Where do you store your state on the server?<p>What can kubernetes do that you can&#x27;t do by hand assuming you are available to do it?<p>How much do you spend on production vs non production infrastructure?
评论 #33703040 未加载