每日阅读——《微服务设计》

一、原文:

Cities are often likened to living organisms because they undergo constant change. As residents' usage patterns change or are influenced by external factors, cities adapt accordingly. Urban planners should strive to predict potential changes, but they must also acknowledge a fact: attempts to directly control every aspect often prove ineffective.

The analogy between cities and software is evident. When users propose changes to software, we need to be responsive and make corresponding adjustments. Predicting future changes is challenging, so instead of trying to forecast all possibilities, it is more effective to embrace a plan that allows for change. Therefore, it is important to avoid overly detailed designs for everything. The goal of a city system is to ensure residents' happiness and well-being. An often-overlooked fact is that system users include not only end-users but also developers and operators who are responsible for the system's evolving needs. In the words of Frank Buschmann, one of the responsibilities of an architect is to ensure that the system is suitable for the developers working on it.

二、翻译:

城市被比作生物,因为它们经常发生变化。当居民的使用方式发生变化或者受到外部影响时,城市会相应地演变。城市规划师应该尽量预测可能发生的变化,但也必须意识到一个事实:试图直接控制各个方面通常不会取得成功。

这种城市和软件之间的对应关系是显而易见的。当用户提出软件变更需求时,我们需要做出响应并进行相应的改变。未来的变化很难预测,因此与其试图预测所有变化的可能性,不如制定一个允许变化的计划。因此,应该避免对所有事情进行过于详尽的设计。城市这个系统应该让生活其中的居民感到快乐。一个经常被人们忽视的事实是:系统的使用者不仅仅是终端用户,还包括工作在其上的开发人员和运维人员,他们也对系统的需求变更负有责任。引用Frank Buschmann的一句话:架构师的职责之一就是确保该系统适合开发人员在其上工作。

你可能感兴趣的:(微服务,Java,微服务,java)