Add instrumentation to note long running user provided callbacks on IO threads

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • Platforms 2017-04-17, Platforms 2017-08-21
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now there is no protection against network layer worker threads being blocked by misbehaving callbacks. We can't easily prevent this behavior, but it would be possible to add instrumentation that would note (or, more aggressively, fail an invariant) if any callback out of the ASIO network layer ran beyond a certain configurable threshold.

      If those warnings or invariants trip, it gives a good indication that a blocking callback may exist.

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: