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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rails, React, Microservices and Micro-FrontEnds

24 点作者 polysaturate超过 4 年前

3 条评论

jabo超过 4 年前
From my past experience, micro-frontends were awesome and liberating... in the beginning. Every team gets their own deploy pipeline and can deploy changes independent of each other, with their own error boundaries - awesome!<p>Over time though, the added overhead of micro-frontends really started slowing us down. For eg: instrumenting the web user experience with analytics, across app boundaries in a consistent fashion was a grueling coordination effort with multiple teams. A UI refresh would require coordinated effort across multiple teams. Sure, we had shared components, libraries with common business logic released as their own private packages, etc. But that&#x27;s the exact overhead I&#x27;m talking about. Upgrading a shared dependency across multiple apps was quite the hassle.<p>After a couple of years, we ended up switching back to a monolithic frontend, with a single React app.
评论 #25668388 未加载
评论 #25675189 未加载
woutr_be超过 4 年前
&gt; By modularizing our front and back ends in such a way, no one person is responsible for keeping an entire app in their head all the time. As developers, it’s important to have a strong sense of our broader architectural ecosystems<p>Maybe I’m misinterpreting this, but those two sentences contradict themselves in my opinion.<p>Now either developers need to fully understand all the different micro-services, and understand how they all work together. Or developers will lose sight of the bigger architecture and end up specialising in only a few services.<p>But more importantly, I doubt micro-services will solve their problem of their monolith not being modular. That seems like an architectural problem that can also be solved in a monolith.<p>But in general, I have never seen a company that switched to micro-services, and didn’t end up regretting it a few years later.
评论 #25668431 未加载
midrus超过 4 年前
Don&#x27;t forget to also add some kubernetes and nosql on top.<p>Sounds like the perfect place I would hate to work for.