[
https://issues.apache.org/jira/browse/SCB-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jimin Wu resolved SCB-748.
--------------------------
Fix Version/s: java-chassis-2.0.0
Resolution: Done
> ServiceComb engine resource optimize
> ------------------------------------
>
> Key: SCB-748
> URL: https://issues.apache.org/jira/browse/SCB-748
> Project: Apache ServiceComb
> Issue Type: Task
> Components: Java-Chassis
> Reporter: Jimin Wu
> Assignee: Jimin Wu
> Priority: Major
> Fix For: java-chassis-2.0.0
>
>
> to support protobuf codec not coupled with business logic, we must create
> classloader for each microserviceId(app/microservice/version), and create
> classes in it dynamiclly.
> that makes logic very complex, because must support generic and recursive
> reference.
> and in edge, create too many classes, will cause jvm meta area overflow
> so we will change invocation mechanism from strong type to weak type:
> * protobuf codec based on IDL not model class, maybe will switch from
> protoStuff to jackson, (protoStuff not support IDL, jackson support idl but
> not support protobuf V3)
> * delete all mechanism related to dynamic class creation
> * invocation not unify to RPC argument, but unify to HttpServletRequestEx
--
This message was sent by Atlassian Jira
(v8.3.4#803005)