When I was studying Dubbo, I was wondering why I had to use Dubbo to write this article for a friend who was just as doubtful as me.
Take the e-commerce network as an example, a simple e-commerce website, which may contain several modules and functions as follows,
such as home page, List page, next page, payment page and background management and other pages and features.
In the early days of e-commerce development, the number of daily visits is small, the user's needs are simple, the function is simple, a single MVC system architecture can meet the requirements.
With the development of e-commerce, more and more daily visits, user demand is more and more diversified,
A single MVC system architecture makes it more resource-intensive in the development process, and it becomes increasingly difficult to maintain as traffic increases.
The vertical application architecture is created.
Vertical application architecture solves the scale-up problem of single application architecture, and the flow can be dispersed into subsystems, and the system can be controlled in volume.
The cost of collaboration and maintenance between developers has been reduced to a certain extent, improving development efficiency. However, in a vertical schema, the same logic code needs to be duplicated and not reused.
So the distributed system was born.
the logical business of the public is extracted to form a service, provided externally.
this will only need to cut into one small system to maintain the maintenance and upgrade , but also can let the front-end business system and the underlying data access separation, team division is more clear.
With the further development of service, the service is more and more , the call and dependence between services are becoming more and more complex, and the service-oriented Architecture system (SOA) is born.
Therefore, a series of corresponding technologies are derived, such as service framework to encapsulate service delivery, service invocation, connection processing, communication protocol, serialization mode, service discovery, service routing, log output and so on.
This is how the service governance framework for distributed systems emerges, and Dubbo is created.
Dubbo in the architecture of the entire distributed system, it is structured according to a layered architecture, allowing for maximum loose coupling between the various tiers.