• You need to start by identifying in what parts of the code the deadlocks happen, and start analyzing why they happen.

    Here is a good resource for a start:

    [/url]

    You can also query the system_helath Extended Events session to get the information.