Hi Dimuthu, Currently I am working on Improving performance of AppFactory Home page. In order to do that I have moved all CRUD operation of Application rxt into one class and Implementing a cace using carbon cache into this code.
In the above CRUD operations we are directly using registry path to read application rxt from registry. e.g : For getting all application of a user, we are iterating the following code in a for loop. Resource resource = userRegistry.get(AppFactoryConstants.REGISTRY_APPLICATION_PATH + RegistryConstants.PATH_SEPARATOR + applicationId + RegistryConstants.PATH_SEPARATOR + "appinfo"); GovernanceUtils.loadGovernanceArtifacts(userRegistry); GenericArtifactManager artifactManager = new GenericArtifactManager(userRegistry, "appinfo"); artifact = (GenericArtifactImpl) artifactManager.getGenericArtifact(resource.getUUID()); But I got to know that this is not the proper way and using 'GenericArtifactFilter' will be a better approach to read the artifacts from registry. (Punnadi has already done this for appversion rxt). So do we need to change the above code (reading applicaiton rxt) to use 'GenericArtifactFilter'? If we change the above, then we need to move the application rxt info into runtime database as discussed in the mail thread [1]. I kindly expect your advice. 1. [Architecture] [App Fac] Performance Improvements - Issues in enabling GReg resource Indexing in App Factory. Thanks. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
