BizTalk Wcf_Custom - SQL Deadlock Issue -


i have db sp updateclientid below. takes client id parameter.
i'm calling updateclientid sp 50 times in 1 second, wcf custom adapter. i'm seeing sql deadlock issue.

in scenario, have call updateclientid sp 50 times in 1 second. how resolve sql deadlock issue?

create  procedure [dbo].[updateclientid]     @clientid varchar(50) = null  begin      set nocount on;      update  cleintdetails     set     status = 'y'       clientid = @clientid              end 

do have to call stored procedure 50 time in 1 second or case happen call 50 times per second?

some options:

  1. set ordered delivery on send port. serialize requests. several orders of magnitude slower.
  2. optimize statement lock hints, rowlock example.

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -