← Back to Blog

Dec 3, 2026

The Three Realms of Business Modeling

Borrowing the idea of the three realms of learning to talk about business modeling: modeling from requirements, modeling from other people's models, and modeling from reality. With firsthand experience from Meituan's delivery route optimization, a warehouse management system, and a permission model, plus what each approach costs and when it fits.

DDD Domain ModelingDDDBusiness ModelingDomain ModelingModeling MethodsWarehouse SystemPermission Model

1. Background

This topic came to mind recently and felt worth talking about. It is a bit like the three realms of learning — many technical articles, and many engineers, have their own version of these three levels. Let me walk you through them.

2. The Feel of Modeling

2.1 Modeling from Requirements

For most developers, the modeling journey starts from requirements, building both a business model and a data model out of what the requirement documents describe. This does express a mapping from reality into the software model, but because requirements have been translated by product managers and customers, information is lost by the time they reach the developer. So this can only express the most explicit part of the business model. And because of communication gaps or a missing ubiquitous language, developers regularly hit requirement changes — or only discover something is missing or unreasonable just as work starts, or when it is nearly done. The return from this kind of modeling is not particularly large.

2.2 Modeling from Other People’s Models

The other common path is standing on the shoulders of giants. Sometimes product managers or leadership are not satisfied with, or not even clear about, the current capabilities of the system. Most internet systems in a given domain are actually fairly similar at the model level — they just express it differently.

So we can take the basic business models and scenarios that other people have published and use them to build our own system model. This saves real time for both developers and product people, because with a reference in hand it is much easier to match our own requirements against it. This approach works well for domains that have already been explored, or that are being explored right now, and it helps keep risk under control both before and after the model lands.

2.3 Modeling from Reality

We can learn a lot from real-world problems — as the saying goes, you learn from every mistake you make. Most of the problems people run into are broadly the same, and there is no single standard for them, so two teams can build the same feature in different ways. That is why the first two approaches handle roughly 90% of the work, while the remaining 10% is genuinely hard. When a requirement does not fit the current model, or needs customization, that 10% can force large changes in both the model and the implementation built on it.

Modeling from reality also demands that developers and designers understand how much flexibility and extensibility their models and services really have, so a business domain can keep iterating over a long period without becoming distorted. Engineers therefore need a bit more business sense, and need to think deliberately about the fields involved, how models relate to each other, and how the model is designed.

This way of modeling is rarely used in day-to-day software work, and I think there are a few reasons:

  1. Developers rarely have the time or the opportunity to get close to real-world requirements and work through a model from them
  2. Developers cannot absorb the cost of building the wrong model
  3. Modeling from reality takes more modeling knowledge and skill

3. Modeling Cases

3.1 Meituan’s Delivery Route Optimization

There is plenty of material online about Meituan’s delivery system — for example the technical articles below. (The original WeChat article link has expired.)

Solving a genuinely complex real-world problem usually spans several domains and requires solid technical depth. Only by modeling from reality and quantifying it mathematically can you arrive at a better model.

But the point is not the case itself. I have also read about engineers who went out to streets, factories, or farms to do on-site modeling and implementation, and that is closer still to the third approach.

3.2 Modeling a Warehouse Management System

This project was the one I maintained through my last internship and my first job. Having just graduated, I had no warehouse-domain business knowledge to speak of, so my modeling experience in that domain came entirely from product requirement documents. We built a handful of modules: simple product models, warehouses, cities, inventory, transfers, outbound, inbound, and so on. At the database level these models barely changed in later iterations, and at the requirement level changes became rare within about a year, until the system was finally retired. So requirements had very little impact on the model, and at the time this was probably the right way to model it.

3.3 Modeling the Permission Model

This is the project I am preparing for a hands-on code practice, and I am still filling in the method-level details. In practice I drew both on the system models I had built before and on RBAC-related models from public sources, and built a new permission model in my own way. So this one counts as standing on the shoulders of giants.

4. Conclusion

As far as I know, there are several modeling methods. Some are domain-specific and some have little to do with the domain. But whatever the realm, modeling is about understanding and mapping the objective world — so being able to understand and use these methods and tools flexibly is the best realm of all.

Further Reading

Comments

Comments are powered by GitHub Discussions. Sign in with GitHub to join the discussion.