Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Wesley de Roo 38 posts 142 karma points
    Jul 06, 2016 @ 07:39
    Wesley de Roo
    0

    Slow performance listing, editing products with variants (16) included with extended content

    Umbraco: 7.4.3 Merchello: 2.1.0

    We have issues with a project where a lot of products have roughly 16 variants included with extended content. The back-office becomes very slow, listing and filtering takes a long time, editing a product could take up to 10 minutes. Loading the products on the site takes a long time, could be minutes depending on products and variants. Loading the products on the site is done by a web-api that is heavily cached, but the first requested take a long time.

    Is this a common issue or are there ways to speed up performance by indexing or other improvements/ideas?

    Regards Wesley

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 06, 2016 @ 16:54
    Rusty Swayne
    0

    If for some reason the products are not serialized in the ProductIndex the first hit (per product will be slow) as the query will then do a fallback to the ProductService and build out the entire graph and then re-index the product in the ProductIndex. This is still pretty fast so there has to be something else going on if it's exhibiting the latency you are describing.

    Can you check your memory usage? Perhaps there is redundant caching?

    When using the Web-Api you should be querying through the MerchelloHelper (searches Examine first and then does the ProductService fall back) ... if you go directly against the ProductService, the product (graph) is queried and cached in the HttpRuntime - so if it's not in cache, it will be slow on the first hit. If your caching again (somewhere else) it could be that your cache expires after the ProductService cache expires, which could be forcing each product to be re-cached on the next load.

    Entities in Merchello are cached individually (e.g. we're not caching entire pages or collections).

  • Wesley de Roo 38 posts 142 karma points
    Jul 07, 2016 @ 09:02
    Wesley de Roo
    0

    Memmory usage is arround 500 ~ 800 Mb. For the front-end we are using the MerchelloHelper. In the Merchello back-end it has also has performance issues. When we requesting a collection in the back-end of Merchello with no variants and extended content, there is no issue. We only see it when a collection has a lot of products have variants (around 16 variants) and each variant has extended content.

    I could send you some more details in a direct message if you would?

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 07, 2016 @ 16:38
    Rusty Swayne
    0

    Sound good - send me a DM

  • Wesley de Roo 38 posts 142 karma points
    Jul 12, 2016 @ 07:47
    Wesley de Roo
    0

    Thank you! Send you a DM with details.

  • Wesley de Roo 38 posts 142 karma points
    Jul 12, 2016 @ 08:50
    Wesley de Roo
    0

    This is a screenshot with glimpse, that shows that the post to /umbraco/backoffice/Merchello/EntityCollectionApi/PostGetCollectionEntities takes about 10000 ms.

    This is a screenshot with glimpse, that shows that the post to /umbraco/backoffice/Merchello/EntityCollectionApi/PostGetCollectionEntities takes about 10000 ms.

    enter image description here Prefix shows that compilations takes a long time.

    enter image description here The header response is about 600Kb, and has al the content of the product, included variants and extended content.enter image description here

    enter image description here

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 13, 2016 @ 15:52
    Rusty Swayne
    0

    I can speed this up a bunch by returning a smaller type to the lists.

    Are you only experiencing the latency on the product list view in the back office or are you seeing the same thing in the IProductContent (front end). I've been thinking about creating a proxy version of that ....

  • Wesley de Roo 38 posts 142 karma points
    Jul 14, 2016 @ 07:36
    Wesley de Roo
    0

    That could be a solution. We also experiencing the latency on the front-end.

    Thank you for the response!

  • Wesley de Roo 38 posts 142 karma points
    Jul 22, 2016 @ 10:24
    Wesley de Roo
    0

    Hi Rusty,

    Is this something is released in a newer version of Merchello? En when would that be? We want to give some feedback to the client.

    Thnx!

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 22, 2016 @ 23:32
    Rusty Swayne
    1

    Hey Wesley,

    I've updated the product variant repository to do some bulk operations which has sped things up considerably. This will be included in the 2.2.0 release which we hope to have out in the next 2 to 3 weeks.

  • Wesley de Roo 38 posts 142 karma points
    Jul 25, 2016 @ 08:25
    Wesley de Roo
    0

    Thank you for the update and for helping out.

Please Sign in or register to post replies

Write your reply to:

Draft