I’ve had a similar problem in which I wanted to increase throughput, but had a serialization problem.
The solutions:.. multiple queues, with multiple processes, with each queue segmented by a unique key ..
ok ..so what does that mean ..
In medicine, our primary key is generally the MRN..
(for some it may be accession number .. others order number…)
so .. let’s create 5 queues .. mod the MRN by 5 .. so that you have a number from 0 to 4 ..
create 5 directories… each with a unique sequencing ..
store the XML in the associated directory ..
Now .. you have created a sequencing by patient, but allow 5 separate processes to work on the data.. .
Just how I’d approach it ..
I’m doing this today with some Lab and ADT interfaces ..
… I prefer fast and safe …
That’s my $1.98 (plus shipping and handling) .. inflation hit’s everything!
Dennis