dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

[Suggestion] What about migrating from Javassist to Byte Buddy

Open leiwei2094 opened this issue 8 years ago • 4 comments

Byte Buddy has better performance, below is a benchmark testing report, and as I known, Hibernate already changed to use Byte buddy. https://zeroturnaround.com/rebellabs/testing-the-performance-of-4-java-runtime-code-generators-cglib-javassist-jdk-proxy-byte-buddy/

leiwei2094 avatar Mar 23 '18 04:03 leiwei2094

I already have an idea to replace the bytecode implementation in dubbo, I will continue to pay attention to this issue

zonghaishang avatar Mar 23 '18 05:03 zonghaishang

Instead of replacement, how about add a new extension with Byte Buddy using Dubbo's SPI.

@vangoleo Let's bring this awesome idea to [email protected] for further discussion.

chickenlj avatar Mar 23 '18 06:03 chickenlj

We already changed to discuss this via [email protected], please close this issue.

leiwei2094 avatar Mar 26 '18 05:03 leiwei2094

Since the discussion has transmitted to the dev mail list, so this issue can be closed.

@chickenlj @ralf0131 @beiwei30 please help to close it.

diecui1202 avatar Apr 04 '18 09:04 diecui1202