We are trying to route retrieve multiple requests to a different DB in a always ON cluster for performance reasons.
We are trying to achieve the same by writing plugin to intercept retrieve multiple requests and routing it to a read only DB which is on a secondary server in an always on cluster.
Please could you suggest how can we achieve this in plugin code or if there is a better way to achieve the same.
Thanks