You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TODO: TaskEngine should use one RabbitMQ connection for the whole process not one per task
TODO: Take a deep dive into how this actually working and document it.
It would also be useful to confirm that we are actually using async co-routines and not multiple threads.
TaskEngine does not explicilty create any threads; however it certainly has a main loop that sleeps for a couple of hours, while mulitple message queues are being concurrently services!
We may need to upgrade to the latest RabbitMQ C# client.
And emperically confirm that RabbitMQ C# Implementation with a prefetch count>1 does not implement concurrency using multiple threads.
e.g. alway print out a threadID and print out how many threads are running
e.g. take a deep dive into the C# RabbitMQ source code.
TODO: TaskEngine should use one RabbitMQ connection for the whole process not one per task
TODO: Take a deep dive into how this actually working and document it.
It would also be useful to confirm that we are actually using async co-routines and not multiple threads.
TaskEngine does not explicilty create any threads; however it certainly has a main loop that sleeps for a couple of hours, while mulitple message queues are being concurrently services!
We may need to upgrade to the latest RabbitMQ C# client.
And emperically confirm that RabbitMQ C# Implementation with a prefetch count>1 does not implement concurrency using multiple threads.
e.g. alway print out a threadID and print out how many threads are running
e.g. take a deep dive into the C# RabbitMQ source code.
WebAPI/CTCommons/RabbitMQ/RabbitMQConnection.cs
Line 129 in e53313c
_logger.LogInformation("Prefetch concurrency count {0}" , concurrency);
The text was updated successfully, but these errors were encountered: