Copied to clipboard

Flag this post as spam?

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


  • Aaron Morey 2 posts 71 karma points
    Feb 21, 2017 @ 05:54
    Aaron Morey
    0

    Umbraco Logging - ParallelForwardingAppender.SubscriberLoop - Performance?

    We have been running some performance profiling tools in our Umbraco solution. We are running a lot of traffic across our websites.

    What has been highlighted as Hot Spots by dotTrace, ANTS Performance and also JustTrace is Umbraco.Core.Logging.ParallelForwardingAppender.SubscriberLoop.

    I'd like to know why this is being highlighted by all the profilers and wondered if there was a quick answer to this before I go and dive into the source code and see what it is doing.

    I know this is an async appender but this is taking resources on the server and wondered about removing this appender.

  • Aaron Morey 2 posts 71 karma points
    Feb 23, 2017 @ 06:22
    Aaron Morey
    0

    Anyone with knowledge around this?

  • Barry 15 posts 94 karma points
    Mar 10, 2017 @ 09:34
    Barry
    0

    Hi Aaron,

    Did you get anywhere with this issue? I am seeing similar issues.

    Thanks

    Barry

  • Shannon Deminick 1524 posts 5269 karma points MVP 2x
    Sep 05, 2017 @ 06:53
    Shannon Deminick
    0

    It's because this method uses a BlockingCollection.GetConsumingEnumerable to read the queue of messages it needs to process on it's own thread. So yes, if there are no other high consuming CPU threads, this will show up since it's blocking.

    More info: https://stackoverflow.com/a/5356271/694494

Please Sign in or register to post replies

Write your reply to:

Draft