dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shang zonghai <yiji.git...@hotmail.com>
Subject Re: [apache/incubator-dubbo] [Suggestion] What about migrating from Javassist to Byte Buddy (#1504)
Date Mon, 26 Mar 2018 03:45:16 GMT
+1, The Runtime code generation should be reconstructed into “SPI”,  the dubbo framework
itself is designed to be highly scalable.

> 在 2018年3月26日,11:37,jun liu <ken.lj.hz@gmail.com> 写道:
> 
>> But I am not sure whether the runtime code generation is a SPI
>> or not. That is to say, should we regard the bytecode generation
>> implementation as an extension point.
> 
>> And currently, Dubbo don't expose this extension. If the community want
>> this extension, we can consider to add it by SPI. Or we can seperate these
>> extensions from Dubbo core.  Most user just need the default impl, and
>> don't need to import those extra classes or jar.
> 
> In fact, it’s already been designed as a SPI, see ProxyFactory[1], Compiler[2].
> 

Mime
View raw message