+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 <[email protected]> 写道:
> 
>> 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].
> 

Reply via email to