[ 
https://issues.apache.org/jira/browse/SCB-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wujimin updated SCB-748:
------------------------
    Description: 
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

  was:
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

change invocation mechanism from strong type to weak type


> 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: wujimin
>            Assignee: wujimin
>            Priority: Major
>
> 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
(v7.6.3#76005)

Reply via email to