February 25, 2022 at 10:09 am
Morning Guys,
I have a situation where we have a report/connection that connects to the Listener with applicationintent=readonly. We have read only routing configured accross 3 aysnc replicas - so a read only connection can be routed to 1 of 3 replicas and this works fine.
Except! We have some reports/processes that have multiple connections in them, and on some occasions the the second connection made is done to a replica that isnt quite in sync yet - we dont have particularly high latency between the replicas, but sometimes those 20 or so seconds make a difference to the end user who has mis-matching range of transactions on the screen. (Think an Invoice records, that has no InvoiceItems to display)
So my questions, the first, is there a way to ensure or to persist the first the connection/replica is re-used subsequently (one option is to grab the servername on its first connection, and re-use it on its child connections, but I was hoping rahter than code change, there would be a connection string change to magically do this?)
Secondly, in terms of latency between the replicas what is the best way to determine where that latency lies - is it the network, or is either of the principle or replica servers being slow?
Cheers,
A.R
February 26, 2022 at 10:10 am
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy