[ https://issues.apache.org/jira/browse/SCB-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Gan updated SCB-1903: ------------------------- Component/s: Java-Chassis > Refactor Business Logic when Consumer call Provider for the very first time > --------------------------------------------------------------------------- > > Key: SCB-1903 > URL: https://issues.apache.org/jira/browse/SCB-1903 > Project: Apache ServiceComb > Issue Type: Task > Components: Java-Chassis > Reporter: Jun Gan > Priority: Major > > Currently, the very first time when *consumer* calls *provider*, it creates > *MicroserviceVersion* object by calling > _g*etAggregatedRemoteMicroservice(serviceId)*_ method which interact with > service center to retrieve microservice. {color:#FF0000}But{color} this call > just retrieve basic informaiton instead of the schema content for the > Microservice. Instead, it waits until > ServiceRegistryListener.onCreateMicroserviceVersion is called to invoke > SwaggerLoad to interact with service center again to retrieve the Provider's > schema. > > Can we combine above two interactions with service center to ONE to improve > the performance -- This message was sent by Atlassian Jira (v8.3.4#803005)