brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-382) Catalog takes long time to load in web-console
Date Wed, 16 Nov 2016 11:06:58 GMT

    [ https://issues.apache.org/jira/browse/BROOKLYN-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670164#comment-15670164
] 

ASF GitHub Bot commented on BROOKLYN-382:
-----------------------------------------

Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/423#discussion_r88214820
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/catalog/internal/BasicBrooklynCatalog.java
---
    @@ -1115,4 +1170,24 @@ private synchronized void loadSerializer() {
                 serializer = new CatalogXmlSerializer();
         }
     
    +    private static class SpecCache {
    +        private final Map<String, AbstractBrooklynObjectSpec<?,?>> cache
= Maps.newLinkedHashMap();
    --- End diff --
    
    How do you synchronise access to the cache?


> Catalog takes long time to load in web-console
> ----------------------------------------------
>
>                 Key: BROOKLYN-382
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-382
>             Project: Brooklyn
>          Issue Type: Improvement
>    Affects Versions: 0.9.0
>            Reporter: Aled Sage
>
> Using Brooklyn 0.10.0-SNAPSHOT (but also reproducible with 0.9.0)...
> When there are many (yaml) catalog items, the Brooklyn web-console is very slow to show
the "add application" dialog, or to show a list of the catalog items in the catalog view.
> Looking at the REST api timings, the bulk of the time is spent calling {{/catalog/entities}}
and/or {{/catalog/applications}}.
> A customer with approximately 100 (large) things in their catalog reported that it took
15 seconds to show the "add application" dialog. In my testing with approx 100 small catalog
items, it took approx 5 seconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message