more than just R/W splitting ?
This may a bit off because I haven't looked too hard at the connection handling examples, but this problem doesn't appear to be limited to R/W splitting if the proxy reuses connections across different clients. Any persistent connection, even READ, where state has been changed, is technically limited to the original client and cannot be reused by another.
Keeping state locally can help with R/W splitting where we need to match the same kind of READ and WRITE connections, or to create a new WRITE connection by duplicating the READ settings.
However, if changing state is common practice in the application, that in turn makes connection caching rather useless, as each new connection would not match any of the existing (modified) ones maintained by the proxy. You could get around that with support from the application itself (inserting various comments in the SQL) or maybe deferring the backend connection until an actual SQL query is made, at which point the client has hopefully made any state changes it needed to do (which the proxy has buffered), so it can be compared against existing connections. But I'm not sure if this is ideal or even doable since some commands require feedback from the backend.
I hope this makes sense, it's been a long day.
Subject
Views
Written By
Posted
4208
August 02, 2007 08:05AM
2982
August 02, 2007 08:37AM
2747
August 02, 2007 08:53AM
2703
August 02, 2007 09:10AM
2747
August 03, 2007 01:42AM
2748
August 03, 2007 02:08AM
2743
August 03, 2007 02:59AM
more than just R/W splitting ?
2837
August 03, 2007 05:26PM
2847
August 03, 2007 07:31PM
2762
August 04, 2007 04:23PM
2710
August 05, 2007 05:14PM
2670
January 18, 2008 08:16AM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.