vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.53k stars 2.09k forks source link

Question: How to use vitess for read and write separation #12553

Open dobet opened 1 year ago

dobet commented 1 year ago

Question

I read user guide, if I want do readwrite splitting, I need to know whether the request is reading SQL or writing SQL when the app initiates a request.

But now, I hope the app doesn't care whether the connection is read or write, only the address of a proxy.

How to do this?

shlomi-noach commented 1 year ago

@dobet these types of questions are best answered on the Vitess slack workspace; there's good chance it was asked and answered before, but if not, the community is happy to help.