weibocom/motan là dự án mã nguồn mở trên GitHub với 5.9k sao, viết chủ yếu bằng Java. A cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Motan is a cross-language remote procedure call(RPC) framework for rapid development of high performance distributed
services.
Related projects in Motan ecosystem:
Motan-go is golang implementation.
Motan-PHP is PHP client can interactive with Motan server directly or through
Motan-go agent.
Motan-openresty is a Lua(Luajit) implementation based
on Openresty.
Features
Create distributed services without writing extra code.
Provides cluster support and integrate with popular service discovery services like Consul
or Zookeeper.
Supports advanced scheduling features like weighted load-balance, scheduling cross IDCs, etc.
Optimization for high load scenarios, provides high availability in production environment.
Supports both synchronous and asynchronous calls.
Support cross-language interactive with Golang, PHP, Lua(Luajit), etc.
Quick Start
The quick start gives very basic example of running client and server on the same machine. For the detailed information
about using and developing Motan, please jump to Documents.
The minimum requirements to run the quick start are:
JDK 1.8 or above
A java-based project management software like Maven or Gradle
Synchronous calls
Add dependencies to pom.
<properties>
<motan.version>1.1.12</motan.version> <!--use the latest version from maven central-->
</properties>
<dependencies>
<dependency>
<groupId>com.weibo</groupId>
<artifactId>motan-core</artifactId>
<version>${motan.version}</version>
</dependency>
<dependency>
<groupId>com.weibo</groupId>
<artifactId>motan-transport-netty</artifactId>
<version>${motan.version}</version>
</dependency>
<!-- dependencies below were only needed for spring-based features -->
<dependency>
<groupId>com.weibo</groupId>
<artifactId>motan-springsupport</artifactId>
<version>${motan.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.2.4.RELEASE</version>
</dependency>
</dependencies>
Create an interface for both service provider and consumer.
src/main/java/quickstart/FooService.java
package quickstart;
public interface FooService {
public String hello(String name);
}
Write an implementation, create and start RPC Server.
src/main/java/quickstart/FooServiceImpl.java
package quickstart;
public class FooServiceImpl implements FooService {
public String hello(String name) {
System.out.println(name + " invoked rpc service");
return "hello " + name;
}
}
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/weibocom/motan là nguồn chính thức.
weibocom/motan có bao nhiêu sao?
weibocom/motan có 5.9k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/weibocom/motan. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
weibocom/motan có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho weibocom/motan. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
weibocom/motan có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho weibocom/motan. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
weibocom/motan có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho weibocom/motan. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
weibocom/motan còn đang phát triển không?
Commit gần nhất trên weibocom/motan là 11 tháng trước (theo timestamp GitHub). Repo có 1.7k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về motan?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về motan.