digital_infinity
digital_infinity

Reputation: 564

Can Chronicle Queue method writer be shared between threads?

And a second question that follows if method writer (MW) can be shared:

Is it advised from performance reasons ? (or it is better to have a single MW per thread ?)

Upvotes: 1

Views: 88

Answers (1)

Peter Lawrey
Peter Lawrey

Reputation: 533482

Currently, it is advised to avoid sharing the method writer between threads as this is not well tested. It should work, but might not. You should have one per thread ideally as this is how it is generally used.

Upvotes: 1

Related Questions