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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Team size thresholds for various web app architectures

2 点作者 eadz将近 3 年前
I have been involved in early stage teams where on day one it&#x27;s decided to have a seperate frontend app ( usually React ) with a seperate API &#x2F; Backend ( usually Rails ).<p>When it comes to team size, if you&#x27;re building a team and a SaaS app, what size team would you want a generic SaaS app as a Monolith vs team size for SPA + API backend? What impact would available team size have on architecture decisions? E.g. a team of 2-3 vs a team of 12 vs 30.<p>I think the Google&#x2F;Facebook&#x2F;AirBnB&#x2F;etc way of doing things isn&#x27;t suitable for a lot of small teams, however it is the latest hot tech that always seems to get implemented in early stage startups. How should available team size impact technology choices? Any rules of thumb here?

2 条评论

bobkazamakis将近 3 年前
Focus on how you wish to share your code, and what features you need to deliver. If you&#x27;re developing multiple small applications, it might make sense to build some re-useable core libraries after you&#x27;ve assembled the first one (do it too early and you&#x27;ll be trying to &#x27;bake an apple pie from scratch&#x27;).<p>Need variations and reuseble front-end components? Package em up and take advantage of es modules.<p>Need to share common business logic? Package it up and share ruby modules.<p>At a certain point, you&#x27;ll find domain boundaries within these, and be able to split them based on their use (delegate authN&#x2F;Z to an sso &quot;service&quot;).<p>Microservices (when not taken to an extreme) help build a pathway to re-useable code, much like TDD helps you write code that doesn&#x27;t abuse side-effects, static classes, etc.<p>Don&#x27;t split them out too early or you&#x27;ll spend all your time keeping all these dependencies in parity - don&#x27;t want to serve a raw steak or a burnt one.
rhacker将近 3 年前
Personally I would make that separation even if there is just one developer (i.e. me).