NOTE
Software-System Technical Planning Methodology
Software-system technical planning can be examined through the system, technology, and planning itself. These notes unpack the concepts before organizing practical methods.
This is a historical learning note and may contain outdated or incomplete understanding.
1. My Understanding of Software-System Technical Planning
As the name suggests, software-system technical planning means making technical plans for a software system. It can be described in three parts:
- Software system.
- Technical side.
- Planning.
1.1. Software System
At a large scale, desktop PC software, Web pages, mobile apps, and so on are all software systems. At a smaller scale, a service, module, component, or small tool also belongs to the category of software systems. Technical planning applies to any software system. On one hand, no perfect system exists; there will always be one problem or another. By identifying the causes of those problems and grouping them, we can make a plan. On the other hand, everything in the world keeps developing. Even if the current system were truly perfect, we could still think about its future direction and conduct technical exploration, innovation, or even disruptive change around that direction. This is also a kind of planning.
1.2. Technical Side
The technical side is relative to the business side. Although this note focuses on the technical perspective, we should also know that technology and business complement each other and cannot be viewed in isolation. Business growth creates opportunities to apply technology, while technology supports further business growth. Therefore, technical planning cannot avoid business topics.
1.3. Planning
According to the definition of planning on Baidu Baike:
Planning is a relatively comprehensive and long-term development plan made by an individual or organization. It considers the broad, long-term, and fundamental issues of the future and sets out a complete course of action.
In my personal understanding, there are two key points:
- Planning is a solution.
- Planning is a plan.
1.3.1. Planning Is a Solution
A solution is a measure used to solve a problem. Therefore, a solution must clearly state what the problem is, avoid empty grand statements and castles in the air, and be detailed down to how the problem is solved, or the concrete steps for solving it.
Saying that planning is a solution means that planning must also satisfy the above requirements. At the same time, compared with an ordinary solution, planning first focuses on solving fundamental problems rather than one or two bugs. Second, as the saying goes, those who do not plan for the long term cannot plan well for the present, and those who do not consider the whole cannot plan well for any part. Good planning needs to switch from a local perspective to a global perspective and propose solutions from a relatively comprehensive, overall view.
1.3.2. Planning Is a Plan
1.3.2.1. Planning Looks to the Future
Planning primarily looks to the future, but looking ahead requires a firm understanding of the present. For a software system, we need to understand the current state and even its past evolution well enough before we can make a good plan.
1.3.2.2. Planning Is Long-Term
How far into the future should planning look? Generally 3-12 months. If it is too short, rushing to deliver may create many bugs, and nobody wants to live in constant fear of deadlines. Too long is also not good: plans cannot keep up with change. If unexpected conditions make the results fall short, a smaller ship is easier to turn around.
1.3.2.3. Planning Must Be Scheduled and Delivered
Planning needs to be executed. Put simply, it needs a schedule: a certain function should be completed at a certain time.
1.4. Summary
- Systems of any size can have technical planning.
- Technical planning cannot be separated from the business perspective.
- Planning is both a plan and a solution. From these two points, the planning methodology naturally follows:
- Review the history and current state.
- Look to the future and propose an ideal state.
- The gap between the past/current state and the ideal state naturally reveals fundamental problems.
- Design solutions for the problems.
- Schedule the work and implement the solutions.
2. Why Do Planning?
Everything needs planning. At the national level there are five-year plans; at the individual level there are life plans and career plans. In my understanding, the biggest benefit of planning is having goals and a sense of direction. With goals and direction, we are less likely to feel lost and can apply our effort correctly. Only by directing our effort to the right place can we achieve more with less.
The same principle applies specifically to software-system technical planning. With a plan, we can steadily build a system that is friendlier to users and may even become an industry benchmark. There is also a more practical reason: for a programmer, planning ability is necessary for further growth and is a required skill on the path toward becoming a senior engineer.
3. How to Perform Technical Planning for a Software System
3.1. Collect Materials
Collecting material runs through the entire planning process. Only with enough input can there be output. Materials include, but are not limited to, code, previous planning documents, technical proposals, integration documents, and so on.
3.2. Understand the Current State
Start from two directions:
- Business functions.
- Technical architecture.
3.2.1. Business Functions
We can actually experience the system from beginning to end, understand what roles it has, put ourselves into those roles and operate the system, and finally produce an integration document.
3.2.2. Technical Architecture
While using the system, capture traffic, inspect logs, read code, and use other methods to map its architecture and core flows. At a minimum, produce these two diagrams:
- Layered architecture diagram.
- Core-flow diagram.
3.3. Look Ahead and Propose the Ideal State
There are two ways to infer the system’s future:
- Induction.
- Deduction.
3.3.1. Induction
We can research competing products, understand how similar systems inside and outside the company are built, organize and summarize them, and compare them with our system to determine what needs to be done in the future.
3.3.2. Deduction
But what if competing systems have nothing worth learning from? We can start from first principles: think about what the system fundamentally is and whom it serves, then use logical reasoning and evolutionary thinking to derive its future ideal state. This is similar to how this note started from the definition of planning and derived the methodology for doing planning.
3.4. Discover Problems
What is a problem? A problem is the gap between reality and the ideal. If the current state and the future ideal state described above are already clear, discovering problems becomes straightforward. Specifically, problems can be summarized from areas such as:
- Technical architecture.
- Integration efficiency.
- Performance.
- Stability.
- Cost.
- …
Efficiency, performance, and stability problems at each layer.
3.5. Design Solutions
For one problem, we need to propose at least three solutions, summarize the advantages and disadvantages of each, compare them, and choose one. Finally, produce two diagrams for the selected solution:
- Layered architecture diagram.
- Core-flow diagram.
3.6. Schedule and Deliver
Once the solution is ready, the remaining work is to schedule and deliver it: list the TODO items, sort them by priority, and complete them one by one.
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub