How to do Load Balancing on an Orchestration (exposed as WCF service) which uses Correlation


integration scenario: 

i created orchestration being exposed wcf service. orchestration receive batch of requests. based on each request type, make call different calls mainframe services. as, these calls can made independently, implemented asynchronous way of making calls legacy systems. individual responses combined , aggregated response returned orchestration. 

1) main orchestration (exposed wcf service) accepts batch requests.

2) deserializes requests ( request type promoted) , initializes correlation set ( batchid) , submits message box.

3) individual orchestrations subscribed message on request type. pick request , making related calls mainframe services , gets response. response again submitted messagebox initializing correlation set ( using same batchid set in main orchestration, i.e, step 2).

4) main orchestration has receive shape in loop ( follows correlation set batch id) picks responses published individual orchestrations. aggregate responses until batch request count reached. 

5) aggregated response message returned orchestration.

this working fine in dev environment, , batch requests being processed asynchronously.

when same deployed prod/qa environment, failed. because of network load balancing on servers. as there correlation between messages, have dehydrated message waiting response, nlb sends other environment creating zombie there, , dehydrated instance failing due fact didn't response.

any suggestions how address kind of issue? of now, created host no load balancing , used main orchestration. individual child orchestrations using hosts load balancing. working fine, want have load balancing on main orchestration (exposed wcf service) also, entry point.

we did complete reinstall of application , started working fine. issue might mismatch in dll versions on both servers. think there no asynchronous design correlation. worked well! lot suggestions!! helped me in doing analysis.


BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'