salesforce to salesforce latency

I am currently evaluating salesforce-to-salesforce. I came across documentation that there is no SLA and there might be sharing delays.

I would like to know if anyone has experienced any latency issues in record sharing in Production environment?
Any insight on number of records being shared and any latency issues would be very helpful.

Answer

I can give you my insight where I was trying to automatically share via an after insert/update Opportunity trigger where the Opportunity+Account were both ‘unshared to the destination SFDC org’

  • Trying to automatically share via insertion into PartnerNetworkRecordConnection the Account followed by the Opportunity will not work in the same transaction. In order to share the Opportunity, the parent Account must already be accepted by the destination system and that just doesn’t happen fast enough within a single transaction.
  • To work around this, I used Dan Appleman’s Async Apex pattern and “scheduled” the Opportunity S2S share for +1 minute (or +5 minutes initially but +1 minute seemed to work) after the transaction that needed to S2S share the Account was completed

My other adventures with S2S are documented here.

Attribution
Source : Link , Question Author : apn , Answer Author : cropredy

Leave a Comment