官术网_书友最值得收藏!

System scope and scale

If all of these items are documented and/or diagrammed, if it's done thoroughly and accurately, they will, collectively, provide a holistic view of the total scope of a system:

  • Every system component role should be identified in the Logical Architecture
  • Where each of those components actually resides should be identified in the Physical Architecture
  • Every use case (and hopefully every business process) that the system is supposed to implement should be identified in the use-case documentation, and any of the underlying processes that aren't painfully obvious should have at least a rough happy-path breakdown
  • Every chunk of data that moves from one place or process to another should be identified in the Data Flow, with enough detail to collate a fairly complete picture of the structure of that data as well
  • The formats and protocols that govern how that data move about, at least for any part of the system that involves more than just passing system objects from one function or method in the code-base to another, should be identified
  • A fair idea of where and how those data are persisted should be discernible from the Logical, and maybe Physical, architectures

The only significant missing piece that hasn't been noted is the scale of the system. If the scope is how many types of object are being worked with or are moving around in the system, the scale would be how many of those objects exist, either at rest (stored in a database, for example) or actively at any given time.

Scale can be hard to anticipate with any accuracy, depending on the context of the system. Systems such as the hypothetical refueling tracker and order-processing/fulfillment/shipping system that have been used for illustration are generally going to be more predictable:

  • The number of users is going to be reasonably predictable: All employees and all customers pretty much covers the maximum user base for both of those

  • The number of objects being used is also going to be reasonably predictable: The delivery company only has so many trucks, after all, and the company running the order system, though probably less predictable, will still have a fair idea of how many orders are in flight at most, and at typical levels

When a system or application enters a user space such as the web, though, there is potential for radical variation, even over very short periods of time. In either case, some sort of planning around expected and maximum/worst-case scale should be undertaken. That planning may have significant design and implementation effects – fetching and working with a dozen records at a time out of a few hundred or thousand total records doesn't require nearly the attention to efficiency that those same twelve records out of several million or billion would, just as a basic example – on how code might be written. If planning for even potential massive surges in use involves being able to scale out to multiple servers, or load-balance requests, that might also have an effect on the code, though probably at a higher, interprocess-communication level.

主站蜘蛛池模板: 江孜县| 涟水县| 建阳市| 伊吾县| 连山| 杨浦区| 铜川市| 华池县| 斗六市| 区。| 兴山县| 平定县| 汶川县| 商城县| 房产| 大安市| 特克斯县| 宜君县| 巴林右旗| 张家川| 龙南县| 凤山市| 尉犁县| 湘乡市| 梓潼县| 阜康市| 安龙县| 满洲里市| 林西县| 东宁县| 曲麻莱县| 扎鲁特旗| 阿图什市| 广安市| 上虞市| 越西县| 齐河县| 阳西县| 望都县| 宣恩县| 卓尼县|