Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dubbo to latest version #22

Merged
merged 1 commit into from
Feb 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dubbo-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<maven.compiler.target>1.9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.benchmark-base>round-4</version.benchmark-base>
<version.dubbo>2.6.0</version.dubbo>
<version.dubbo>2.7.0</version.dubbo>
</properties>

<dependencies>
Expand All @@ -25,7 +25,7 @@
<version>${version.benchmark-base}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${version.dubbo}</version>
</dependency>
Expand Down
3 changes: 0 additions & 3 deletions dubbo-client/src/main/java/benchmark/rpc/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import org.openjdk.jmh.runner.options.TimeValue;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.alibaba.dubbo.config.ProtocolConfig;

import benchmark.bean.Page;
import benchmark.bean.User;
import benchmark.service.UserService;
Expand All @@ -43,7 +41,6 @@ protected UserService getUserService() {
@TearDown
public void close() throws IOException {
context.close();
ProtocolConfig.destroyAll();
}

@Benchmark
Expand Down
11 changes: 5 additions & 6 deletions dubbo-kryo-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
<maven.compiler.target>1.9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.benchmark-base>round-4</version.benchmark-base>
<version.dubbo>2.6.0</version.dubbo>
<version.javakaffee>0.42</version.javakaffee>
<version.dubbo>2.7.0</version.dubbo>
</properties>

<dependencies>
Expand All @@ -26,14 +25,14 @@
<version>${version.benchmark-base}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${version.dubbo}</version>
</dependency>
<dependency>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
<version>${version.javakaffee}</version>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-serialization-kryo</artifactId>
<version>${version.dubbo}</version>
</dependency>

<dependency>
Expand Down
3 changes: 0 additions & 3 deletions dubbo-kryo-client/src/main/java/benchmark/rpc/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import org.openjdk.jmh.runner.options.TimeValue;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.alibaba.dubbo.config.ProtocolConfig;

import benchmark.bean.Page;
import benchmark.bean.User;
import benchmark.service.UserService;
Expand All @@ -43,7 +41,6 @@ protected UserService getUserService() {
@TearDown
public void close() throws IOException {
context.close();
ProtocolConfig.destroyAll();
}

@Benchmark
Expand Down
2 changes: 1 addition & 1 deletion dubbo-kryo-client/src/main/resources/consumer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<!-- 生成远程服务代理,可以和本地bean一样使用demoService -->
<dubbo:reference id="userService" check="false"
interface="benchmark.service.UserService" url="dubbo://benchmark-server:8080?serialization=kryo" />
interface="benchmark.service.UserService" url="dubbo://benchmark-server:8080" />

<!-- dubbo://benchmark-rpc:8080?serialization=kryo -->

Expand Down
11 changes: 5 additions & 6 deletions dubbo-kryo-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
<maven.compiler.target>1.9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.benchmark-base>round-4</version.benchmark-base>
<version.dubbo>2.6.0</version.dubbo>
<version.javakaffee>0.42</version.javakaffee>
<version.dubbo>2.7.0</version.dubbo>
</properties>

<dependencies>
Expand All @@ -26,14 +25,14 @@
<version>${version.benchmark-base}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${version.dubbo}</version>
</dependency>
<dependency>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
<version>${version.javakaffee}</version>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-serialization-kryo</artifactId>
<version>${version.dubbo}</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions dubbo-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<maven.compiler.target>1.9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.benchmark-base>round-4</version.benchmark-base>
<version.dubbo>2.6.0</version.dubbo>
<version.dubbo>2.7.0</version.dubbo>
</properties>

<dependencies>
Expand All @@ -25,7 +25,7 @@
<version>${version.benchmark-base}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${version.dubbo}</version>
</dependency>
Expand Down