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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Technology Choices for My SaaS in Retrospect

165 点作者 Fudgel超过 2 年前

12 条评论

lmarcos超过 2 年前
As someone who&#x27;s working on something similar (one-man project), what I struggle the most is with the infra details.<p>Author mentions that there&#x27;s a single machine for the api, db and nginx; this means the machine is publicly accesible to everyone, and so is the db (although the port the db is running could be only accessible to localhost). I don&#x27;t really feel comfortable doing that (so I force myself to out the db within a vpc).<p>How does the author provision the Hetzner machine? Manually? Terraform? Ansible? If something goes wrong with the single machine, how long does it take to rebuild everything from scratch? For me this is very important and I force myself to being able to rebuild everything with one or two commands (usually using Ansible).<p>Agree with the lack of usage of k8s. For a one-man project, it seems a bit overkill.<p>And finally, monitoring. After working for over a decade in the industry, I don&#x27;t feel comfortable deploying stuff to production that is not monitored (e.g., Prometheus + grafana).<p>Ok, there&#x27;s also: backups, security updates, and a whole bunch of stuff that still delays my first deployment.
评论 #32961713 未加载
评论 #32962485 未加载
评论 #32967661 未加载
scarface74超过 2 年前
First for context, I’m far from a Microsoft hater. I spent 22 years exclusively in the MS ecosystem. I love C# and even now I’m the go to person when it comes to implementing MS solutions on AWS for my department.<p>That being said, when I was a dev lead, the first things I thought about when choosing a technology were the ecosystem and the how hard it would be to find competent devs. You can throw a rock and find a good enough enterprise C# dev in any major city. I would not have chosen F#.<p>As far as Flutter, Google has the attention span of a crack addled flea and I wouldn’t tie my horse to any platform with a Google specific language or runtime.<p>Even Google is moving away from Flutter for internal apps.<p><a href="https:&#x2F;&#x2F;9to5google.com&#x2F;2021&#x2F;10&#x2F;10&#x2F;google-ios-apps-native&#x2F;" rel="nofollow">https:&#x2F;&#x2F;9to5google.com&#x2F;2021&#x2F;10&#x2F;10&#x2F;google-ios-apps-native&#x2F;</a><p>I’m very much a native framework snob. But I understand the need to have a cross platform mobile platform for a bootstrapped company. Why not use a JavaScript based mobile platform? He already new TypeScript and Typescript devs are a dime a dozen.<p>Finally, why use Docker for Postgres?
评论 #32959789 未加载
评论 #32961535 未加载
ofrzeta超过 2 年前
I&#x27;d say this is quite biased, which is fine I guess, we all have our biases. Seems his choice of F# is set in stone, so you either go with Bolero or you have 1+1 languages in your stack.<p>This is also reflected in his choice of Xamarin: he &quot;doesn&#x27;t like&quot; Dart as a language, so he&#x27;s forced to choose &quot;dotnet MAUI as a platform [which] might not be as mature and capable as Flutter even today&quot;. Flutter as well &quot;suffers from many bugs and problems&quot;. Is Flutter really that buggy?
评论 #32959748 未加载
评论 #32960849 未加载
评论 #32961384 未加载
human超过 2 年前
I applaude you for keeping things simple, not over-engineering, and resisting the urge to use the latest tech.
评论 #32959318 未加载
评论 #32960233 未加载
davnn超过 2 年前
Old-school monolith architecture with not-so-boring technology. I went the same path for a project, but in hindsight I would chose popular, well maintained, not necessarily boring, technology and a cloud architecture for most use cases I can think of.
评论 #32959774 未加载
personjerry超过 2 年前
Speaking of marketing, he probably could&#x27;ve plugged his product at some point in that article and leveraged the inbound traffic
评论 #32959393 未加载
schemescape超过 2 年前
Looks like he’s storing data in the server’s file system, but I see no mention of backups. Hopefully there’s more than one copy of the data somewhere (or it’s not critical data)!
评论 #32959328 未加载
mooreds超过 2 年前
Always fun to read reports from real life tech decisions. Hope you do a follow up in a year and share what you&#x27;ve learned then.
michalbugno超过 2 年前
Other than already mentioned backups I see no mention of:<p>* staging environment for development<p>* at least another baremetal machine for a copy of production and a loadbalancer in front of them, to prevent from 100% downtime in case your machine is down
评论 #32963242 未加载
lbriner超过 2 年前
A useful read for sure.<p>However, I wonder about the choice of React (or any SPA framework) if you say you are not designing for scalability. You said that the product is quite basic&#x2F;boring and I have yet to see how this wouldn&#x27;t be much easier to produce in any MVC server-side framework than any frontend framework.<p>If you are used to .Net, you could choose dotnet core MVC (was that around then?), which is super fast and easy to deploy on Docker but also Ruby, PHP etc to suit your taste&#x2F;experience. The SPA approach means a frontend and a backend developed separately and unless you have FB scale issues and want to move as much work to the browser as possible, the only time I would choose SPA would be if I was most familiar with React&#x2F;Angular&#x2F;Vue&#x2F;Javascript.
评论 #32963572 未加载
hknmtt超过 2 年前
I am working on a new(again) project. I too will take the path of a monolith but later on i plan to add separate servers to handle chat, video(hosting and streaming), file hosting(ala cdn) and mailing(yes, i will write my own mailer).<p>I write in Go, use protocol buffers to define the api but will handle it via http(manual routing, not grpc gateway), event sourcing for the domain entities, db will by good old mariadb(i never found postgres interesting with its &quot;exotic&quot; types and lack of ui tools), front-end will be written in quasar which i will also use for mobile app(my first).<p>a lot of things can be done very easily and cheaply if one has the skill and time.
评论 #32960673 未加载
a_c超过 2 年前
Very pragmatic. I would make very similar decisions as the author as well. I am very curious how does the SaaS perform