You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have 5 database instances running on Docker and I am attempting to load balance SQL requests by modifying the connection in the interceptor. However, simply replacing the connection string is not a viable solution. I assume that I need to open a new connection to a different database automatically after building the SQL query, but I am not sure how.
I have to use NHibernate for this task with interceptors. I'm curious how to implement this kind of load balancing with NHibernate.
This discussion was converted from issue #3462 on December 15, 2023 22:12.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I currently have 5 database instances running on Docker and I am attempting to load balance SQL requests by modifying the connection in the interceptor. However, simply replacing the connection string is not a viable solution. I assume that I need to open a new connection to a different database automatically after building the SQL query, but I am not sure how.
I have to use NHibernate for this task with interceptors. I'm curious how to implement this kind of load balancing with NHibernate.
Beta Was this translation helpful? Give feedback.
All reactions