[
https://issues.apache.org/jira/browse/SCB-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liubao resolved SCB-1063.
-------------------------
Resolution: Fixed
Fix Version/s: java-chassis-1.2.0
> Improve the time cost when first time loading schema
> ----------------------------------------------------
>
> Key: SCB-1063
> URL: https://issues.apache.org/jira/browse/SCB-1063
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Reporter: liubao
> Assignee: liubao
> Priority: Major
> Fix For: java-chassis-1.2.0
>
>
> When first time to invoke a service, will download each schema and compile
> classes. Sometimes users got hundreds of schema, this will taken more than
> 30s and the first time invocation can get easily timeout.
>
> There are some improvements can be done:
> # loading and compile concurrently
> # fetch all schema in one invocation in service center.
>
> Notice:
> for edge, we should not cache all microservice schema, because some deleted
> service will not be used forever.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)