Async PublishNotification? RRS feed

  • Question

  • Hi,

    PublishNotification is pushing a brokered message on the Service Bus. The SB client libraries have highly efficient async methods to push and pull messages (3000 msg/sec on a dual-core i7 laptop).

    PublishNotification, on the other hand, is struggling to reach 40 msg/sec on the same machine. There are no workflows published, so the Workflow Manager is just dequeuing the messages.

    I can't find an async version of PublishNotification. Any tips on how to improve performance?

    The code is straightforward:

    for (i = 0; i < 1000; i++)
       client.PublishNotification (new WorkflowNotification()
          Properties = { { "EventName", "New Msg" } }


    Wednesday, May 15, 2013 4:20 PM