JAVA middleware for large website architecture

Middleware is a software product that helps each sub-module realize mutual access, message sharing or unified access in a large website . Common ones are:
remote service framework middleware: mainly solves the problem of mutual access between sub-modules.
Message queue middleware: It mainly solves the problem of message sharing between sub-modules.
Data access middleware: used to simplify the application layer's access to the data layer.

Regarding the remote service framework middleware, Alibaba's open source . The principle is shown in the figure:


message queue middleware is an EDA architecture (event driven architecture): cooperation between modules is completed by transmitting event messages between low-coupling modules. In large websites, message queues use a publish/subscribe model. Message publishers publish messages to message queues, and message consumers can subscribe to messages as long as they are interested in this type of messages, without any impact on other businesses. The principle is shown in the figure:

The currently commonly used message queue product is Apache's ActiveMQ.

Distributed service framework and distributed message queue are the two main aggregation methods after the system is modularized.

For data access middleware, it will not be introduced here.











Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326861782&siteId=291194637