Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8389749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:48:29+00:00 2026-06-09T18:48:29+00:00

We have a singleton (sequential convoy) orchestration instance which has been flooded with about

  • 0

We have a singleton (sequential convoy) orchestration instance which has been flooded with about 14000 messages. This has meant that the instance has been processing for 8 days, but the rate of processing is currently very slow (about 1 per 7 minutes). The instance started fast, but has slowed down to this current performance level over the past few days.

We have diverted further messages away from this instance and our plan is to terminate it once it has finished processing through the backlog.

The problem is, based on the current processing rate we have calculated we have three days before it finishes (about 660 messages left to process).

My question is: Is there any way we can speed this up?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T18:48:30+00:00Added an answer on June 9, 2026 at 6:48 pm

    We managed to create a workaround to this:

    1. Query the messagebox and retrieve all the messages which were consumed but not processed
    2. Kill the slow-performing orchestration instance
    3. Pipe all the unprocessed messages back in which created a new instance of the orchestration.

    This new instance was unencumbered by all the history (consumed messages) of the previous instance, and so ran about 60 times faster, clearing the remaining backlog fast.

    The way we identified consumed-but-not-processed messages was by using the method I documented here: Technique for knowing the number of consumed but unprocessed messages for a given BizTalk sequential convoy orchestration instance

    The rest, once you have retrieved a list of message guids from the messagebox db is documented at the following locations:

    • How to retrieve Message Body from BizTalk Database
    • 3 ways of programmatically extracting a message body from the BizTalk tracking database (I used the 3rd one)

    In summary once you have the message IDs you select the imgPart column from the Parts table in the messagebox db and this gives you an binary encoded, compressed version of the message body. You then use the code from the above articles to reconstruct the message.

    After this it was just a case of getting all the messages and then firing them back into biztalk via a MSMQ receive location.

    Longer term we will need to address the flaws in our design which led to this problem occuring – although flooding was not expected, to have the performance of a running process collapse through the floor under heavy load is never a good place to be.

    The problem we have is that for the majority of our consumer systems, source message ordering must be maintained. For this reason we have singletons everywhere, all of which are potentially exposed to this problem.

    I have posted about message re-sequencing strategies in BizTalk here: Resequencing strategies for ordered delivery in BizTalk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a singleton as follows, which creates an instance of NSDictionary to hold
I have a Singleton which has an NSMutableArray containing a Class, the Class contains
I have a singleton instance that is referenced throughout the project which works like
I have this Singleton: public enum Elvis { INSTANCE; private int age; public int
I have a singleton class, that has a map which can be accessed by
I have a Singleton Class SharedDataObject which has a another class object myClass. MyClass
I have a singleton which stores some prudent information about the user of my
I have a singleton class which looks a lot like this, public class CfgHandler
I have a singleton class for global access to config information. This singleton class
I have a singleton implemented like this: class Test123(object): _instance = None def __new__(cls,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.