motan frame

http://www.open-open.com/lib/view/open1462520275298.html

quote


Basic introduction
Motan is a set of RPC framework developed based on java. In addition to regular point-to-point calls, motan also provides service governance functions, including automatic discovery, removal, high availability and load balancing of service nodes. Motan has good extensibility, and the main modules provide a variety of different implementations, such as supporting a variety of registries, supporting a variety of rpc protocols, etc.

Architecture Overview
Motan is divided into three roles: service provider (RPC Server), service caller (RPC Client) and service registry (Registry).

The Server provides services, registers its own services with the Registry, and periodically sends heartbeat reports to the Registry Center;
Clients use services and need to subscribe to RPC services from the Registry Center. According to the service list returned by the Registry, the Client establishes a connection with a specific Sever and performs RPC. transfer.
When the server changes, the registry will change synchronously, and the client will adjust the local service list accordingly after sensing.





https://my.oschina.net/11450232/blog/702241


http://weibo.com/ttarticle/p/show?id=2309403951077522312320


quote

"In 2013, the Weibo RPC framework Motan was born through the careful design and hard work of the predecessors (Fulin, fishermen, wheat, Wang Zhe, etc.) With continuous improvement, Motan has been widely used in the Weibo platform, completing nearly 100 billion calls for hundreds of services every day.” —— Zhang Lei

With the rapid development of Weibo’s containerized deployment and hybrid cloud platform, RPC It is becoming more and more important in the process of microserviceization, and the demand for RPC has also changed. Today, I will mainly introduce Motan, the Weibo RPC framework, and some improvements made to better adapt to hybrid cloud deployment.


http://www.cnblogs.com/hjcenry/p/5856933.html

quote

Two days ago, I saw that Motan, a lightweight Rpc framework from Sina Weibo, was open sourced on the WeChat public account of Open Source China. After searching the Internet, I learned that this Motan has a lot of background and supports hundreds of billions of calls on Sina Weibo. It used to have hundreds of billions of calls in the Spring Festival Gala in 2014, which was against the highest peak of the Spring Festival Gala.

What is Motan?

2013 Weibo RPC framework Motan was born through the careful design and hard work of the predecessors (Fulin, fishermen, Mai, Wang Zhe, etc.) With full support and continuous improvement, Motan has been widely used in the Weibo platform today, completing nearly 100 billion calls for hundreds of services every day. ” —— Zhang

Lei Weibo's Motan RPC service, the underlying communication engine adopts the Netty network framework, the serialization protocol supports Hessian and Java serialization, and the communication protocol supports Motan, http, tcp, mc, etc. The Motan framework is widely used internally, In terms of system robustness and service governance, there are relatively mature technical solutions. In terms of robustness, High Availability and Load Balance strategies are implemented based on Config configuration management services (supporting flexible FailOver and FailFast HA strategies, as well as Round Robin, LRU, etc.). , Consistent Hash and other Load Balance strategies), in terms of service governance, generate complete service call chain data, service request performance data, response time (Response Time), QPS and standardized Error and Exception log information.

Motan is a service governance type and is a Based on a high-performance lightweight RPC framework developed in Java, Motan provides practical service governance functions and excellent RPC protocol extension capabilities.
The main functions provided by Motan include:
service discovery: service publishing, subscription, notification
High-availability strategy: Failover, Failfast, and exception isolation (if the server fails continuously for more than a specified number of times, it is set as unavailable, and then heartbeat detection is performed on a regular basis)
Load balancing: supports low concurrency priority, consistent Hash, random Request, polling, etc.
Extensibility : Support SPI extension (service provider interface)
Others: Call statistics, access logs, etc.

Motan can support different RPC protocols and transmission protocols. Motan can seamlessly support the use of RPC services in Spring configuration, and can provide or use RPC services through simple and flexible configuration. By using the Motan framework, it is very convenient to split services and deploy distributed services.

For more information about Motan, please refer to: http://h2ex.com/820
and Motan's source code: https://github.com/weibocom/motan




http://blog.csdn.net/linuu/article/details/53115290

quote

Simple build motan environment

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326336615&siteId=291194637